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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0xc]
push ebx
push esi
push edi
push eax
mov esi, ecx
mov ecx, dword [ebp + 8]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov edx, dword [ebp + 0x14]
mov dword [eax + 8], ecx
mov ecx, esi
mov dword [eax + 0xc], edx
call fcn.004204f0
mov eax, dword [esi + 0x158]
mov edx, dword [esi + 0x160]
mov ecx, dword [esi + 0x15c]
mov dword [ebp + 8], eax
mov eax, dword [esi + 0x164]
mov dword [ebp + 0x10], edx
mov edx, dword [esi]
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x14], eax
mov eax, dword [edx + 0x180]
mov ecx, esi
call eax
mov edx, dword [esi]
mov edx, dword [edx + 0x178]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x68]
push eax
mov ecx, esi
call edx
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
add dword [ebp + 8], eax
add dword [ebp + 0xc], ecx
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x74]
mov ecx, dword [esi + 0x6c0]
sub dword [ebp + 0x10], edx
sub dword [ebp + 0x14], eax
xor edi, edi
cmp byte [ecx + 0x6c4], 0
je 0x4116a1
mov ecx, dword [esi + 0x584]
cmp ecx, edi
jne 0x4116bf
mov ecx, dword [esi + 0x584]
cmp ecx, edi
je 0x4116cc
mov edx, dword [ecx]
mov eax, dword [edx + 0x100]
call eax
test al, al
je 0x4116cc
mov ecx, dword [esi + 0x584]
mov edx, dword [ecx]
mov eax, dword [edx + 0x88]
call eax
sub dword [ebp + 0x10], eax
mov ecx, dword [esi + 0x588]
cmp ecx, edi
je 0x4116f7
mov edx, dword [ecx]
mov eax, dword [edx + 0x100]
call eax
test al, al
je 0x4116f7
mov ecx, dword [esi + 0x588]
mov edx, dword [ecx]
mov eax, dword [edx + 0x90]
call eax
sub dword [ebp + 0x14], eax
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
sub ebx, dword [ebp + 8]
sub eax, dword [ebp + 0xc]
mov ecx, dword [esi + 0x588]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], eax
cmp ecx, edi
je 0x411733
mov edx, dword [ecx]
mov eax, dword [edx + 0x100]
call eax
test al, al
je 0x411733
mov ecx, dword [esi + 0x588]
add ebx, dword [ecx + 0x558]
mov dword [esp + 0x40], ebx
cmp dword [esi + 0x558], edi
mov dword [esp + 0xc], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], edi
jle 0x4118ad
mov edx, dword [esi + 0x554]
mov eax, dword [esp + 0x14]
mov edi, dword [edx + eax*4]
mov edx, dword [edi]
mov eax, dword [edx + 0x100]
mov ecx, edi
call eax
test al, al
je 0x411896
mov edx, dword [edi]
mov eax, dword [edx + 0x12c]
mov ecx, edi
call eax
test al, al
jne 0x411896
mov eax, dword [esp + 0x44]
mov edx, dword [edi]
mov edx, dword [edx + 0x14c]
push eax
push ebx
lea ecx, [esp + 0x40]
push ecx
mov ecx, edi
call edx
cmp dword [esp + 0x3c], 0
jne 0x4117ac
inc dword [esp + 0x18]
jmp 0x4117f0
mov eax, dword [edi]
mov edx, dword [eax + 0xa8]
mov ecx, edi
call edx
cmp dword [esp + 0x3c], eax
jge 0x4117ce
mov eax, dword [edi]
mov edx, dword [eax + 0xa8]
mov ecx, edi
call edx
mov dword [esp + 0x3c], eax
mov eax, dword [edi]
mov edx, dword [eax + 0xb0]
mov ecx, edi
call edx
cmp dword [esp + 0x3c], eax
jle 0x4117f0
mov eax, dword [edi]
mov edx, dword [eax + 0xb0]
mov ecx, edi
call edx
mov dword [esp + 0x3c], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x74]
lea ecx, [esp + 0x78]
push ecx
mov ecx, edi
call edx
lea ebx, [eax + 0xc]
mov eax, dword [edi]
mov edx, dword [eax + 0x74]
lea ecx, [esp + 0x58]
push ecx
mov ecx, edi
call edx
mov eax, dword [eax + 4]
add eax, dword [esp + 0x3c]
mov edx, dword [edi]
add eax, dword [ebx]
mov edx, dword [edx + 0x74]
add dword [esp + 0x10], eax
lea eax, [esp + 0x48]
push eax
mov ecx, edi
call edx
mov eax, dword [esp + 0x38]
xor ecx, ecx
test eax, eax
setle cl
dec ecx
and ecx, eax
mov dword [esp + 0x38], ecx
mov edx, dword [edi]
mov eax, dword [edx + 0x98]
mov ecx, edi
call eax
cmp dword [esp + 0x38], eax
jge 0x41185e
mov edx, dword [edi]
mov eax, dword [edx + 0x98]
mov ecx, edi
call eax
mov dword [esp + 0x38], eax
mov edx, dword [edi]
mov eax, dword [edx + 0xa0]
mov ecx, edi
call eax
mov ecx, dword [esp + 0x38]
cmp ecx, eax
jle 0x411884
mov edx, dword [edi]
mov eax, dword [edx + 0xa0]
mov ecx, edi
call eax
mov ecx, eax
mov dword [esp + 0x38], ecx
cmp dword [esp + 0xc], ecx
jg 0x41188e
mov dword [esp + 0xc], ecx
inc dword [esp + 0x1c]
mov ebx, dword [esp + 0x40]
mov eax, dword [esp + 0x14]
inc eax
cmp eax, dword [esi + 0x558]
mov dword [esp + 0x14], eax
jl 0x411753
xor edi, edi
mov eax, dword [esp + 0x1c]
dec eax
imul eax, dword [esp + 0x30]
add dword [esp + 0x10], eax
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x6c0]
cmp eax, edi
je 0x4119c2
mov edx, dword [eax + 0x6c0]
lea ecx, [eax + 0x6c0]
mov eax, dword [edx + 0x1c]
call eax
mov edi, eax
test edi, edi
je 0x4119c0
mov edx, dword [edi + 0x550]
mov eax, dword [edx + 0xc]
lea ecx, [edi + 0x550]
call eax
test eax, eax
jle 0x4119c0
mov ecx, dword [ebp + 0x14]
sub ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp + 8]
mov edx, dword [edi]
mov edx, dword [edx + 0x14c]
push ecx
push eax
lea eax, [esp + 0x50]
push eax
mov ecx, edi
call edx
cmp dword [eax], 0
jge 0x41192f
mov dword [esp + 0xc], 0
jmp 0x411954
mov ecx, dword [ebp + 0x14]
sub ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp + 8]
mov edx, dword [edi]
mov edx, dword [edx + 0x14c]
push ecx
push eax
lea eax, [esp + 0x40]
push eax
mov ecx, edi
call edx
mov eax, dword [eax]
mov dword [esp + 0xc], eax
mov ecx, dword [esi + 0x588]
test ecx, ecx
je 0x4119c0
mov edx, dword [ecx]
mov eax, dword [edx + 0x100]
call eax
test al, al
je 0x4119c0
mov ecx, dword [esi + 0x588]
mov edx, dword [edi]
mov ebx, dword [ecx + 0x560]
mov eax, dword [edx + 0x58]
mov ecx, edi
call eax
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x58], ecx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x5c], edx
mov edx, dword [ebp + 8]
push 1
mov dword [esp + 0x64], ecx
sub edx, ebx
mov ebx, dword [edi]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x70]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x74]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov eax, dword [ebx + 0x5c]
mov ecx, edi
call eax
xor edi, edi
mov ecx, dword [esp + 0x18]
cmp ecx, edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x2c], edi
jle 0x4119eb
mov eax, dword [esp + 0x44]
sub eax, dword [esp + 0x10]
cdq
idiv ecx
xor ecx, ecx
cmp eax, edi
setl cl
dec ecx
and ecx, eax
mov dword [esp + 0x2c], ecx
mov ecx, dword [esi + 0x584]
mov edx, dword [esp + 0x44]
mov ebx, dword [ebp + 0xc]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x24], ebx
test ecx, ecx
je 0x411a22
mov eax, dword [ecx]
mov edx, dword [eax + 0x100]
call edx
test al, al
je 0x411a22
mov eax, dword [esi + 0x584]
sub ebx, dword [eax + 0x560]
mov dword [esp + 0x24], ebx
mov ecx, dword [esi + 0x588]
mov edi, dword [ebp + 8]
mov dword [esp + 0x20], edi
test ecx, ecx
je 0x411a51
mov edx, dword [ecx]
mov eax, dword [edx + 0x100]
call eax
test al, al
je 0x411a51
mov ecx, dword [esi + 0x588]
sub edi, dword [ecx + 0x560]
mov dword [esp + 0x20], edi
mov edx, dword [esp + 0x10]
xor eax, eax
cmp dword [esi + 0x558], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], eax
jle 0x411cbb
mov eax, dword [esi + 0x554]
mov ecx, dword [esp + 0x10]
mov edi, dword [eax + ecx*4]
mov edx, dword [edi]
mov eax, dword [edx + 0x100]
mov ecx, edi
call eax
test al, al
je 0x411ca6
mov edx, dword [edi]
mov eax, dword [edx + 0x12c]
mov ecx, edi
call eax
test al, al
je 0x411ab6
mov edx, dword [esi]
mov eax, dword [esp + 0x10]
mov edx, dword [edx + 0x204]
push eax
mov ecx, esi
call edx
jmp 0x411ca6
mov eax, dword [edi]
mov edx, dword [eax + 0x74]
lea ecx, [esp + 0x58]
push ecx
mov ecx, edi
call edx
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x5c]
mov edx, dword [edi]
mov edx, dword [edx + 0x14c]
push eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x44]
push eax
lea eax, [esp + 0x40]
push eax
mov ecx, edi
call edx
cmp dword [esp + 0x3c], 0
jne 0x411b66
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
inc eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x3c], ecx
cmp eax, dword [esp + 0x18]
jne 0x411b20
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x64]
mov edx, 0
sub eax, dword [esp + 0x1c]
sets dl
dec edx
and edx, eax
mov dword [esp + 0x3c], edx
mov eax, dword [edi]
mov edx, dword [eax + 0xa8]
mov ecx, edi
call edx
cmp dword [esp + 0x3c], eax
jge 0x411b42
mov eax, dword [edi]
mov edx, dword [eax + 0xa8]
mov ecx, edi
call edx
mov dword [esp + 0x3c], eax
mov eax, dword [edi]
mov edx, dword [eax + 0xb0]
mov ecx, edi
call edx
cmp dword [esp + 0x3c], eax
jle 0x411bb2
mov eax, dword [edi]
mov edx, dword [eax + 0xb0]
mov ecx, edi
call edx
mov dword [esp + 0x3c], eax
jmp 0x411bb2
mov eax, dword [edi]
mov edx, dword [eax + 0xa8]
mov ecx, edi
call edx
cmp dword [esp + 0x3c], eax
jge 0x411b88
mov eax, dword [edi]
mov edx, dword [eax + 0xa8]
mov ecx, edi
call edx
mov dword [esp + 0x3c], eax
mov eax, dword [edi]
mov edx, dword [eax + 0xb0]
mov ecx, edi
call edx
mov ecx, dword [esp + 0x3c]
cmp ecx, eax
jle 0x411bae
mov eax, dword [edi]
mov edx, dword [eax + 0xb0]
mov ecx, edi
call edx
mov ecx, eax
mov dword [esp + 0x3c], ecx
sub dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x40]
sub eax, dword [esp + 0x60]
mov ecx, dword [esp + 0xc]
sub eax, dword [esp + 0x58]
mov dword [esp + 0x38], ecx
cmp ecx, eax
jg 0x411bce
mov dword [esp + 0x38], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x98]
mov ecx, edi
call edx
cmp dword [esp + 0x38], eax
jge 0x411bf0
mov eax, dword [edi]
mov edx, dword [eax + 0x98]
mov ecx, edi
call edx
mov dword [esp + 0x38], eax
mov eax, dword [edi]
mov edx, dword [eax + 0xa0]
mov ecx, edi
call edx
cmp dword [esp + 0x38], eax
jle 0x411c12
mov eax, dword [edi]
mov edx, dword [eax + 0xa0]
mov ecx, edi
call edx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x20]
lea edx, [eax + ecx]
mov ecx, dword [esp + 0x5c]
add ecx, ebx
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x38]
add eax, ecx
add eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x3c]
add eax, ecx
add eax, dword [esp + 0x5c]
push 1
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x90]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x94]
add eax, ebx
mov ebx, dword [edi]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov eax, dword [ebx + 0x5c]
mov ecx, edi
call eax
mov eax, dword [esp + 0x64]
mov edi, dword [esi + 0x570]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x24]
add edi, eax
add edi, ecx
add edi, edx
add ebx, edi
lea edi, [eax + ecx]
add eax, ecx
add eax, dword [esp + 0x30]
add edi, edx
add dword [esp + 0x14], edi
sub dword [esp + 0x4c], eax
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0x10]
inc eax
cmp eax, dword [esi + 0x558]
mov dword [esp + 0x10], eax
jl 0x411a6f
mov ecx, dword [esp + 0x34]
add dword [esp + 0x14], ecx
mov ecx, dword [esi + 0x588]
test ecx, ecx
je 0x411d8b
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp + 8]
mov edi, dword [esp + 0xc]
mov edx, dword [ecx]
cmp edi, eax
mov eax, dword [edx + 0x100]
jle 0x411d46
call eax
mov ecx, dword [esi + 0x588]
test al, al
je 0x411d05
mov eax, edi
sub eax, dword [ebp + 0x10]
add eax, dword [ebp + 8]
call fcn.00445140
jmp 0x411d8b
mov edx, dword [ecx]
mov eax, dword [edx + 0x104]
push 1
call eax
mov ecx, dword [esi + 0x588]
mov eax, edi
sub eax, dword [ebp + 0x10]
add eax, dword [ebp + 8]
call fcn.00445140
mov ecx, dword [esi + 0x588]
xor eax, eax
call fcn.004451f0
mov ecx, dword [esi + 0x588]
mov edx, dword [ecx]
mov eax, dword [edx + 0x90]
call eax
sub dword [ebp + 0x14], eax
jmp 0x411d8b
call eax
test al, al
je 0x411d8b
mov ecx, dword [esi + 0x588]
mov edx, dword [ecx]
mov eax, dword [edx + 0x104]
push 0
call eax
mov ecx, dword [esi + 0x588]
xor eax, eax
call fcn.00445140
mov ecx, dword [esi + 0x588]
xor eax, eax
call fcn.004451f0
mov ecx, dword [esi + 0x588]
mov edx, dword [ecx]
mov eax, dword [edx + 0x90]
call eax
add dword [ebp + 0x14], eax
mov eax, dword [esi + 0x6c0]
mov edx, dword [eax + 0x6c0]
lea ecx, [eax + 0x6c0]
mov eax, dword [edx]
call eax
test eax, eax
jne 0x411dfa
mov eax, dword [esi + 0x558]
mov dword [esp + 0x34], eax
test eax, eax
jle 0x411dfa
mov ecx, dword [esi + 0x554]
mov edi, dword [ecx]
mov edx, dword [edi]
mov eax, dword [edx + 0x88]
mov ecx, edi
call eax
mov ecx, eax
test ecx, ecx
jle 0x411dfa
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp + 8]
cdq
idiv ecx
mov ebx, eax
test ebx, ebx
jle 0x411dfa
mov edx, dword [edi]
mov eax, dword [edx + 0x90]
mov ecx, edi
call eax
mov ecx, eax
mov eax, dword [esp + 0x34]
dec eax
cdq
idiv ebx
inc eax
imul ecx, eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov edx, dword [esi]
mov edx, dword [edx + 0x208]
push eax
push ecx
mov ecx, dword [ebp + 8]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp + 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax + 8], ecx
mov ecx, dword [ebp + 0x14]
mov dword [eax + 0xc], ecx
mov ecx, esi
call edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14