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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x442a68
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x467fd4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
push 0x469e18
lea ecx, [ebp - 0x1c]
call fcn.004036a0
cmp dword [0x469e2c], 0
mov dword [ebp - 4], 0
jne 0x40e1fe
push dword [0x466688]
mov ecx, 0x469e20
call fcn.0040ddd0
test al, al
jne 0x40e1fe
push dword [0x46668c]
mov ecx, 0x469e20
call fcn.0040ddd0
lea ecx, [ebp - 0x1c]
call fcn.00403720
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
call fcn.00403720
mov ebx, dword [0x469e2c]
test ebx, ebx
jne 0x40e251
push dword [0x466688]
mov ecx, 0x469e20
call fcn.0040ddd0
test al, al
jne 0x40e24b
push dword [0x46668c]
mov ecx, 0x469e20
call fcn.0040ddd0
test al, al
je 0x40e45b
mov ebx, dword [0x469e2c]
mov eax, dword [esi + 0x14]
shr eax, 9
and eax, 0xffffff01
mov dword [ebp - 0x10], eax
test ebx, ebx
je 0x40e45b
test al, al
je 0x40e36c
mov edi, dword [esi + 0x28]
mov esi, dword [ebx + 0x28]
test edi, edi
je 0x40e445
test esi, esi
je 0x40e445
test esi, esi
je 0x40e2eb
mov eax, dword [esi + 0x18]
cmp eax, dword [edi + 0x18]
jne 0x40e44a
mov eax, dword [esi + 0x1c]
cmp eax, dword [edi + 0x1c]
jne 0x40e44a
mov eax, dword [esi + 0x20]
cmp eax, dword [edi + 0x20]
jne 0x40e44a
push 0x10
lea eax, [edi + 0x28]
push eax
lea eax, [esi + 0x28]
push eax
call fcn.00406c50
add esp, 0xc
test al, al
je 0x40e44a
push 0x10
lea eax, [edi + 0x38]
push eax
lea eax, [esi + 0x38]
push eax
call fcn.00406c50
add esp, 0xc
test al, al
je 0x40e44a
mov edi, dword [edi + 4]
mov esi, dword [esi + 4]
test edi, edi
jne 0x40e285
mov esi, dword [ebp - 0x14]
mov eax, dword [ebx + 0x64]
mov ecx, ebx
mov dword [esi + 0x64], eax
mov eax, dword [ebx + 0x68]
mov dword [esi + 0x68], eax
call fcn.00407380
mov dword [esi + 0x88], eax
mov ecx, esi
mov eax, dword [esi]
push dword [ebx + 0x18]
call dword [eax + 0x14]
lea ecx, [ebx + 0x70]
call fcn.0040d1e0
push eax
lea ecx, [esi + 0x70]
call fcn.0040cf90
push 0
lea ecx, [esi + 0x78]
call fcn.0040cc10
push 0
lea ecx, [esi + 0x80]
call fcn.0040cc10
cmp byte [ebp - 0x10], 0
jne 0x40e358
push 1
lea ecx, [esi + 0x1c]
call fcn.00407100
mov edx, dword [esi + 0x1c]
lea eax, [ebx + 0x1c]
push 1
push eax
lea ecx, [esi + 0x1c]
call dword [edx + 4]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [esi + 0x70]
call fcn.0040d260
test al, al
je 0x40e3fc
lea ecx, [ebx + 0x70]
call fcn.0040d1e0
push eax
lea ecx, [esi + 0x70]
call fcn.0040d1e0
push eax
call fcn.0040bd90
add esp, 8
test al, al
je 0x40e44d
lea eax, [ebx + 0x1c]
push eax
lea ecx, [esi + 0x1c]
call fcn.0040d980
test al, al
jne 0x40e2ee
mov eax, dword [ebx + 0x34]
cmp eax, dword [esi + 0x34]
jne 0x40e44d
mov eax, dword [ebx + 0x3c]
cmp eax, dword [esi + 0x3c]
jne 0x40e44d
push 0x10
lea eax, [esi + 0x44]
push eax
lea eax, [ebx + 0x44]
push eax
call fcn.00406c50
add esp, 0xc
test al, al
je 0x40e44d
push 0x10
lea eax, [esi + 0x54]
push eax
lea eax, [ebx + 0x54]
push eax
call fcn.00406c50
add esp, 0xc
test al, al
jne 0x40e2ee
jmp 0x40e44d
mov eax, dword [ebx + 0x34]
cmp eax, dword [esi + 0x34]
jne 0x40e44d
mov eax, dword [ebx + 0x38]
cmp eax, dword [esi + 0x38]
jne 0x40e44d
mov eax, dword [ebx + 0x3c]
cmp eax, dword [esi + 0x3c]
jne 0x40e44d
push 0x10
lea eax, [esi + 0x44]
push eax
lea eax, [ebx + 0x44]
push eax
call fcn.00406c50
add esp, 0xc
test al, al
je 0x40e44d
push 0x10
lea eax, [esi + 0x54]
push eax
lea eax, [ebx + 0x54]
push eax
call fcn.00406c50
add esp, 0xc
test al, al
je 0x40e44d
jmp 0x40e2ee
mov esi, dword [ebp - 0x14]
jmp 0x40e450
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x40e267
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret