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

Disassembly:
mov edx, dword [ebp - 0x2fc]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x1504], edx
jne 0x406380
mov eax, dword [ebp - 0x70c]
mov dword [ebp - 0x4e0], eax
jmp 0x406649
mov ecx, 8
imul edx, ecx, 0
mov eax, dword [ebp - 0x1504]
mov ecx, dword [eax + edx + 0x78]
mov dword [ebp - 0x1508], ecx
cmp dword [ebp - 0x1508], 0
jne 0x4063b2
mov edx, dword [ebp - 0x70c]
mov dword [ebp - 0x4e0], edx
jmp 0x406649
mov eax, dword [ebp - 0x2fc]
add eax, dword [ebp - 0x1508]
mov dword [ebp - 0x700], eax
jne 0x4063d7
mov ecx, dword [ebp - 0x70c]
mov dword [ebp - 0x4e0], ecx
jmp 0x406649
mov edx, dword [ebp - 0x700]
mov eax, dword [ebp - 0x2fc]
add eax, dword [edx + 0x20]
mov dword [ebp - 0x18c0], eax
mov ecx, dword [ebp - 0x700]
mov edx, dword [ebp - 0x2fc]
add edx, dword [ecx + 0x24]
mov dword [ebp - 0x18c4], edx
mov eax, dword [ebp - 0x700]
mov ecx, dword [ebp - 0x2fc]
add ecx, dword [eax + 0x1c]
mov dword [ebp - 0x18c8], ecx
mov dword [ebp - 0x704], 0
jmp 0x406431
mov edx, dword [ebp - 0x704]
add edx, 1
mov dword [ebp - 0x704], edx
mov eax, dword [ebp - 0x700]
mov ecx, dword [ebp - 0x704]
cmp ecx, dword [eax + 0x18]
jae 0x40663d
mov edx, dword [ebp - 0x704]
mov eax, dword [ebp - 0x18c0]
mov ecx, dword [ebp - 0x2fc]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x708], ecx
mov edx, dword [ebp - 0x704]
mov eax, dword [ebp - 0x18c4]
movzx ecx, word [eax + edx*2]
mov edx, dword [ebp - 0x18c8]
mov eax, dword [ebp - 0x2fc]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x18cc], eax
mov dword [ebp - 0x184], 0
jmp 0x4064a1
mov ecx, dword [ebp - 0x184]
add ecx, 1
mov dword [ebp - 0x184], ecx
mov edx, dword [ebp - 0x708]
add edx, dword [ebp - 0x184]
movsx eax, byte [edx]
test eax, eax
je 0x406553
mov ecx, dword [ebp - 0x184]
movsx edx, byte [ebp + ecx - 0x804]
mov esi, 0xf7fc0d94
invalid
inc dword [ebp - 0x7a7bf02e]
add byte [eax], al
invalid
push eax
push edi
add esp, 4
xor eax, 0x11be6
jmp 0x4064de
jmp 0x4064e4
call 0x4064f4
add byte [edi], dh
inc eax
push eax
inc esi
dec ebx
inc esi
cmp ecx, dword [ebp + 0x33]
dec ebx
add esp, 4
pop eax
push eax
or eax, 0x9f0f
pop eax
mov eax, dword [ebp - 0x708]
add eax, dword [ebp - 0x184]
movsx ecx, byte [eax]
mov edx, dword [ebp - 0x184]
movsx eax, byte [ebp + edx - 0x804]
cmp ecx, eax
je 0x406545
mov ecx, dword [ebp - 0x708]
add ecx, dword [ebp - 0x184]
movsx edx, byte [ecx]
xor edx, 0x20
mov eax, dword [ebp - 0x184]
movsx ecx, byte [ebp + eax - 0x804]
cmp edx, ecx
jne 0x40654c
jmp 0x406492
jmp 0x406553
push edx
or edx, 0x9a9b
sub edx, 0xc813
sub edx, 0xd671
pop edx
push eax
push esi
add esp, 4
jmp 0x406571
pop eax
push ebx
jmp 0x406578
sub ebx, 0xcd30
xor ebx, 0x15c06
pop ebx
mov edx, dword [ebp - 0x708]
add edx, dword [ebp - 0x184]
movsx eax, byte [edx]
mov ecx, dword [ebp - 0x184]
movsx edx, byte [ebp + ecx - 0x804]
cmp eax, edx
jne 0x4065b2
mov dword [ebp - 0xc40], 0
jmp 0x406621
push eax
add eax, 0x43b1
call 0x4065c6
add byte [ecx + ecx*2 + 0x4c], al
cmp esi, dword [ecx + eax*2]
inc ecx
add esp, 4
pop eax
push ecx
and ecx, 0xd1aa
pop ecx
push ecx
push esi
add esp, 4
xor ecx, 0x7f55
sub ecx, 0xd45c
pop ecx
mov eax, dword [ebp - 0x708]
add eax, dword [ebp - 0x184]
movsx ecx, byte [eax]
or ecx, 0x20
mov edx, dword [ebp - 0x184]
movsx eax, byte [ebp + edx - 0x804]
or eax, 0x20
cmp ecx, eax
jge 0x406617
mov dword [ebp - 0xc40], 0xffffffff
jmp 0x406621
mov dword [ebp - 0xc40], 1
cmp dword [ebp - 0xc40], 0
jne 0x406638
mov ecx, dword [ebp - 0x18cc]
mov dword [ebp - 0x4e0], ecx
jmp 0x406649
jmp 0x406422
mov edx, dword [ebp - 0x70c]
mov dword [ebp - 0x4e0], edx
mov eax, dword [ebp - 0x4e0]
mov dword [ebp - 0x738], eax
test eax, ecx
clc
invalid
invalid
push edi
push edx
add esp, 4
jmp 0x406662
add edi, 0x1235d
and edi, 0x11829
or edi, 0x10876
pop edi
push ecx
push eax
add esp, 4
sub ecx, 0x1511b
xor ecx, 0x11e33
pop ecx
mov ecx, dword [ebp - 0x3cc]
add ecx, 0xe
mov dword [ebp - 0x1918], ecx
push ebx
push esi
add esp, 4
jmp 0x4066a4
or ebx, 0x14ee3
pop ebx
push ebx
call 0x4066b8
add byte [edi], bh
xor cl, byte [edi + 0x3d]
xor cl, byte [edx - 0x7d]
les eax, [ecx + eax*4]
popal
mov esp, 0xcb810000
pop esp
stosb byte es:[edi], al
add byte [eax], al
pop ebx
cmp dword [ebp - 0x3cc], 0
je 0x4066da
cmp dword [ebp - 0xa5c], 0
jne 0x406720
push edi
push ecx
add esp, 4
call 0x4066ef
invalid
dec esp