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

Disassembly:
push 0xffffffffffffffff
push 0x41bf78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
mov eax, dword [0x421140]
mov edx, dword [ecx + 8]
mov dword [esp + 0x5c], eax
mov eax, dword [ecx + 4]
push edi
xor edi, edi
cmp eax, edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], edi
mov dword [esp + 4], eax
je 0x410118
push ebx
push ebp
push esi
jmp 0x40fef0
mov eax, dword [esp + 0x10]
jmp 0x40fef0
mov esi, dword [eax]
mov ebp, dword [esp + 0x80]
lea eax, [esi + 0x14]
push edi
push eax
push ebp
call fcn.004107f0
mov ebx, eax
add esp, 0xc
cmp ebx, 0xffffffff
mov dword [esp + 0x30], ebx
je 0x4100fb
mov dword [esp + 0x68], 0xf
mov dword [esp + 0x64], edi
mov byte [esp + 0x54], 0
mov ecx, dword [esi + 0x28]
mov eax, dword [ebp + 0x14]
add ecx, ebx
sub eax, ecx
push eax
inc ecx
push ecx
lea eax, [esp + 0x3c]
push eax
mov ecx, ebp
mov dword [esp + 0x84], edi
call fcn.00402da0
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x84], 1
call fcn.00402080
cmp dword [esp + 0x4c], 0x10
jb 0x40ff70
mov ecx, dword [esp + 0x38]
push ecx
call fcn.00412c8d
add esp, 4
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], edi
mov byte [esp + 0x38], 0
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov ebp, dword [esp + 0x14]
push 1
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x5c]
push ecx
mov ecx, dword [ebp + 0x14]
mov byte [esp + 0x88], 2
call fcn.00404fc0
push esi
mov ecx, ebp
call fcn.0040fb20
mov ecx, dword [esp + 0x28]
mov ebp, eax
mov eax, dword [esp + 0x24]
cmp eax, ecx
mov dword [esp + 0x10], eax
je 0x410033
lea esp, [esp]
mov edx, dword [esp + 0x10]
mov eax, dword [esi]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [edx]
mov edx, dword [eax]
push ecx
push edx
push ebp
call fcn.004107f0
mov edi, eax
add esp, 0xc
cmp edi, 0xffffffff
je 0x410008
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x14]
push 0xffffffffffffffff
push 0
push ebx
push eax
push edi
mov ecx, ebp
call fcn.004023c0
add edi, dword [ebx + 0x14]
mov eax, dword [esi]
mov ebx, dword [esi + 0x4c]
mov ecx, dword [esp + 0x28]
add eax, 4
mov dword [esi], eax
mov eax, dword [esp + 0x10]
add eax, 4
inc ebx
cmp eax, ecx
mov dword [esi + 0x4c], ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], eax
jne 0x40ffd0
mov ebx, dword [esp + 0x30]
xor edi, edi
mov eax, dword [esi + 0xc]
cmp dword [esi], eax
je 0x41005b
cmp dword [esi + 0x2c], 0x10
jb 0x410045
mov eax, dword [esi + 0x18]
jmp 0x410048
lea eax, [esi + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x10]
push eax
push 0x25
push edx
call fcn.0040de20
add esp, 0xc
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x80]
push 0xffffffffffffffff
mov dword [esi], eax
push edi
mov dword [esi + 0x4c], edi
mov eax, dword [esp + 0x20]
push ebp
sub eax, ebx
push eax
push ebx
call fcn.004023c0
cmp ebp, edi
je 0x4100a8
cmp dword [ebp + 0x18], 0x10
jb 0x410091
mov eax, dword [ebp + 4]
push eax
call fcn.00412c8d
add esp, 4
mov dword [ebp + 0x18], 0xf
mov dword [ebp + 0x14], edi
push ebp
mov byte [ebp + 4], 0
call fcn.00412c8d
add esp, 4
mov eax, dword [esp + 0x24]
cmp eax, edi
mov ecx, dword [esp + 0x14]
mov esi, dword [ecx + 4]
je 0x4100c0
push eax
call fcn.00412c8d
add esp, 4
cmp dword [esp + 0x68], 0x10
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x78], 0xffffffff
jb 0x4100e8
mov edx, dword [esp + 0x54]
push edx
call fcn.00412c8d
add esp, 4
mov dword [esp + 0x68], 0xf
mov dword [esp + 0x64], edi
mov byte [esp + 0x54], 0
jmp 0x4100ff
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 8]
add esi, 4
cmp esi, ecx
mov dword [esp + 0x10], esi
jne 0x40fee7
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x60]
pop edi
call fcn.00412dca
add esp, 0x6c
ret 4