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

Disassembly:
sub esp, 0x74
push esi
push edi
mov edi, dword [esp + 0x80]
xor esi, esi
test edi, edi
jne 0x41619b
pop edi
lea eax, [esi - 0x66]
pop esi
add esp, 0x74
ret
mov ecx, dword [edi + 0x58]
add ecx, dword [edi + 0x48]
mov eax, dword [edi + 0x5c]
adc eax, dword [edi + 0x4c]
push 0
push eax
push ecx
push dword [edi + 0x30]
push edi
call fcn.0041a2e0
add esp, 0x14
test eax, eax
je 0x4161c0
or esi, 0xffffffff
jmp 0x4161ea
lea eax, [esp + 0x10]
push eax
push dword [edi + 0x30]
push edi
call fcn.00416c20
add esp, 0xc
test eax, eax
je 0x4161da
or esi, 0xffffffff
jmp 0x4161ea
cmp dword [esp + 0x10], 0x2014b50
mov eax, 0xffffff99
cmovne esi, eax
push ebx
push ebp
lea eax, [esp + 0x2c]
push eax
push dword [edi + 0x30]
push edi
call fcn.00416ed0
or ebx, 0xffffffff
test eax, eax
lea eax, [esp + 0x3c]
push eax
push dword [edi + 0x30]
cmovne esi, ebx
push edi
call fcn.00416ed0
test eax, eax
lea eax, [esp + 0x4c]
push eax
push dword [edi + 0x30]
cmovne esi, ebx
push edi
call fcn.00416ed0
test eax, eax
lea eax, [esp + 0x5c]
push eax
push dword [edi + 0x30]
cmovne esi, ebx
push edi
call fcn.00416ed0
test eax, eax
lea eax, [esp + 0x6c]
push eax
push dword [edi + 0x30]
cmovne esi, ebx
push edi
call fcn.00416c20
mov ebp, dword [esp + 0x78]
test eax, eax
mov edi, ebp
cmovne esi, ebx
xor ebx, ebx
mov edx, ebx
shrd edi, edx, 0x10
mov eax, edi
shr edx, 0x10
and eax, 0x1f
mov ecx, edi
mov dword [esp + 0xb4], eax
mov eax, edx
shrd ecx, eax, 5
mov eax, ebx
and ecx, 0xf
dec ecx
mov dword [esp + 0xb8], ecx
mov ecx, ebp
shrd ecx, eax, 0xb
mov eax, ebp
and ebp, 0x1f
shrd eax, ebx, 5
mov ebx, dword [esp + 0xc4]
and ecx, 0x1f
and eax, 0x3f
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xac], eax
add ebp, ebp
lea eax, [esp + 0x7c]
mov dword [esp + 0xa8], ebp
push eax
push dword [ebx + 0x30]
shrd edi, edx, 9
push ebx
add edi, 0x7bc
mov dword [esp + 0xc8], edi
call fcn.00416c20
add esp, 0x48
mov ebp, 0xffffffff
test eax, eax
lea eax, [esp + 0x10]
cmovne esi, ebp
push eax
push dword [ebx + 0x30]
push ebx
call fcn.00416c20
test eax, eax
mov dword [esp + 0x54], 0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x50], eax
cmovne esi, ebp
lea eax, [esp + 0x1c]
push eax
push dword [ebx + 0x30]
push ebx
call fcn.00416c20
test eax, eax
mov dword [esp + 0x68], 0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x64], eax
cmovne esi, ebp
lea eax, [esp + 0x6c]
push eax
push dword [ebx + 0x30]
push ebx
call fcn.00416ed0
test eax, eax
lea eax, [esp + 0x7c]
push eax
push dword [ebx + 0x30]
cmovne esi, ebp
push ebx
call fcn.00416ed0
test eax, eax
lea eax, [esp + 0x8c]
push eax
push dword [ebx + 0x30]
cmovne esi, ebp
push ebx
call fcn.00416ed0
test eax, eax
lea eax, [esp + 0x9c]
push eax
push dword [ebx + 0x30]
cmovne esi, ebp
push ebx
call fcn.00416ed0
add esp, 0x48
test eax, eax
lea eax, [esp + 0x64]
cmovne esi, ebp
push eax
push dword [ebx + 0x30]
push ebx
call fcn.00416ed0
test eax, eax
lea eax, [esp + 0x74]
push eax
push dword [ebx + 0x30]
cmovne esi, ebp
push ebx
call fcn.00416c20
test eax, eax
lea eax, [esp + 0x28]
push eax
push dword [ebx + 0x30]
cmovne esi, ebp
push ebx
call fcn.00416c20
mov edi, dword [esp + 0x78]
add esp, 0x24
test eax, eax
mov dword [esp + 0x28], 0
mov eax, dword [esp + 0x10]
cmovne esi, ebp
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x10], edi
test esi, esi
jne 0x4164d6
mov ecx, dword [esp + 0x94]
test ecx, ecx
je 0x416436
mov eax, dword [esp + 0x98]
cmp edi, eax
jae 0x4163f8
mov byte [edi + ecx], 0
mov ebp, edi
jmp 0x4163fa
mov ebp, eax
test edi, edi
je 0x416428
test eax, eax
je 0x416428
mov edi, dword [ebx + 4]
push ebp
push ecx
push dword [ebx + 0x30]
mov ecx, edi
push dword [ebx + 0x1c]
call dword [0x41e358]
call edi
mov edi, dword [esp + 0x20]
add esp, 0x10
cmp eax, ebp
mov eax, 0xffffffff
cmovne esi, eax
sub edi, ebp
mov dword [esp + 0x10], edi
test esi, esi
jne 0x4164d6
mov ecx, dword [esp + 0x9c]
test ecx, ecx
je 0x4164d6
mov ebp, dword [esp + 0x58]
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x14], ebp
cmp ebp, eax
jb 0x41645c
mov dword [esp + 0x14], eax
test edi, edi
je 0x416490
push 1
mov eax, edi
cdq
push edx
push eax
push dword [ebx + 0x30]
push ebx
call fcn.0041a2e0
mov ecx, dword [esp + 0xb0]
add esp, 0x14
test eax, eax
mov eax, dword [esp + 0xa0]
jne 0x41648d
xor edi, edi
mov dword [esp + 0x10], edi
jmp 0x416490
or esi, 0xffffffff
test ebp, ebp
je 0x4164ca
test eax, eax
je 0x4164ca
push dword [esp + 0x14]
mov edi, dword [ebx + 4]
push ecx
push dword [ebx + 0x30]
mov ecx, edi
push dword [ebx + 0x1c]
call dword [0x41e358]
call edi
mov ecx, dword [esp + 0x24]
add esp, 0x10
mov edi, dword [esp + 0x10]
cmp eax, ecx
je 0x4164ce
mov eax, ebp
or esi, 0xffffffff
sub eax, ecx
add edi, eax
jmp 0x4164dc
mov ecx, dword [esp + 0x14]
mov eax, ebp
sub eax, ecx
add edi, eax
jmp 0x4164dc
mov ebp, dword [esp + 0x58]
add edi, ebp
test esi, esi
jne 0x416732
test ebp, ebp
je 0x416644
sub edi, ebp
mov dword [esp + 0x10], edi
je 0x416516
push 1
mov eax, edi
cdq
push edx
push eax
push dword [ebx + 0x30]
push ebx
call fcn.0041a2e0
add esp, 0x14
test eax, eax
jne 0x416513
xor edi, edi
mov dword [esp + 0x10], edi
jmp 0x416516
or esi, 0xffffffff
test ebp, ebp
je 0x41663c
xor edi, edi
lea eax, [esp + 0x1c]
push eax
push dword [ebx + 0x30]
push ebx
call fcn.00416ed0
test eax, eax
mov eax, 0xffffffff
cmovne esi, eax
lea eax, [esp + 0x20]
push eax
push dword [ebx + 0x30]
push ebx
call fcn.00416ed0
add esp, 0x18
test eax, eax
mov eax, 0xffffffff
cmovne esi, eax
cmp dword [esp + 0x1c], 1
jne 0x416609
cmp dword [esp + 0x4c], eax
jne 0x41658a
cmp dword [esp + 0x50], 0
jne 0x41658a
lea eax, [esp + 0x4c]
push eax
push dword [ebx + 0x30]
push ebx
call fcn.00416d10
mov ebp, dword [esp + 0x64]
add esp, 0xc
test eax, eax
mov eax, 0xffffffff
cmovne esi, eax
cmp dword [esp + 0x44], 0xffffffff
jne 0x4165b7
cmp dword [esp + 0x48], 0
jne 0x4165b7
lea eax, [esp + 0x44]
push eax
push dword [ebx + 0x30]
push ebx
call fcn.00416d10
mov ebp, dword [esp + 0x64]
add esp, 0xc
test eax, eax
mov eax, 0xffffffff
cmovne esi, eax
cmp dword [esp + 0x18], 0xffffffff
jne 0x4165e8
cmp dword [esp + 0x28], 0
jne 0x4165e8
lea eax, [esp + 0x24]
push eax
push dword [ebx + 0x30]
push ebx
call fcn.00416d10
add esp, 0xc
test eax, eax
mov eax, 0xffffffff
cmovne esi, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x18], eax
cmp dword [esp + 0x60], 0xffffffff
jne 0x416627
lea eax, [esp + 0x20]
push eax
push dword [ebx + 0x30]
push ebx
call fcn.00416c20
add esp, 0xc
test eax, eax
je 0x416627
or esi, 0xffffffff
jmp 0x416627
push 1
push 0
push dword [esp + 0x1c]
push dword [ebx + 0x30]
push ebx
call fcn.0041a2e0
add esp, 0x14
test eax, eax
mov eax, 0xffffffff
cmovne esi, eax
mov eax, dword [esp + 0x14]
add eax, 4
add edi, eax
cmp edi, ebp
jb 0x416520
mov edi, dword [esp + 0x10]
test esi, esi
jne 0x416732
mov ecx, dword [esp + 0xa4]
test ecx, ecx
je 0x4166d8
mov ebp, dword [esp + 0x5c]
mov eax, dword [esp + 0xa8]
cmp ebp, eax
jae 0x41666c
mov byte [ecx + ebp], 0
mov dword [esp + 0x14], ebp
jmp 0x416670
mov dword [esp + 0x14], eax
test edi, edi
je 0x41669f
push 1
mov eax, edi
cdq
push edx
push eax
push dword [ebx + 0x30]
push ebx
call fcn.0041a2e0
mov ecx, dword [esp + 0xb8]
add esp, 0x14
test eax, eax
mov eax, 0xffffffff
cmovne esi, eax
mov eax, dword [esp + 0xa8]
test ebp, ebp
je 0x4166d4
test eax, eax
je 0x4166d4
mov ebp, dword [esp + 0x14]
mov edi, dword [ebx + 4]
push ebp
push ecx
push dword [ebx + 0x30]
mov ecx, edi
push dword [ebx + 0x1c]
call dword [0x41e358]
call edi
add esp, 0x10
cmp eax, ebp
je 0x4166d4
pop ebp
pop ebx
or esi, 0xffffffff
pop edi
mov eax, esi
pop esi
add esp, 0x74
ret
test esi, esi
jne 0x416732
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x41671a
movups xmm0, xmmword [esp + 0x2c]
movups xmmword [eax], xmm0
movups xmm0, xmmword [esp + 0x3c]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [esp + 0x4c]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [esp + 0x5c]
movups xmmword [eax + 0x30], xmm0
movups xmm0, xmmword [esp + 0x6c]
movups xmmword [eax + 0x40], xmm0
movq xmm0, qword [esp + 0x7c]
movq qword [eax + 0x50], xmm0
mov ecx, dword [esp + 0x90]
test ecx, ecx
je 0x416732
mov eax, dword [esp + 0x18]
mov dword [ecx], eax
mov eax, dword [esp + 0x28]
mov dword [ecx + 4], eax
pop ebp
pop ebx
pop edi
mov eax, esi
pop esi
add esp, 0x74
ret