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

Disassembly:
mov ecx, dword [ebp - 0x3f8]
mov dword [ebp - 0x1a18], ecx
push ecx
push ecx
add esp, 4
xor ecx, 0x1651b
or ecx, 0x3e7f
pop ecx
push edi
jmp 0x40be17
call 0x40be24
add byte [ebx], dh
cmp eax, 0x43474144
push eax
add esp, 4
or edi, 0x12035
pop edi
mov edx, dword [ebp - 0x1a18]
mov dword [ebp - 0x1a1c], edx
lea eax, [ebp - 0x173c]
push eax
call dword [ebp - 0x1a1c]
test eax, eax
jne 0x40be8c
push eax
xor eax, 0x16cb7
or eax, 0xa82f
xor eax, 0x15eab
and eax, 0x11f88
pop eax
push edi
push edi
add esp, 4
sub edi, 0x208b
and edi, 0x57d4
sub edi, 0x1449d
pop edi
mov dword [ebp - 0xabc], 0
jmp 0x40c577
push esi
or esi, 0x46f2
xor esi, 0x13951
call 0x40bea9
add byte [esi + 0x44], cl
xor eax, 0x3b4f4649
dec edi
xor al, 0x4a
add esp, 4
call 0x40beba
add byte [eax + 0x3a], dl
cmp eax, 0x3844363c
inc eax
add esp, 4
pop esi
mov ecx, dword fs:[0x18]
mov dword [ebp - 0x1a20], ecx
mov edx, dword [ebp - 0x1a20]
dec dword [ebx - 0x7a76cfbe]
fsubr st(5), st(0)
invalid
dec dword [ebx - 0x1a2373]
dec dword [ecx - 0x167f73]
call dword [ecx - 0x7f]
jmp 0x410aae
jmp 0x40bef4
and ecx, 0x175fe
pop ecx
push ecx
push edx
add esp, 4
call 0x40bf0c
add byte [edi + 0x39], cl
push edi
and edi, 0x4f22
pop edi
push ebx
push ebx
add esp, 4
sub ebx, 0xdfb9
call 0x40c597
add byte [edx], bh
dec ebx
inc ecx
cmp eax, 0x834e3336
les eax, [ebx + ebx*2]
push esi
or esi, 0x2c9e
sub esi, 0xe526
pop esi
mov edx, dword [ebp - 0xabc]
mov dword [ebp - 0x1a38], edx
lea eax, [ebp - 0xce8]
push eax
push 0x40
mov ecx, dword [ebp - 0x1698]
push ecx
mov edx, dword [ebp - 0x3e8]
push edx
call dword [ebp - 0x1a38]
test eax, eax
jne 0x40c61c
push ecx
push esi
add esp, 4
or ecx, 0x7eea
call 0x40c5ed
add byte [0x42505038], bh
xor al, byte [ebx + 0x515904c4]
push edx
add esp, 4
call 0x40c604
add byte [ebx + 0x45], cl
push eax
inc eax
cmp al, 0x37
cmp eax, 0x4c48342
pop ecx
mov eax, dword [ebp - 0x79c]
mov dword [ebp - 0x1a3c], eax
push 0
call dword [ebp - 0x1a3c]
mov ecx, dword [ebp - 0x1a40]
mov dword [ebp - 0x798], ecx
jmp 0x40c639
mov edx, dword [ebp - 0x798]
add edx, 1
mov dword [ebp - 0x798], edx
mov eax, dword [ebp - 0x798]
cmp eax, dword [ebp - 0xac0]
jae 0x40c695
push ecx
push edx
add esp, 4
sub ecx, 0x49fc
add ecx, 0xa2ce
into
mov byte [0xc1810000], al
sub edi, dword [ecx + eax]
add byte [ecx + 0x57], bl
sub edi, 0x14ef8
xor edi, 0x11f36
xor edi, 0x13627
sub edi, 0x17738
pop edi
movzx ecx, byte [ebp - 0x3ae]
mov edx, dword [ebp - 0x798]
movsx eax, byte [edx]
sub eax, ecx
mov ecx, dword [ebp - 0x798]
mov byte [ecx], al
jmp 0x40c62a
mov edx, dword [ebp - 0xabc]
mov dword [ebp - 0x1a44], edx
lea eax, [ebp - 0xce8]
push eax
mov ecx, dword [ebp - 0xce8]
push ecx
mov edx, dword [ebp - 0x1698]
push edx
mov eax, dword [ebp - 0x3e8]
push eax
call dword [ebp - 0x1a44]
test eax, eax
jne 0x40c70d
push ebx
push edi
add esp, 4
or ebx, 0x87d3
pop ebx
push ebx
push eax
add esp, 4
sub ebx, 0xd76e
pop ebx
push edx
add edx, 0x14b12
add edx, 0xdf3b
pop edx
push ecx
push edi
add esp, 4
xor ecx, 0x126db
pop ecx
mov ecx, dword [ebp - 0x79c]
mov dword [ebp - 0x1a48], ecx
push 0
call dword [ebp - 0x1a48]
push ecx
or ecx, 0xe88f
pop ecx
push edi
push edx
add esp, 4
or edi, 0x3949
and edi, 0x12497
pop edi
push esi
call 0x40c735
add byte [0x41324043], dh
cmp eax, 0x4c48350
xor esi, 0xab53
pop esi
push edx
mov ecx, 0x10101010
pop edx
push ecx
mov ecx, 0xffff01ff
pop ecx
push ecx
jmp 0x141c85f