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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x8b0
mov eax, dword [0x4261d4]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 0x10]
mov eax, ecx
mov ecx, dword [ebp + 8]
push esi
push edi
xor edi, edi
mov dword [ebp - 0x87c], eax
and dword [ecx], edi
mov esi, edx
cmp byte [0x426004], 0
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x888], ecx
mov dword [ebp - 0x868], edx
mov dword [ebp - 0x884], ebx
je 0x406381
cmp word [esi], 0x7e
je 0x408f66
movzx eax, word [esi]
test ax, ax
je 0x4063b2
push eax
push edx
call dword [0x442070]
pop ecx
pop ecx
test eax, eax
je 0x40641c
sub eax, dword [ebp - 0x868]
sar eax, 1
mov edi, dword [ebx + eax*4]
mov eax, dword [ebp - 0x888]
inc dword [eax]
test edi, edi
je 0x40641c
mov eax, edi
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401200
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp - 0x888]
xor ecx, ecx
cmp dword [eax], ecx
mov eax, 0x4024c4
je 0x4063b2
jmp 0x4063b4
lea ecx, [edi + 2]
call fcn.00402508
mov edi, eax
test edi, edi
je 0x41de90
mov ecx, edi
call fcn.00402c6f
push 0x22
pop ecx
cmp word [eax], cx
jne 0x40903d
xor ecx, ecx
mov word [eax], cx
jmp 0x40903d
or ebx, 0x8002
jmp 0x4090f3
or ebx, 0x8004
jmp 0x4090f3
mov eax, dword [ebp - 0x86c]
jmp 0x409240
mov ecx, dword [ebp - 0x86c]
lea edx, [ebp - 0x82c]
push eax
mov eax, ecx
sub eax, edx
mov edx, edi
sar eax, 1
sub edx, eax
call fcn.00401da3
jmp 0x40928d
xor ecx, ecx
mov ebx, ecx
mov dword [ebp - 0x874], ecx
mov dword [ebp - 0x830], ecx
lea ecx, [esi - 2]
add esi, 2
mov dword [ebp - 0x880], ecx
mov dword [ebp - 0x864], ebx
movzx ecx, word [esi]
test cx, cx
je 0x41ddc4
mov edi, dword [ebp - 0x868]
push 0x24
mov dword [ebp - 0x878], esi
pop edx
cmp cx, dx
je 0x408fcc
push ecx
call dword [0x442078]
pop ecx
movzx eax, ax
push eax
push 0x409084
call dword [0x442070]
pop ecx
pop ecx
test eax, eax
jne 0x409098
push 0x24
pop edx
xor eax, eax
mov dword [ebp - 0x870], eax
movzx eax, word [esi]
test ax, ax
je 0x40f5f5
cmp ax, dx
je 0x41de0d
push eax
push edi
call dword [0x442070]
pop ecx
pop ecx
test eax, eax
je 0x40f5f5
movzx eax, word [esi]
mov edi, dword [ebp - 0x868]
push eax
push edi
call dword [0x442070]
pop ecx
pop ecx
test eax, eax
je 0x41de01
sub eax, edi
mov edi, dword [ebp - 0x884]
sar eax, 1
mov edi, dword [edi + eax*4]
test edi, edi
je 0x40903d
push 0x22
pop eax
cmp word [edi], ax
je 0x408bad
cmp word [esi], 0x30
je 0x4092b6
mov ecx, dword [ebp - 0x870]
sub esi, dword [ebp - 0x880]
mov eax, dword [ebp - 0x888]
add esi, 2
sar esi, 1
dec esi
mov dword [eax], esi
test edi, edi
je 0x40641c
xor edx, edx
cmp word [edi], dx
je 0x4063ae
test ebx, 0xc000
jne 0x409110
mov ecx, edi
call fcn.00402508
mov edi, eax
jmp 0x4063ae
movzx eax, word [esi]
push eax
push edi
call dword [0x442070]
pop ecx
pop ecx
test eax, eax
jne 0x40f5e4
movzx eax, word [esi]
push eax
call dword [0x442078]
movzx eax, ax
pop ecx
cmp eax, 0x70
je 0x408c0c
jg 0x40f5a3
sub eax, 0x61
je 0x40f6c9
sub eax, 3
je 0x408c01
dec eax
dec eax
je 0x40f60c
sub eax, 8
jne 0x41de01
or ebx, 0x8008
add esi, 2
mov dword [ebp - 0x864], ebx
push 0x24
pop edx
movzx ecx, word [esi]
test cx, cx
jne 0x408fa3
jmp 0x408fcc
xor eax, eax
mov esi, 0x208
mov word [ebp - 0x82c], ax
test ecx, ecx
jne 0x41dea3
lea eax, [ebp - 0x86c]
push eax
lea eax, [ebp - 0x82c]
push eax
push esi
push edi
call dword [0x442220]
mov dword [ebp - 0x830], eax
push 0x20
pop ecx
mov eax, ebx
mov edx, esi
and eax, ecx
lea ecx, [ebp - 0x82c]
push eax
mov dword [ebp - 0x884], eax
call fcn.004051dc
lea eax, [ebp - 0x82c]
push 0x5c
push eax
call dword [0x442070]
mov dword [ebp - 0x86c], eax
pop ecx
pop ecx
test eax, eax
je 0x41deec
add eax, 2
cmp dword [ebp - 0x830], 0
mov dword [ebp - 0x86c], eax
je 0x4063ae
xor eax, eax
xor edi, edi
push 0x40e
mov word [ebp - 0x41c], ax
lea eax, [ebp - 0x41a]
push edi
push eax
call fcn.00402233
mov eax, ebx
lea esi, [ebp - 0x41c]
add esp, 0xc
and eax, 0x4000
mov dword [ebp - 0x868], eax
jne 0x41df03
mov edi, 0x208
test ebx, 0x8000
je 0x41e109
lea eax, [ebp - 0x41c]
cmp esi, eax
jne 0x41e116
test bl, 1
jne 0x40928d
cmp dword [ebp - 0x884], 0
jne 0x41e13b
lea ecx, [ebp - 0x828]
mov dword [ebp - 0x868], ecx
test bl, 2
jne 0x408c17
mov eax, ecx
mov edx, edi
push eax
lea ecx, [ebp - 0x82c]
call fcn.00401da3
mov eax, dword [ebp - 0x86c]
lea ecx, [ebp - 0x82c]
sub eax, 4
mov dword [ebp - 0x868], ecx
mov dword [ebp - 0x86c], eax
test bl, 4
jne 0x409267
push eax
mov eax, ecx
lea edx, [ebp - 0x82c]
sub eax, edx
mov edx, edi
sar eax, 1
sub edx, eax
call fcn.00401da3
mov eax, dword [ebp - 0x868]
mov dword [ebp - 0x86c], eax
push 0x2e
push eax
call dword [0x442070]
pop ecx
pop ecx
test eax, eax
je 0x41e149
test bl, 0x10
jne 0x409284
xor ecx, ecx
mov word [eax], cx
test bl, 8
je 0x408c22
lea eax, [ebp - 0x82c]
push eax
lea ecx, [ebp - 0x41c]
mov eax, esi
sub eax, ecx
mov ecx, esi
sar eax, 1
sub edi, eax
mov edx, edi
call fcn.00401da3
lea ecx, [ebp - 0x41c]
jmp 0x409078
mov eax, dword [0x426054]
mov ecx, dword [ebp - 0x870]
test eax, eax
je 0x409043
cmp dword [eax + 0x8c], edi
jne 0x409043
test ecx, ecx
jne 0x409043
test ebx, 0xc000
je 0x409043
mov edi, dword [eax]
jmp 0x409043
add byte [ebx - 0xc76efbe], cl
add al, ch
sbb cl, byte [ebp + 5]
add byte [ebx + 0x428b0842], cl
or byte [ebx - 0xff4cc8], cl
push edi
inc esp
jle 0x40f60e
aaa
dec esp
add eax, 0x46dee800
add eax, 0x24448d00
dec esp
push ecx
inc esp
mov edi, 0x3b382
add al, ch
aam 0x22
add al, 0
xchg esp, eax
outsb dx, byte [esi]
jle 0x41de11
add eax, dword [eax]
add al, ch
xor eax, 0xb8000422
lodsb al, byte [esi]
outsb dx, byte [esi]
jle 0x41deb0
add byte [eax], al
add ch, bl
sbb al, 0x24
xchg ecx, eax
and al, byte [eax + eax]
cmp byte [ecx - 0x24cbdb8c], cl
inc esp
and al, 0x34
add byte [eax], al
add dh, bl
jmp 0x3c6625fc
add al, ch
popal
pop esp
add al, 0