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

Disassembly:
pop edi
mov ecx, dword fs:[0x18]
mov dword [ebp - 0x1a0c], ecx
mov edx, dword [ebp - 0x1a0c]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x1a10], eax
mov ecx, dword [ebp - 0x1a10]
mov dword [ebp - 0x167c], ecx
push ebx
push ecx
add esp, 4
add ebx, 0x1372e
add ebx, 0xf4ce
pop ebx
push edi
and edi, 0xf23
call 0x4098b9
add byte [ecx + 0x3e], al
cmp al, 0x37
cmp dword [edx + 0x3c], ecx
add esp, 4
xor edi, 0xd02a
pop edi
cmp dword [ebp - 0x167c], 0
jne 0x4098db
mov dword [ebp - 0x2fc], 0
jmp 0x409b82
mov edx, dword [ebp - 0x167c]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0xce0], ecx
push ecx
push eax
add esp, 4
sub ecx, 0x10226
pop ecx
push eax
or eax, 0x3fd5
and eax, 0x9d5b
pop eax
push edi
or edi, 0x17a2c
call 0x40991b
add byte [eax + 0x3c], al
cmp byte [esi], bh
aaa
inc eax
inc eax
add esp, 4
pop edi
cmp dword [ebp - 0xce0], 0
jne 0x409937
mov dword [ebp - 0x2fc], 0
jmp 0x409b82
mov edx, dword [ebp - 0xce0]
mov dword [ebp - 0x51c], edx
push esi
push ecx
add esp, 4
add esi, 0x7ecb
or esi, 0x14251
pop esi
push esi
push ecx
add esp, 4
les eax, [ebx + ebp*8]
push es
add esi, 0x15356
or esi, 0xf609
xor esi, 0x4afc
pop esi
lea eax, [ebp - 0x1738]
mov dword [ebp - 0xcdc], eax
mov ecx, dword [ebp - 0x51c]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0xcd8], edx
xor eax, eax
mov word [ebp - 0x224], ax
xor ecx, ecx
mov word [ebp - 0x40], cx
push esi
add esi, 0x16836
pop esi
push eax
sub eax, 0x7d06
pop eax
push eax
push eax
add esp, 4
and eax, 0x829f
pop eax
push ecx
or ecx, 0x9992
jmp 0x4099ca
or ecx, 0xf00f
pop ecx
mov edx, dword [ebp - 0xcd8]
mov ax, word [edx]
mov word [ebp - 0x1046], ax
mov ecx, dword [ebp - 0xcd8]
add ecx, 2
mov dword [ebp - 0xcd8], ecx
mov dx, word [ebp - 0x1046]
mov word [ebp - 0x224], dx
mov eax, dword [ebp - 0xcdc]
mov cx, word [eax]
mov word [ebp - 0x1048], cx
mov edx, dword [ebp - 0xcdc]
add edx, 2
mov dword [ebp - 0xcdc], edx
mov ax, word [ebp - 0x1048]
mov word [ebp - 0x40], ax
push esi
or esi, 0x1014a
add esi, 0x741f
add esi, 0x10511
add esi, 0x17091
pop esi
push esi
push esi
add esp, 4
call 0x409a56
add byte [edx + 0x35], cl
dec edx
inc edx
inc ebp
cmp eax, dword [ebx + eax*2 + 0x44]
add esp, 4
pop esi
movzx ecx, word [ebp - 0x40]
test ecx, ecx
jne 0x409a77
movzx edx, word [ebp - 0x224]
movzx eax, word [ebp - 0x40]
sub edx, eax
mov dword [ebp - 0x1684], edx
jmp 0x409ad1
movzx ecx, word [ebp - 0x224]
movzx edx, word [ebp - 0x40]
cmp ecx, edx
je 0x40999f
movzx eax, word [ebp - 0x224]
xor eax, 0x20
movzx ecx, word [ebp - 0x40]
cmp eax, ecx
je 0x40999f
movzx edx, word [ebp - 0x224]
movzx eax, word [ebp - 0x40]
cmp edx, eax
jge 0x409abb
mov dword [ebp - 0x1680], 0xffffffff
jmp 0x409ac5
mov dword [ebp - 0x1680], 1
mov ecx, dword [ebp - 0x1680]
mov dword [ebp - 0x1684], ecx
cmp dword [ebp - 0x1684], 0
jne 0x409b1a
push ebx
push edi
add esp, 4
xor ebx, 0x51f4
or ebx, 0x16ae7
or ebx, 0x163f4
call 0x409b00
add byte [edx], dh
dec eax
cmp eax, dword [ebx + eax*2 + 0x36]
cmp byte ds:[esi], dh
add esp, 4
pop ebx
push edx
xor edx, 0x43b3
pop edx
mov edx, dword [ebp - 0x51c]
mov dword [ebp - 0x2fc], edx
jmp 0x409b82
push eax
push eax
add esp, 4
and eax, 0x76a3
sub eax, 0x4d5d
call 0x409b3b
add byte [ecx + 0x3b], cl
inc ebx
inc edi
xor ecx, dword [edx + 0x3d]
push eax
add esp, 4
pop eax
push ecx
push edi
add esp, 4
jmp 0x409b4b
pop ecx
mov eax, dword [ebp - 0x51c]
mov ecx, dword [eax]
mov dword [ebp - 0x51c], ecx
mov edx, dword [ebp - 0x51c]
cmp edx, dword [ebp - 0xce0]
je 0x409b78
mov eax, dword [ebp - 0x51c]
cmp dword [eax + 0x30], 0
jne 0x409943
mov dword [ebp - 0x2fc], 0
push eax
xor eax, 0x5670
pop eax
push ecx
push eax
add esp, 4
jmp 0x409b96
and ecx, 0x1134
call 0x409baa
add byte [esi + 0x36], al
aas
dec ebx
inc esp
dec eax
inc ecx
inc ebp
add esp, 4
add ecx, 0x47f8
pop ecx
mov ecx, dword [ebp - 0x2fc]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x338], edx
push edi
add edi, 0xd05e
or edi, 0x14057
add edi, 0x58cd
add edi, 0x16f29
pop edi
push eax
push ebx
add esp, 4
sub eax, 0x1592d
sub eax, 0x7275
xor eax, 0x1dde
pop eax
mov dword [ebp - 0x794], 0
invalid