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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xb0
mov eax, dword [ebp + 8]
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa0], 0x235e
mov dword [esp + 0x88], 0x7030
mov ecx, 0x7030
mov dword [esp + 0x9c], 0xc30a730
mov dword [esp + 0x84], 0x365
mov dl, byte [esp + 0x9b]
mov esi, dword [esp + 0x88]
add esi, 0xffffc49f
mov dword [esp + 0x6c], esi
mov di, word [esp + 0x8e]
mov dword [esp + 0x50], 0x3412
mov dword [esp + 0x9c], 0x7679
mov esi, dword [esp + 0xa0]
mov ebx, dword [esp + 0xa4]
mov dword [esp + 0x4c], eax
mov eax, esi
xor eax, 0x7557
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x74], eax
mov eax, dword [eax + 0x3c]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x48]
add eax, ecx
mov dword [esp + 0x9c], 0x4b0
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x64], eax
mov byte [esp + 0x9b], dl
mov eax, dword [esp + 0x74]
mov word [esp + 0x8e], 0
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x30], eax
xor eax, eax
mov dword [esp + 0x2c], eax
mov eax, 0x65c0
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x34]
sub eax, ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x30]
sbb ecx, eax
not dl
mov byte [esp + 0x9b], dl
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
sub eax, edx
setbe dl
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x3c]
sub eax, ecx
setbe dh
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x1b], dh
mov dword [esp + 0x14], esi
mov word [esp + 0x12], di
mov dword [esp + 0xc], eax
mov byte [esp + 0xb], dl
je 0x40653a
mov al, byte [esp + 0x1b]
mov byte [esp + 0xb], al
mov al, byte [esp + 0xb]
test al, al
jne 0x406661
jmp 0x406548
mov ax, word [esp + 0x12]
mov word [esp + 0x8e], ax
mov ecx, dword [esp + 0x38]
cmp dword [ecx + 0x3c], 0x201
jle 0x4065a9
mov eax, dword [esp + 0x88]
add eax, 0xffffb417
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x70], ecx
cmp dword [esp + 0x6c], eax
je 0x406548
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x88]
xor ecx, 0x1f8
mov dword [esp + 0x9c], 0x8c2
cmp ecx, eax
jb 0x4065a9
mov dword [esp + 0x54], 0
jmp 0x406661
mov eax, dword [esp + 0x64]
cmp dword [eax], 0x4550
je 0x4065cd
mov dword [esp + 0x54], 0
mov dword [esp + 0x9c], 0x36dd
jmp 0x406661
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0xa4]
xor edx, edx
mov esi, 0x5e9e
sub esi, eax
sbb edx, ecx
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], edx
mov di, word [esp + 0x12]
mov ax, di
add eax, 0xffffe1ec
mov bx, ax
mov word [esp + 0x8e], bx
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0xa0]
mov esi, dword [esp + 0xa4]
add edx, 0xafb
adc esi, 0
mov edi, dword [esp + 0x64]
mov dword [esp + 0x68], edi
xor edx, eax
xor esi, ecx
or edx, esi
mov dword [esp + 4], edx
je 0x406562
jmp 0x40663f
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x1c]
and ecx, ecx
mov edx, dword [esp + 0x14]
and edx, edx
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], ecx
mov dword [esp + 0x54], eax
mov eax, 0x672
mov ecx, dword [esp + 0x84]
mov dx, word [esp + 0x12]
and dx, 0x57a4
mov word [esp + 0x8e], dx
cmp eax, ecx
jb 0x4065cd
mov eax, dword [esp + 0x54]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret