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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xa0
mov eax, dword [ebp + 8]
mov dword [esp + 8], eax
mov esi, dword [esp + 8]
mov dword [esp + 0x5c], 0x40dd00
mov dword [esp + 0x60], 0x43e134
mov dword [esp + 0x64], ebp
mov dword [esp + 0x6c], esp
mov dword [esp + 0x68], 0x40e81f
lea eax, [esp + 0x44]
push eax
call fcn.0040ed50
add esp, 4
test esi, esi
jne 0x40e4aa
push 0
call fcn.0040d210
add esp, 4
call fcn.0040db50
mov esi, dword [esp + 8]
push dword [esp + 8]
call fcn.0040d210
add esp, 4
mov dword [esp + 0x48], 0xffffffff
push esi
call fcn.0040cec0
add esp, 4
mov byte [esp + 7], al
mov dword [esp + 0x14], 0
mov al, byte [esp + 7]
cmp al, 1
jne 0x40e50d
mov ecx, dword [esp + 8]
mov eax, dword [esp + 8]
mov esi, dword [eax - 0x24]
mov eax, dword [esp + 8]
add ecx, 0xffffffd0
mov eax, dword [eax - 0x28]
mov edx, dword [esp + 8]
mov edx, dword [edx - 0x18]
mov edi, dword [esp + 8]
mov edi, dword [edi - 0x10]
mov ebx, edx
sar ebx, 0x1f
mov dword [esp + 0x14], edi
jmp 0x40e521
call fcn.0040dc10
mov esi, eax
xor edi, edi
call fcn.0040db40
xor ecx, ecx
xor edx, edx
xor ebx, ebx
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x84], ecx
mov dword [esp + 0x24], esi
mov dword [esp + 0x38], edi
mov dword [esp + 0x48], 1
push eax
call fcn.0040dbf0
add esp, 4
jmp dword [eax*4 + 0x43407c]
mov eax, dword [esp + 0x50]
push dword [esp + 0x4c]
call fcn.0040d210
add esp, 4
mov al, byte [esp + 7]
cmp al, 1
jne 0x40e86d
mov eax, dword [esp + 0x38]
inc eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x38]
movzx edx, byte [eax]
mov dword [esp + 0x48], 2
lea ecx, [esp + 0x14]
call fcn.0040e890
mov eax, dword [esp + 0x14]
lea ecx, [eax + 1]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x14], ecx
mov al, byte [eax]
mov byte [esp + 6], al
mov al, byte [esp + 6]
cmp al, 0xff
je 0x40e852
mov edx, dword [esp + 0x3c]
xor eax, eax
xor ecx, ecx
lea esi, [edx + 1]
mov dword [esp + 0x18], esi
movzx edx, byte [edx]
mov esi, edx
and esi, 0x7f
shl esi, cl
add ecx, 7
or esi, eax
test dl, dl
mov dword [esp + 0x28], esi
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
js 0x40e5ba
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
add eax, dword [esp + 0x28]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x18]
add eax, dword [esp + 0x28]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x48], 3
call fcn.004135b0
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x40]
mov eax, dword [eax]
mov dword [esp + 0xc], eax
cmp dword [esp + 0xc], 0
je 0x40e85b
mov eax, dword [esp + 0xc]
add eax, 0x30
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x48], 4
push eax
call fcn.0040cec0
add esp, 4
mov byte [esp + 0x11], al
mov al, byte [esp + 0x11]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0xc]
cmp edx, ecx
je 0x40e74a
test al, 1
je 0x40e74a
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x48], 5
push eax
call fcn.0040ceb0
add esp, 4
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edx
mov eax, 0x432b2b01
mov ecx, 0x434c4e47
xor eax, dword [esp + 0x78]
xor ecx, dword [esp + 0x7c]
or ecx, eax
jne 0x40e6f9
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x2c]
jmp 0x40e700
jmp 0x40e6be
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x50]
jmp 0x40e6d9
mov dword [esp + 0x98], edi
mov dword [esp + 0x94], esi
mov dword [esp + 0x48], 0xd
call fcn.0040d2f0
jmp 0x40e830
mov eax, dword [esp + 0xc]
add eax, 0x50
mov ecx, dword [esp + 8]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
movzx edi, byte [esp + 6]
mov ebx, dword [esp + 0x88]
mov esi, dword [esp + 0x90]
mov dword [esp + 0x48], 6
push dword [esp + 0x1c]
push eax
push esi
push edi
push ebx
call fcn.0040e990
add esp, 0x14
mov byte [esp + 0x12], al
cmp byte [esp + 0x12], 0
je 0x40e7dc
mov ecx, dword [0x434118]
mov eax, dword [esp + 8]
add ecx, 8
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
movzx esi, byte [esp + 6]
mov edi, dword [esp + 0x8c]
mov dword [esp + 0x48], 0xa
lea ebx, [esp + 0x20]
push eax
push ebx
push 0x433fa4
push esi
push edi
call fcn.0040e990
add esp, 0x14
mov byte [esp + 0x13], al
cmp byte [esp + 0x13], 0
jne 0x40e864
mov dword [esp + 0x48], 0xb
call fcn.0040d2f0
push 4
call fcn.0040cee0
add esp, 4
mov ecx, dword [esp + 0x1c]
mov dword [eax], ecx
mov dword [esp + 0x48], 0xc
push fcn.0040da90
push 0x433fa4
push eax
call fcn.0040d0c0
add esp, 0xc
jmp 0x40e864
mov eax, dword [esp + 0xc]
neg dword [eax + 0x14]
mov eax, dword [esp + 0x40]
inc dword [eax + 4]
mov dword [esp + 0x48], 7
call fcn.0040d2f0
mov dword [esp + 0x48], 8
call fcn.0040d2f0
push dword [esp + 0x2c]
call fcn.0040d210
add esp, 4
mov dword [esp + 0x48], 9
call fcn.0040d4e0
jmp 0x40e864
mov eax, dword [esp + 0x94]
mov dword [esp + 0x48], 0xffffffff
push eax
call fcn.0040f050
mov eax, dword [esp + 0x50]
push dword [esp + 0x4c]
call fcn.0040b520
push dword [esp + 0x24]
call fcn.0040dc20
push dword [esp + 0x24]
call fcn.0040dc20
lea ecx, [esp + 0x20]
call fcn.0040da90
mov dword [esp + 0x48], 0xffffffff
call fcn.0040d2f0
push dword [esp + 0x24]
call fcn.0040dc20
nop word cs:[eax + eax]
nop dword [eax]