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

Disassembly:
push 0xffffffffffffffff
push 0x429e7f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30c
push ebx
xor ebx, ebx
push ebp
push esi
push edi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
mov ebp, dword [esp + 0x32c]
mov dword [esp + 0x324], ebx
lea eax, [esp + 0x10]
mov dword [ebp + 0x290], ebx
push eax
mov ecx, 0x43f288
mov dword [esp + 0x28], ebx
mov dword [0x43e6e4], 0xffffffff
call dword [0x42b784]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x24]
push edx
mov edi, 0x42be70
mov byte [esp + 0x32c], 1
call fcn.00405870
add esp, 8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x328], 2
call dword [0x42b614]
lea ecx, [esp + 0x20]
mov byte [esp + 0x324], 1
call dword [0x42b63c]
lea edi, [ebp + 0x278]
mov ecx, 0x42eb74
lea esi, [esp + 0x3c]
mov dword [edi], ebx
mov dword [ebp + 0x27c], ebx
mov dword [ebp + 0x280], ebx
mov dword [ebp + 0x284], ebx
mov dword [ebp + 0x288], ebx
mov dword [ebp + 0x28c], ebx
call fcn.004095f0
cmp eax, 0xe0010020
jne 0x40ffea
cmp dword [ebp + 0x2b4], ebx
je 0x40ffb0
push ebx
lea esi, [ebp + 0x294]
push 0x40d
mov ecx, esi
call fcn.0042549a
mov ecx, eax
call fcn.00425740
push 5
push 0x40c
mov ecx, esi
call fcn.0042549a
mov ecx, eax
call fcn.00425740
push 0x105
push ebx
mov dword [0x43e6e4], 2
mov eax, dword [ebp + 0x20]
push ebx
push eax
call dword [0x42b8d4]
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x42eb98
call dword [0x42b1b8]
call fcn.0041e040
add esp, 4
jmp 0x410351
xor esi, esi
cmp dword [0x43eef0], ebx
jle 0x410247
mov dword [esp + 0x18], edi
mov edi, dword [0x42b7c8]
push 0x43eee4
push esi
lea ecx, [esp + 0x38]
push ecx
mov ecx, 0x43f288
call edi
mov byte [esp + 0x324], 3
mov eax, dword [eax]
push eax
call dword [esp + 0x50]
test eax, eax
lea ecx, [esp + 0x30]
setne byte [esp + 0x17]
mov byte [esp + 0x324], 1
call dword [0x42b63c]
cmp byte [esp + 0x17], bl
je 0x410059
mov edx, dword [esp + 0x18]
mov dword [esp + 0x24], 1
mov dword [edx], 1
jmp 0x410233
push 0x43f0c0
push esi
lea eax, [esp + 0x30]
push eax
mov ecx, 0x43f288
mov dword [esp + 0xf0], ebx
mov dword [esp + 0xf4], ebx
mov dword [esp + 0xf8], ebx
mov dword [esp + 0xfc], ebx
mov dword [esp + 0x100], ebx
mov dword [esp + 0x104], ebx
call edi
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x32c], 4
call fcn.004057f0
add esp, 8
lea ecx, [esp + 0xe4]
mov byte [esp + 0x324], 5
mov eax, dword [eax]
push ecx
push eax
call fcn.00425572
lea ecx, [esp + 0x34]
mov ebp, eax
mov byte [esp + 0x324], 4
call dword [0x42b63c]
cmp ebp, ebx
je 0x41021a
lea ecx, [esp + 0xa4]
call dword [0x42b76c]
push 0x42c534
lea ecx, [esp + 0x20]
mov byte [esp + 0x328], 6
call dword [0x42b1b8]
push 0x43f0a4
push esi
lea edx, [esp + 0x28]
push edx
mov ecx, 0x43f288
mov byte [esp + 0x330], 7
call edi
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0x32c], 8
call fcn.004057f0
add esp, 8
push eax
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0xac]
mov byte [esp + 0x32c], 9
call dword [0x42b764]
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x328], 0xa
call dword [0x42b614]
lea ecx, [esp + 0x38]
call dword [0x42b63c]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x324], 8
call dword [0x42b63c]
mov eax, dword [esp + 0x1c]
cmp dword [eax - 0xc], ebx
je 0x4101df
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0xa4], esp
push edx
call dword [0x42b1ac]
push ecx
lea eax, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0xa4], esp
push eax
mov byte [esp + 0x330], 0xb
call dword [0x42b1ac]
mov ecx, 0x43f288
mov byte [esp + 0x32c], 8
call dword [0x42b7b4]
cmp eax, ebx
jle 0x4101f1
mov ecx, dword [esp + 0x18]
mov dword [ecx], 1
mov dword [esp + 0x24], 1
lea ecx, [esp + 0x20]
call dword [0x42b63c]
lea ecx, [esp + 0x1c]
call dword [0x42b63c]
lea ecx, [esp + 0xa4]
mov byte [esp + 0x324], 4
call dword [0x42b768]
lea ecx, [esp + 0x28]
mov byte [esp + 0x324], 1
call dword [0x42b63c]
mov ebp, dword [esp + 0x32c]
add dword [esp + 0x18], 4
add esi, 1
cmp esi, dword [0x43eef0]
jl 0x410002
push ebp
call fcn.0040f410
neg eax
sbb eax, eax
add eax, 1
cmp dword [esp + 0x24], ebx
mov dword [ebp + 0x290], eax
jne 0x4102d9
cmp eax, ebx
jne 0x4102d9
cmp dword [ebp + 0x2b4], ebx
je 0x41029b
push 5
lea esi, [ebp + 0x294]
push 0x40d
mov ecx, esi
call fcn.0042549a
mov ecx, eax
call fcn.00425740
push ebx
push 0x40c
mov ecx, esi
call fcn.0042549a
mov ecx, eax
call fcn.00425740
push 0x105
push ebx
mov dword [0x43e6e4], 1
mov edx, dword [ebp + 0x20]
push ebx
push edx
call dword [0x42b8d4]
lea ecx, [esp + 0x10]
call dword [0x42b63c]
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x4102cf
push eax
call dword [0x42b100]
mov eax, 1
jmp 0x41036c
cmp dword [ebp + 0x2b4], ebx
je 0x41033a
push ebx
lea esi, [ebp + 0x294]
push 0x40d
mov ecx, esi
call fcn.0042549a
mov ecx, eax
call fcn.00425740
push 5
push 0x40c
mov ecx, esi
call fcn.0042549a
mov ecx, eax
call fcn.00425740
push 5
push 0x449
mov ecx, esi
call fcn.0042549a
mov ecx, eax
call fcn.00425740
push 5
push 0x44f
mov ecx, esi
call fcn.0042549a
mov ecx, eax
call fcn.00425740
push 0x105
push ebx
mov dword [0x43e6e4], ebx
mov eax, dword [ebp + 0x20]
push ebx
push eax
call dword [0x42b8d4]
lea ecx, [esp + 0x10]
call dword [0x42b63c]
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x41036a
push eax
call dword [0x42b100]
xor eax, eax
mov ecx, dword [esp + 0x31c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x318
ret 4