Function at 0x409ac0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x556420
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x5b3680]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push esi
push edi
mov eax, dword [0x5b3680]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x1c]
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x14]
push ebx
mov dword [esp + 0x1c], eax
call fcn.00410200
add esp, 4
mov edi, eax
lea eax, [esp + 0x3c]
mov ecx, edi
push eax
call fcn.0040f920
mov dword [esp + 0x98], 0
cmp dword [esp + 0x4c], 0
jne 0x409b44
mov dword [esp + 0x20], 0
jmp 0x409b52
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x10]
movzx eax, ax
mov dword [esp + 0x20], eax
push ebx
call fcn.00411b30
add esp, 4
lea ecx, [esp + 0x54]
mov edx, dword [eax]
push ecx
push 0x581bfa
push str.0123456789ABCDEFabcdef_Xx
mov ecx, eax
call dword [edx + 0x2c]
cmp byte [esi + 4], 0
mov edi, dword [esp + 0x1c]
mov eax, edi
mov dword [esp + 0x14], eax
jne 0x409b88
mov ecx, esi
call fcn.0040d5c0
mov ebx, dword [esp + 0x18]
cmp byte [ebx + 4], 0
jne 0x409b99
mov ecx, ebx
call fcn.0040d5c0
cmp dword [esi], 0
jne 0x409ba5
cmp dword [ebx], 0
je 0x409bf6
jmp 0x409baa
cmp dword [ebx], 0
jne 0x409bf6
cmp byte [esi + 4], 0
jne 0x409bb7
mov ecx, esi
call fcn.0040d5c0
movzx eax, word [esi + 6]
cmp ax, word [esp + 0x82]
jne 0x409bca
mov byte [edi], 0x2b
jmp 0x409be8
cmp byte [esi + 4], 0
jne 0x409bd7
mov ecx, esi
call fcn.0040d5c0
movzx eax, word [esi + 6]
cmp ax, word [esp + 0x80]
jne 0x409bf6
mov byte [edi], 0x2d
lea eax, [edi + 1]
mov ecx, esi
mov dword [esp + 0x14], eax
call fcn.0040d170
mov edi, dword [ebp + 0x18]
and edi, 0xe00
cmp edi, 0x400
jne 0x409c0e
mov edi, 8
jmp 0x409c24
cmp edi, 0x800
jne 0x409c1d
mov edi, 0x10
jmp 0x409c24
neg edi
sbb edi, edi
and edi, 0xa
cmp byte [esi + 4], 0
mov dword [ebp + 0x18], edi
mov byte [esp + 0x12], 0
mov byte [esp + 0x13], 0
jne 0x409c3e
mov ecx, esi
call fcn.0040d5c0
cmp byte [ebx + 4], 0
jne 0x409c4b
mov ecx, ebx
call fcn.0040d5c0
cmp dword [esi], 0
jne 0x409c7e
cmp dword [ebx], 0
jne 0x409c83
test edi, edi
je 0x409d22
cmp edi, 0xa
je 0x409d22
mov eax, 8
mov ecx, 0x16
cmp edi, eax
cmove ecx, eax
mov dword [esp + 0x18], ecx
jmp 0x409d2a
cmp dword [ebx], 0
jne 0x409c55
cmp byte [esi + 4], 0
jne 0x409c90
mov ecx, esi
call fcn.0040d5c0
movzx eax, word [esi + 6]
cmp ax, word [esp + 0x54]
jne 0x409c55
mov ecx, esi
mov byte [esp + 0x12], 1
call fcn.0040d170
push ebx
push esi
call fcn.0040e410
add esp, 8
test al, al
je 0x409d0d
cmp byte [esi + 4], 0
jne 0x409cc2
mov ecx, esi
call fcn.0040d5c0
movzx eax, word [esi + 6]
cmp ax, word [esp + 0x86]
je 0x409ceb
cmp byte [esi + 4], 0
jne 0x409cdd
mov ecx, esi
call fcn.0040d5c0
movzx eax, word [esi + 6]
cmp ax, word [esp + 0x84]
jne 0x409d0d
test edi, edi
je 0x409cf4
cmp edi, 0x10
jne 0x409d0d
mov edi, 0x10
mov byte [esp + 0x12], 0
mov ecx, esi
mov dword [ebp + 0x18], edi
call fcn.0040d170
jmp 0x409c66
test edi, edi
jne 0x409c5d
mov edi, 8
mov dword [ebp + 0x18], edi
jmp 0x409c66
mov dword [esp + 0x18], 0xa
mov al, byte [esp + 0x12]
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], 0
mov word [esp + 0x24], 0
mov dword [esp + 0x38], 0xf
mov byte [esp + 0x24], al
mov dword [esp + 0x34], 1
mov byte [esp + 0x98], 1
xor edi, edi
jmp 0x409d70
cmp byte [esi + 4], 0
jne 0x409db7
mov ecx, dword [esi]
test ecx, ecx
je 0x409dad
mov eax, dword [ecx + 0x1c]
mov edx, dword [eax]
test edx, edx
je 0x409d92
mov eax, dword [ecx + 0x2c]
cmp dword [eax], 0
jle 0x409d92
movzx eax, word [edx]
jmp 0x409d9a
mov eax, dword [ecx]
call dword [eax + 0x18]
movzx eax, ax
movzx eax, ax
mov ecx, 0xffff
cmp cx, ax
je 0x409dad
mov word [esi + 6], ax
jmp 0x409db3
mov dword [esi], 0
mov byte [esi + 4], 1
cmp byte [ebx + 4], 0
jne 0x409dfe
mov ecx, dword [ebx]
test ecx, ecx
je 0x409df4
mov eax, dword [ecx + 0x1c]
mov edx, dword [eax]
test edx, edx
je 0x409dd9
mov eax, dword [ecx + 0x2c]
cmp dword [eax], 0
jle 0x409dd9
movzx eax, word [edx]
jmp 0x409de1
mov eax, dword [ecx]
call dword [eax + 0x18]
movzx eax, ax
movzx eax, ax
mov ecx, 0xffff
cmp cx, ax
je 0x409df4
mov word [ebx + 6], ax
jmp 0x409dfa
mov dword [ebx], 0
mov byte [ebx + 4], 1
mov ecx, dword [esi]
test ecx, ecx
jne 0x409e97
cmp dword [ebx], ecx
jne 0x409ea0
test edi, edi
je 0x409e2d
cmp dword [esp + 0x38], 0x10
lea eax, [esp + 0x24]
cmovae eax, dword [esp + 0x24]
cmp byte [eax + edi], 0
jle 0x40a018
inc edi
mov al, byte [esp + 0x12]
cmp dword [esp + 0x50], 0x10
lea edx, [esp + 0x3c]
cmovae edx, dword [esp + 0x3c]
test al, al
je 0x40a030
test edi, edi
je 0x40a01f
mov cl, byte [edx]
cmp cl, 0x7f
je 0x40a01f
dec edi
je 0x409e74
cmp dword [esp + 0x38], 0x10
lea eax, [esp + 0x24]
cmovae eax, dword [esp + 0x24]
cmp cl, byte [eax + edi]
jne 0x40a030
test edi, edi
jne 0x409e8e
cmp dword [esp + 0x38], 0x10
lea eax, [esp + 0x24]
cmovae eax, dword [esp + 0x24]
cmp cl, byte [eax]
jl 0x40a030
cmp byte [edx + 1], 0
jle 0x409e47
inc edx
jmp 0x409e47
cmp dword [ebx], 0
jne 0x409e10
cmp byte [esi + 4], 0
jne 0x409ee5
test ecx, ecx
je 0x409edb
mov eax, dword [ecx + 0x1c]
mov edx, dword [eax]
test edx, edx
je 0x409ec0
mov eax, dword [ecx + 0x2c]
cmp dword [eax], 0
jle 0x409ec0
movzx eax, word [edx]
jmp 0x409ec8
mov eax, dword [ecx]
call dword [eax + 0x18]
movzx eax, ax
movzx eax, ax
mov ecx, 0xffff
cmp cx, ax
je 0x409edb
mov word [esi + 6], ax
jmp 0x409ee1
mov dword [esi], 0
mov byte [esi + 4], 1
mov cx, word [esp + 0x54]
lea eax, [esp + 0x54]
movzx edx, word [esi + 6]
test cx, cx
je 0x409f11
movzx ecx, cx
lea ebx, [ebx]
cmp cx, dx
je 0x409f11
movzx ecx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x409f00
lea ecx, [esp + 0x54]
sub eax, ecx
sar eax, 1
cmp eax, dword [esp + 0x18]
jae 0x409f77
cmp byte [esp + 0x13], 0
mov ecx, dword [esp + 0x14]
mov al, byte [eax + str.0123456789ABCDEFabcdef_Xx]
mov byte [ecx], al
jne 0x409f36
cmp al, 0x30
je 0x409f4b
mov eax, dword [esp + 0x1c]
add eax, 0x1f
cmp ecx, eax
jae 0x409f4b
inc ecx
mov byte [esp + 0x13], 1
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x24]
mov edx, dword [esp + 0x24]
cmp ecx, 0x10
mov byte [esp + 0x12], 1
cmovae eax, edx
cmp byte [eax + edi], 0x7f
je 0x409fc5
cmp ecx, 0x10
lea eax, [esp + 0x24]
cmovae eax, edx
inc byte [eax + edi]
jmp 0x409fc5
cmp dword [esp + 0x38], 0x10
lea eax, [esp + 0x24]
cmovae eax, dword [esp + 0x24]
cmp byte [eax + edi], 0
je 0x409e10
cmp word [esp + 0x20], 0
je 0x409e10
cmp byte [esi + 4], 0
jne 0x409fa8
mov ecx, esi
call fcn.0040d5c0
movzx eax, word [esi + 6]
cmp ax, word [esp + 0x20]
jne 0x409e10
push 0
push 1
lea ecx, [esp + 0x2c]
call fcn.00406fc0
inc edi
mov ecx, dword [esi]
test ecx, ecx
je 0x40a009
mov eax, dword [ecx + 0x1c]
cmp dword [eax], 0
je 0x409fee
mov edx, dword [ecx + 0x2c]
mov eax, dword [edx]
test eax, eax
jle 0x409fee
dec eax
mov dword [edx], eax
mov ecx, dword [ecx + 0x1c]
mov edx, dword [ecx]
lea eax, [edx + 2]
mov dword [ecx], eax
movzx eax, word [edx]
jmp 0x409ff6
mov eax, dword [ecx]
call dword [eax + 0x1c]
movzx eax, ax
mov ecx, 0xffff
cmp cx, ax
je 0x40a009
mov byte [esi + 4], 0
jmp 0x409d70
mov dword [esi], 0
mov byte [esi + 4], 1
jmp 0x409d70
xor al, al
jmp 0x409e31
cmp byte [esp + 0x13], 0
mov eax, dword [esp + 0x14]
jne 0x40a034
mov byte [eax], 0x30
inc eax
jmp 0x40a034
mov eax, dword [esp + 0x1c]
mov byte [eax], 0
mov byte [esp + 0x98], 0
cmp dword [esp + 0x38], 0x10
jb 0x40a052
push dword [esp + 0x24]
call fcn.005295dd
add esp, 4
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], 0
mov byte [esp + 0x24], 0
mov dword [esp + 0x98], 0xffffffff
cmp dword [esp + 0x50], 0x10
jb 0x40a085
push dword [esp + 0x3c]
call fcn.005295dd
add esp, 4
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], 0
mov byte [esp + 0x3c], 0
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.005295e2
mov esp, ebp
pop ebp
ret