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

Disassembly:
add esp, 4
pop esi
push ebx
push ecx
add esp, 4
and ebx, 0x9890
add ebx, 0x3960
sub ebx, 0x12c1f
pop ebx
cmp dword [ebp - 0x1628], 0
jne 0x407f45
mov dword [ebp - 0x778], 0
jmp 0x4081ec
mov edx, dword [ebp - 0x1628]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0xcd4], ecx
push eax
push esi
add esp, 4
add eax, 0xb713
and eax, 0x9db5
and eax, 0x163ab
pop eax
push eax
add eax, 0x7993
or eax, 0x64a6
and eax, 0xbf21
and eax, 0x44b6
pop eax
cmp dword [ebp - 0xcd4], 0
jne 0x407fa1
mov dword [ebp - 0x778], 0
jmp 0x4081ec
mov edx, dword [ebp - 0xcd4]
mov dword [ebp - 0x51c], edx
push eax
push edi
add esp, 4
add eax, 0x1491f
or eax, 0x7756
pop eax
push ebx
push ebx
add esp, 4
and ebx, 0x38a8
and ebx, 0x4679
pop ebx
push ecx
add ecx, 0x18285
sub ecx, 0xd958
pop ecx
lea eax, [ebp - 0x17c8]
mov dword [ebp - 0xcd0], eax
mov ecx, dword [ebp - 0x51c]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0xccc], edx
xor eax, eax
mov word [ebp - 0x220], ax
xor ecx, ecx
mov word [ebp - 0x3c], cx
push ecx
push ebx
add esp, 4
or ecx, 0x5624
and ecx, 0x16a26
xor ecx, 0x62f0
pop ecx
push eax
push esi
add esp, 4
add eax, 0x6de7
sub eax, 0xd809
jmp 0x40803a
pop eax
mov edx, dword [ebp - 0xccc]
mov ax, word [edx]
mov word [ebp - 0x1046], ax
mov ecx, dword [ebp - 0xccc]
add ecx, 2
mov dword [ebp - 0xccc], ecx
mov dx, word [ebp - 0x1046]
mov word [ebp - 0x220], dx
mov eax, dword [ebp - 0xcd0]
mov cx, word [eax]
mov word [ebp - 0x1048], cx
mov edx, dword [ebp - 0xcd0]
add edx, 2
mov dword [ebp - 0xcd0], edx
mov ax, word [ebp - 0x1048]
mov word [ebp - 0x3c], ax
push ebx
push edi
add esp, 4
xor ebx, 0x10b2b
jmp 0x4080a6
pop ebx
push eax
call 0x4080b5
add byte [eax + 0x4a], dl
dec edi
dec ecx
aas
aas
dec ebp
add esp, 4
or eax, 0x7488
jmp 0x4080c3
pop eax
movzx ecx, word [ebp - 0x3c]
test ecx, ecx
jne 0x4080e1
movzx edx, word [ebp - 0x220]
movzx eax, word [ebp - 0x3c]
sub edx, eax
mov dword [ebp - 0x1670], edx
jmp 0x40813b
movzx ecx, word [ebp - 0x220]
movzx edx, word [ebp - 0x3c]
cmp ecx, edx
je 0x408009
movzx eax, word [ebp - 0x220]
xor eax, 0x20
movzx ecx, word [ebp - 0x3c]
cmp eax, ecx
je 0x408009
movzx edx, word [ebp - 0x220]
movzx eax, word [ebp - 0x3c]
cmp edx, eax
jge 0x408125
mov dword [ebp - 0x162c], 0xffffffff
jmp 0x40812f
mov dword [ebp - 0x162c], 1
mov ecx, dword [ebp - 0x162c]
mov dword [ebp - 0x1670], ecx
cmp dword [ebp - 0x1670], 0
jne 0x408184
push esi
push ecx
add esp, 4
jmp 0x40814f
sub esi, 0xacd5
pop esi
push ebx
push ecx
add esp, 4
and ebx, 0x11b41
jmp 0x408169
xor ebx, 0xd189
or ebx, 0x17697
pop ebx
mov edx, dword [ebp - 0x51c]
mov dword [ebp - 0x778], edx
jmp 0x4081ec
push edx
push ecx
add esp, 4
add edx, 0x12756
xor edx, 0x154fb
pop edx
push ecx
and ecx, 0xe3c9
or ecx, 0x1520b
sub ecx, 0x4c01
pop ecx
push edi
push edi
add esp, 4
sub edi, 0x6745
pop edi
mov eax, dword [ebp - 0x51c]
mov ecx, dword [eax]
mov dword [ebp - 0x51c], ecx
mov edx, dword [ebp - 0x51c]
cmp edx, dword [ebp - 0xcd4]
je 0x4081e2
mov eax, dword [ebp - 0x51c]
cmp dword [eax + 0x30], 0
jne 0x407fad
mov dword [ebp - 0x778], 0
push edx
push ebx
add esp, 4
sub edx, 0x14293
pop edx
push eax
jmp 0x4081fe
and eax, 0x74da
pop eax
push ebx
push esi
add esp, 4
xor ebx, 0x17c6b
jmp 0x408215
jmp 0x40821d
pop ebx
cmp dword [ebp - 0x778], 0
jne 0x408268
push ebx
add ebx, 0x13d69
call 0x40823b
add byte [ebx], bh
dec ebx
cmp al, 0x4c
dec ecx
xor eax, 0x4c4833e
and ebx, 0x13d47
or ebx, 0x6953
pop ebx
push eax
xor eax, 0x54fc
or eax, 0x14577
pop eax
mov dword [ebp - 0xac0], 0
jmp 0x408d90
push edx
push edi
add esp, 4
and edx, 0x9d6f
jmp 0x40827b
push es
pop edx
push esi
push edi
add esp, 4
call 0x408290
add byte [edi], dh
cmp dword [esi + 0x4b], ecx
inc edi
inc ebp
dec ebp
cmp al, 0x48
add esp, 4
xor esi, 0x928f
pop esi
mov ecx, dword [ebp - 0x778]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x3a4], edx
mov dword [ebp - 0x788], 0
invalid
invalid