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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
mov eax, dword [0x4590c0]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push esi
push edi
sub esp, 0x10
mov edi, esp
lea esi, [ebp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, ecx
mov dword [esp + 0x34], ebx
movsd dword es:[edi], dword [esi]
call fcn.0041265f
mov eax, dword [ebx + 0x4b0]
lea esi, [ebx + 0x154]
lea edi, [ebp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add dword [ebp + 8], eax
mov eax, dword [ebx + 0x4b4]
add dword [ebp + 0xc], eax
mov eax, dword [ebx + 0x4b8]
sub dword [ebp + 0x10], eax
mov eax, dword [ebx + 0x4bc]
sub dword [ebp + 0x14], eax
xor edi, edi
cmp dword [ebx + 0x4a8], edi
jne 0x416fa8
mov eax, dword [ebx]
push edi
push edi
sub esp, 0x10
mov edi, esp
lea esi, [ebp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, ebx
movsd dword es:[edi], dword [esi]
call dword [eax + 0x1ac]
jmp 0x4173cb
mov ecx, dword [ebx + 0x4c8]
test ecx, ecx
je 0x416fcc
mov eax, dword [ecx]
call dword [eax + 0xc8]
test al, al
je 0x416fcc
mov ecx, dword [ebx + 0x4c8]
mov eax, dword [ecx]
call dword [eax + 0x58]
sub dword [ebp + 0x10], eax
mov ecx, dword [ebx + 0x4cc]
test ecx, ecx
je 0x416ff0
mov eax, dword [ecx]
call dword [eax + 0xc8]
test al, al
je 0x416ff0
mov ecx, dword [ebx + 0x4cc]
mov eax, dword [ecx]
call dword [eax + 0x60]
sub dword [ebp + 0x14], eax
mov esi, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
sub esi, dword [ebp + 8]
sub eax, dword [ebp + 0xc]
mov ecx, dword [ebx + 0x4cc]
mov dword [esp + 0x20], esi
mov dword [esp + 0x30], eax
test ecx, ecx
je 0x41702a
mov eax, dword [ecx]
call dword [eax + 0xc8]
test al, al
je 0x41702a
mov eax, dword [ebx + 0x4cc]
add esi, dword [eax + 0x4a4]
mov dword [esp + 0x20], esi
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], ecx
cmp dword [ebx + 0x4a8], eax
jle 0x417121
mov eax, dword [ebx + 0x4a4]
mov edi, dword [eax + ecx*4]
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0xc8]
test al, al
je 0x417104
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xf4]
test al, al
jne 0x417104
push dword [esp + 0x30]
mov eax, dword [edi]
push esi
lea ecx, [esp + 0x54]
push ecx
mov ecx, edi
call dword [eax + 0x114]
cmp dword [esp + 0x4c], 0
jne 0x417098
inc dword [esp + 0x1c]
jmp 0x4170c8
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x68]
cmp dword [esp + 0x4c], eax
jge 0x4170b0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x68]
mov dword [esp + 0x4c], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x70]
cmp dword [esp + 0x4c], eax
jle 0x4170c8
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x70]
mov dword [esp + 0x4c], eax
mov eax, dword [edi]
lea ecx, [esp + 0x3c]
push ecx
mov ecx, edi
call dword [eax + 0x48]
lea ecx, [esp + 0x54]
lea esi, [eax + 8]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x48]
mov eax, dword [eax]
add eax, dword [esi]
mov edi, dword [esp + 0x14]
add eax, dword [esp + 0x4c]
mov esi, dword [esp + 0x20]
add edi, eax
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
jmp 0x41710c
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
inc ecx
mov dword [esp + 0x18], ecx
cmp ecx, dword [ebx + 0x4a8]
jl 0x41704a
and dword [esp + 0x34], 0
and dword [esp + 0x18], 0
lea ecx, [eax - 1]
mov eax, dword [ebx + 0x4c0]
imul eax, ecx
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x1c]
add edi, eax
mov dword [esp + 0x14], edi
test ecx, ecx
jle 0x41715b
mov eax, esi
sub eax, edi
cdq
idiv ecx
xor ecx, ecx
test eax, eax
cmovs eax, ecx
mov dword [esp + 0x34], eax
mov ecx, dword [ebx + 0x4cc]
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], eax
test ecx, ecx
je 0x41718c
mov eax, dword [ecx]
call dword [eax + 0xc8]
test al, al
je 0x41718c
mov eax, dword [ebx + 0x4cc]
mov edx, dword [esp + 0x10]
sub edx, dword [eax + 0x4a8]
mov dword [esp + 0x10], edx
and dword [esp + 0x2c], 0
xor ecx, ecx
mov dword [esp + 0x28], ecx
cmp dword [ebx + 0x4a8], ecx
jle 0x4173a3
mov eax, dword [ebx + 0x4a4]
mov ebx, dword [eax + ecx*4]
mov ecx, ebx
mov eax, dword [ebx]
call dword [eax + 0xc8]
test al, al
je 0x41738a
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xf4]
test al, al
je 0x4171e3
mov ebx, dword [esp + 0x24]
push dword [esp + 0x28]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1a8]
jmp 0x41738e
mov eax, dword [ebx]
lea ecx, [esp + 0x54]
push ecx
mov ecx, ebx
call dword [eax + 0x48]
sub esi, dword [esp + 0x54]
push dword [esp + 0x30]
mov eax, dword [ebx]
push esi
lea ecx, [esp + 0x54]
push ecx
mov ecx, ebx
mov dword [esp + 0x2c], esi
call dword [eax + 0x114]
cmp dword [esp + 0x4c], 0
jne 0x41726d
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x34]
inc ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x4c], eax
cmp ecx, dword [esp + 0x1c]
jne 0x41723b
mov eax, esi
sub eax, dword [esp + 0x5c]
push 0
sub eax, edi
pop ecx
cmovs eax, ecx
mov dword [esp + 0x4c], eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x68]
cmp dword [esp + 0x4c], eax
jge 0x417253
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x68]
mov dword [esp + 0x4c], eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x70]
cmp dword [esp + 0x4c], eax
jle 0x4172a7
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x70]
mov dword [esp + 0x4c], eax
jmp 0x4172a7
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x68]
cmp dword [esp + 0x4c], eax
jge 0x417285
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x68]
mov dword [esp + 0x4c], eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x70]
mov ecx, dword [esp + 0x4c]
cmp ecx, eax
jle 0x4172a1
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x70]
mov ecx, eax
mov dword [esp + 0x4c], ecx
sub edi, ecx
mov dword [esp + 0x14], edi
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x60]
test eax, eax
jne 0x4172c0
mov eax, dword [ebp + 0x14]
sub eax, dword [esp + 0x60]
sub eax, dword [esp + 0x58]
sub eax, dword [ebp + 0xc]
xor ecx, ecx
test eax, eax
cmovs eax, ecx
mov dword [esp + 0x50], eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x78]
cmp dword [esp + 0x50], eax
jge 0x4172e3
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x78]
mov dword [esp + 0x50], eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x80]
cmp dword [esp + 0x50], eax
jle 0x417301
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x80]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x5c]
add eax, dword [esp + 0x4c]
mov esi, dword [esp + 0x58]
add eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x10]
add eax, dword [esp + 0x10]
add ecx, dword [esp + 0x54]
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x50]
add eax, esi
mov dword [esp + 0x3c], ecx
lea ecx, [esi + edi]
add eax, edi
mov dword [esp + 0x40], ecx
mov dword [esp + 0x48], eax
mov eax, dword [ebx]
sub esp, 0x10
mov edi, esp
lea esi, [esp + 0x4c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, ebx
movsd dword es:[edi], dword [esi]
call dword [eax + 0x34]
mov ebx, dword [esp + 0x24]
mov edx, dword [esp + 0x5c]
mov esi, dword [ebx + 0x4c0]
mov ecx, dword [esp + 0x4c]
mov edi, dword [esp + 0x14]
lea eax, [esi + edx]
add eax, ecx
add eax, dword [esp + 0x54]
add dword [esp + 0x10], eax
lea eax, [edx + ecx]
add eax, dword [esp + 0x54]
add dword [esp + 0x18], eax
lea eax, [esi + edx]
mov esi, dword [esp + 0x20]
add eax, ecx
sub esi, eax
jmp 0x41738e
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
inc ecx
mov dword [esp + 0x28], ecx
cmp ecx, dword [ebx + 0x4a8]
jl 0x4171a3
mov eax, dword [ebx + 0x4c0]
imul eax, dword [esp + 0x38]
add eax, dword [esp + 0x18]
mov edx, dword [ebx]
push 0
push eax
sub esp, 0x10
mov edi, esp
lea esi, [ebp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, ebx
movsd dword es:[edi], dword [esi]
call dword [edx + 0x1ac]
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00432b05
mov esp, ebp
pop ebp
ret 0x10