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

Disassembly:
push esi
push ecx
add esp, 4
add esi, 0xc540
and esi, 0x30ec
jmp 0x40796b
or esi, 0xcde9
pop esi
push esi
call fcn.0040797f
add byte [ebp + 0x4f], al
dec ecx
dec ebp
cmp eax, dword ds:[ebx - 0x72a1fb3c]
add esp, 4
pop esi
lea edx, [ebp - 0x1754]
invalid
xchg ebp, eax
pushal
invalid
add esp, 4
pop esi
lea edx, [ebp - 0x1754]
mov dword [ebp - 0xca0], edx
mov eax, dword [ebp - 0x508]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0xc9c], ecx
xor edx, edx
mov word [ebp - 0x214], dx
xor eax, eax
mov word [ebp - 0x110], ax
push ecx
or ecx, 0x9579
sub ecx, 0x95ed
and ecx, 0x1366c
call 0x4079d2
add byte [ebx + 0x39], al
cmp byte [ecx + 0x41], al
xor eax, 0xc483374f
add al, 0x59
push ecx
push edi
add esp, 4
xor ecx, 0x1354c
pop ecx
mov ecx, dword [ebp - 0xc9c]
mov dx, word [ecx]
mov word [ebp - 0x1036], dx
mov eax, dword [ebp - 0xc9c]
add eax, 2
mov dword [ebp - 0xc9c], eax
mov cx, word [ebp - 0x1036]
mov word [ebp - 0x214], cx
mov edx, dword [ebp - 0xca0]
mov ax, word [edx]
mov word [ebp - 0x1038], ax
mov ecx, dword [ebp - 0xca0]
add ecx, 2
mov dword [ebp - 0xca0], ecx
mov dx, word [ebp - 0x1038]
mov word [ebp - 0x110], dx
push eax
xor eax, 0x9c06
sub eax, 0x4e92
or eax, 0x700c
pop eax
push edi
push ebx
add esp, 4
xor edi, 0x7fb8
pop edi
push edx
call 0x407a6a
add byte [ebx + 0x35], al
inc edx
aas
xor edi, dword [esi + ecx*2]
add esp, 4
pop edx
movzx eax, word [ebp - 0x110]
test eax, eax
jne 0x407a91
movzx ecx, word [ebp - 0x214]
movzx edx, word [ebp - 0x110]
sub ecx, edx
mov dword [ebp - 0x15ec], ecx
jmp 0x407af4
movzx eax, word [ebp - 0x214]
movzx ecx, word [ebp - 0x110]
cmp eax, ecx
je 0x4079b0
movzx edx, word [ebp - 0x214]
xor edx, 0x20
movzx eax, word [ebp - 0x110]
cmp edx, eax
je 0x4079b0
movzx ecx, word [ebp - 0x214]
movzx edx, word [ebp - 0x110]
cmp ecx, edx
jge 0x407ade
mov dword [ebp - 0x15e8], 0xffffffff
jmp 0x407ae8
mov dword [ebp - 0x15e8], 1
mov eax, dword [ebp - 0x15e8]
mov dword [ebp - 0x15ec], eax
cmp dword [ebp - 0x15ec], 0
jne 0x407b3d
push edi
push ebx
add esp, 4
sub edi, 0xf3fb
pop edi
push esi
push edx
add esp, 4
or esi, 0x198e
pop esi
push eax
or eax, 0x7c13
and eax, 0x47bd
pop eax
push ebx
push ebx
add esp, 4
and ebx, 0x131bd
pop ebx
mov ecx, dword [ebp - 0x508]
mov dword [ebp - 0x750], ecx
jmp 0x407ba5
push esi
add esi, 0x179b1
or esi, 0x1529a
pop esi
push ecx
push edx
add esp, 4
call 0x407b5d
add byte [ebp + 0x3c], al
push eax
cmp dword ds:[ecx], edi
dec esi
add esp, 4
or ecx, 0xcfc
pop ecx
push edi
add edi, 0x914f
pop edi
mov edx, dword [ebp - 0x508]
mov eax, dword [edx]
mov dword [ebp - 0x508], eax
mov ecx, dword [ebp - 0x508]
cmp ecx, dword [ebp - 0xca4]
je 0x407b9b
mov edx, dword [ebp - 0x508]
cmp dword [edx + 0x30], 0
jne 0x407951
mov dword [ebp - 0x750], 0
push edi
push esi
add esp, 4
sub edi, 0xcca9
or edi, 0x1316c
call 0x407bc2
add byte [edx], dh
dec esp
cmp byte [ecx], bh
dec edi
dec ecx
add esp, 4
call 0x407bd3
add byte [ebx + 0x42], al
dec esp
cmp al, 0x4d
dec esp
inc edx
cmp al, byte [ebx - 0x7ca0fb3c]
mov ebp, 0xfffff8b0
add byte [ebp + 0x41], dh
push ebx
push edi
add esp, 4
sub ebx, 0x18142
sub ebx, 0xaf79
pop ebx
push esi
push edi
add esp, 4
or esi, 0xa21c
add esi, 0x3f9d
sub esi, 0x371
pop esi
push edx
xor edx, 0xc6e3
pop edx
mov dword [ebp - 0x79c], 0
jmp 0x408748