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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x442d28
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x466df4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
push 0x468d58
lea ecx, [ebp - 0x1c]
call fcn.00403750
cmp dword [0x468d6c], 0
mov dword [ebp - 4], 0
jne 0x40debe
push dword [0x465688]
mov ecx, 0x468d60
call fcn.0040da90
test al, al
jne 0x40debe
push dword [0x46568c]
mov ecx, 0x468d60
call fcn.0040da90
lea ecx, [ebp - 0x1c]
call fcn.004037d0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
call fcn.004037d0
mov ebx, dword [0x468d6c]
test ebx, ebx
jne 0x40df11
push dword [0x465688]
mov ecx, 0x468d60
call fcn.0040da90
test al, al
jne 0x40df0b
push dword [0x46568c]
mov ecx, 0x468d60
call fcn.0040da90
test al, al
je 0x40e11b
mov ebx, dword [0x468d6c]
mov eax, dword [esi + 0x14]
shr eax, 9
and eax, 0xffffff01
mov dword [ebp - 0x10], eax
test ebx, ebx
je 0x40e11b
test al, al
je 0x40e02c
mov edi, dword [esi + 0x28]
mov esi, dword [ebx + 0x28]
test edi, edi
je 0x40e105
test esi, esi
je 0x40e105
test esi, esi
je 0x40dfab
mov eax, dword [esi + 0x18]
cmp eax, dword [edi + 0x18]
jne 0x40e10a
mov eax, dword [esi + 0x1c]
cmp eax, dword [edi + 0x1c]
jne 0x40e10a
mov eax, dword [esi + 0x20]
cmp eax, dword [edi + 0x20]
jne 0x40e10a
push 0x10
lea eax, [edi + 0x28]
push eax
lea eax, [esi + 0x28]
push eax
call fcn.00406bb0
add esp, 0xc
test al, al
je 0x40e10a
push 0x10
lea eax, [edi + 0x38]
push eax
lea eax, [esi + 0x38]
push eax
call fcn.00406bb0
add esp, 0xc
test al, al
je 0x40e10a
mov edi, dword [edi + 4]
mov esi, dword [esi + 4]
test edi, edi
jne 0x40df45
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.00407200
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.0040cea0
push eax
lea ecx, [esi + 0x70]
call fcn.0040cc50
push 0
lea ecx, [esi + 0x78]
call fcn.0040c960
push 0
lea ecx, [esi + 0x80]
call fcn.0040c960
cmp byte [ebp - 0x10], 0
jne 0x40e018
push 1
lea ecx, [esi + 0x1c]
call fcn.00407040
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.0040cf20
test al, al
je 0x40e0bc
lea ecx, [ebx + 0x70]
call fcn.0040cea0
push eax
lea ecx, [esi + 0x70]
call fcn.0040cea0
push eax
call fcn.0040bc40
add esp, 8
test al, al
je 0x40e10d
lea eax, [ebx + 0x1c]
push eax
lea ecx, [esi + 0x1c]
call fcn.0040d640
test al, al
jne 0x40dfae
mov eax, dword [ebx + 0x34]
cmp eax, dword [esi + 0x34]
jne 0x40e10d
mov eax, dword [ebx + 0x3c]
cmp eax, dword [esi + 0x3c]
jne 0x40e10d
push 0x10
lea eax, [esi + 0x44]
push eax
lea eax, [ebx + 0x44]
push eax
call fcn.00406bb0
add esp, 0xc
test al, al
je 0x40e10d
push 0x10
lea eax, [esi + 0x54]
push eax
lea eax, [ebx + 0x54]
push eax
call fcn.00406bb0
add esp, 0xc
test al, al
jne 0x40dfae
jmp 0x40e10d
mov eax, dword [ebx + 0x34]
cmp eax, dword [esi + 0x34]
jne 0x40e10d
mov eax, dword [ebx + 0x38]
cmp eax, dword [esi + 0x38]
jne 0x40e10d
mov eax, dword [ebx + 0x3c]
cmp eax, dword [esi + 0x3c]
jne 0x40e10d
push 0x10
lea eax, [esi + 0x44]
push eax
lea eax, [ebx + 0x44]
push eax
call fcn.00406bb0
add esp, 0xc
test al, al
je 0x40e10d
push 0x10
lea eax, [esi + 0x54]
push eax
lea eax, [ebx + 0x54]
push eax
call fcn.00406bb0
add esp, 0xc
test al, al
je 0x40e10d
jmp 0x40dfae
mov esi, dword [ebp - 0x14]
jmp 0x40e110
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x40df27
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