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

Disassembly:
push 0xffffffffffffffff
push 0x449b1b
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x46974c]
xor eax, esp
mov dword [esp + 0x74], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46974c]
xor eax, esp
push eax
lea eax, [esp + 0x8c]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x30], esi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x24], ebx
push 0x40
lea eax, [esp + 0x3c]
push ebx
push eax
mov byte [esp + 0xa0], 4
xor ebp, ebp
call fcn.004327f0
mov ecx, dword [0x45231c]
mov edx, dword [0x452320]
mov eax, dword [0x452324]
mov dword [esp + 0x54], ecx
mov ecx, dword [0x452328]
mov dword [esp + 0x60], ecx
mov ecx, dword [0x452314]
mov dword [esp + 0x58], edx
mov edx, dword [0x45230c]
mov dword [esp + 0x6c], ecx
mov ecx, dword [0x452300]
add esp, 0xc
mov dword [esp + 0x58], edx
mov edx, dword [0x452318]
mov dword [esp + 0x50], eax
mov eax, dword [0x452310]
mov dword [esp + 0x6c], ecx
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x68], edx
mov edx, dword [0x452304]
mov dword [esp + 0x60], eax
mov eax, dword [0x4522fc]
push ebx
mov dword [esp + 0x78], edx
mov dword [esp + 0x70], eax
mov eax, dword [0x452308]
push 0x40
lea edx, [esp + 0x44]
push edx
mov ecx, esi
mov dword [esp + 0x48], 0x40
mov dword [esp + 0x84], eax
call fcn.004136b0
mov esi, eax
cmp esi, ebx
jl 0x413eae
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
lea edx, [esp + 0x2c]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
mov esi, eax
cmp esi, ebx
jl 0x413eae
cmp dword [esp + 0x2c], ebx
mov dword [esp + 0x20], ebx
jbe 0x413ea9
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x413dac
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x24]
push edx
push eax
mov eax, dword [ecx + 0x10]
call eax
mov esi, eax
cmp esi, ebx
jl 0x413eae
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x28]
push edx
push eax
mov eax, dword [ecx + 0x20]
call eax
mov esi, eax
cmp esi, ebx
jl 0x413eae
xor edi, edi
cmp dword [esp + 0x28], ebx
jbe 0x413e90
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x413e07
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push edi
push eax
mov eax, dword [ecx + 0x24]
call eax
mov esi, eax
cmp esi, ebx
jl 0x413eae
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
lea edx, [esp + 0x78]
push edx
push eax
mov eax, dword [ecx + 0x10]
call eax
mov esi, eax
cmp esi, ebx
jl 0x413eae
lea ecx, [esp + 0x78]
push 0x46b41c
push ecx
call fcn.00412c30
add esp, 8
test eax, eax
je 0x413e83
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
mov edx, dword [edx + 0x34]
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x7c]
push ecx
mov ebp, 1
push ebp
push eax
call edx
mov esi, eax
cmp esi, ebx
jl 0x413eae
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
push eax
add ecx, 4
call fcn.00412d00
add edi, 1
cmp edi, dword [esp + 0x28]
jb 0x413df3
mov eax, dword [esp + 0x20]
add eax, 1
cmp eax, dword [esp + 0x2c]
mov dword [esp + 0x20], eax
jb 0x413d98
cmp ebp, ebx
jne 0x413eae
mov esi, 0x80070490
mov eax, dword [esp + 0x24]
cmp eax, ebx
mov byte [esp + 0x94], 3
je 0x413ec6
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x18]
cmp eax, ebx
mov byte [esp + 0x94], 1
je 0x413ede
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x1c]
cmp eax, ebx
mov byte [esp + 0x94], bl
je 0x413ef5
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
cmp eax, ebx
mov dword [esp + 0x94], 0xffffffff
je 0x413f10
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, esi
mov ecx, dword [esp + 0x8c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.00432688
add esp, 0x84
ret