Function at 0x415c60
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 0x415c7b
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.00419d80
add esp, 0x14
test eax, eax
je 0x415ca0
or esi, 0xffffffff
jmp 0x415cca
lea eax, [esp + 0x10]
push eax
push dword [edi + 0x30]
push edi
call fcn.00416700
add esp, 0xc
test eax, eax
je 0x415cba
or esi, 0xffffffff
jmp 0x415cca
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.004169b0
or ebx, 0xffffffff
test eax, eax
lea eax, [esp + 0x3c]
push eax
push dword [edi + 0x30]
cmovne esi, ebx
push edi
call fcn.004169b0
test eax, eax
lea eax, [esp + 0x4c]
push eax
push dword [edi + 0x30]
cmovne esi, ebx
push edi
call fcn.004169b0
test eax, eax
lea eax, [esp + 0x5c]
push eax
push dword [edi + 0x30]
cmovne esi, ebx
push edi
call fcn.004169b0
test eax, eax
lea eax, [esp + 0x6c]
push eax
push dword [edi + 0x30]
cmovne esi, ebx
push edi
call fcn.00416700
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
shrd edi, edx, 9
shr eax, 5
and ecx, 0xf
dec ecx
shr edx, 9
mov dword [esp + 0xb8], ecx
mov eax, ebx
mov ecx, ebp
add edi, 0x7bc
shrd ecx, eax, 0xb
mov dword [esp + 0xbc], edi
shr eax, 0xb
and ecx, 0x1f
mov eax, ebp
mov dword [esp + 0xb0], ecx
shrd eax, ebx, 5
and ebp, 0x1f
and eax, 0x3f
shr ebx, 5
mov ebx, dword [esp + 0xc4]
add ebp, ebp
mov dword [esp + 0xac], eax
lea eax, [esp + 0x7c]
push eax
mov dword [esp + 0xac], ebp
push dword [ebx + 0x30]
push ebx
call fcn.00416700
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.00416700
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.00416700
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.004169b0
test eax, eax
lea eax, [esp + 0x7c]
push eax
push dword [ebx + 0x30]
cmovne esi, ebp
push ebx
call fcn.004169b0
test eax, eax
lea eax, [esp + 0x8c]
push eax
push dword [ebx + 0x30]
cmovne esi, ebp
push ebx
call fcn.004169b0
test eax, eax
lea eax, [esp + 0x9c]
push eax
push dword [ebx + 0x30]
cmovne esi, ebp
push ebx
call fcn.004169b0
add esp, 0x48
test eax, eax
lea eax, [esp + 0x64]
cmovne esi, ebp
push eax
push dword [ebx + 0x30]
push ebx
call fcn.004169b0
test eax, eax
lea eax, [esp + 0x74]
push eax
push dword [ebx + 0x30]
cmovne esi, ebp
push ebx
call fcn.00416700
test eax, eax
lea eax, [esp + 0x28]
push eax
push dword [ebx + 0x30]
cmovne esi, ebp
push ebx
call fcn.00416700
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 0x415fc2
mov ecx, dword [esp + 0x94]
test ecx, ecx
je 0x415f22
mov eax, dword [esp + 0x98]
cmp edi, eax
jae 0x415ee4
mov byte [edi + ecx], 0
mov ebp, edi
jmp 0x415ee6
mov ebp, eax
test edi, edi
je 0x415f14
test eax, eax
je 0x415f14
mov edi, dword [ebx + 4]
push ebp
push ecx
push dword [ebx + 0x30]
mov ecx, edi
push dword [ebx + 0x1c]
call dword [0x41e2f0]
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 0x415fc2
mov ecx, dword [esp + 0x9c]
test ecx, ecx
je 0x415fc2
mov ebp, dword [esp + 0x58]
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x14], ebp
cmp ebp, eax
jb 0x415f48
mov dword [esp + 0x14], eax
test edi, edi
je 0x415f7c
push 1
mov eax, edi
cdq
push edx
push eax
push dword [ebx + 0x30]
push ebx
call fcn.00419d80
mov ecx, dword [esp + 0xb0]
add esp, 0x14
test eax, eax
mov eax, dword [esp + 0xa0]
jne 0x415f79
xor edi, edi
mov dword [esp + 0x10], edi
jmp 0x415f7c
or esi, 0xffffffff
test ebp, ebp
je 0x415fb6
test eax, eax
je 0x415fb6
push dword [esp + 0x14]
mov edi, dword [ebx + 4]
push ecx
push dword [ebx + 0x30]
mov ecx, edi
push dword [ebx + 0x1c]
call dword [0x41e2f0]
call edi
mov ecx, dword [esp + 0x24]
add esp, 0x10
mov edi, dword [esp + 0x10]
cmp eax, ecx
je 0x415fba
mov eax, ebp
or esi, 0xffffffff
sub eax, ecx
add edi, eax
jmp 0x415fc8
mov ecx, dword [esp + 0x14]
mov eax, ebp
sub eax, ecx
add edi, eax
jmp 0x415fc8
mov ebp, dword [esp + 0x58]
add edi, ebp
test esi, esi
jne 0x416222
test ebp, ebp
je 0x416134
sub edi, ebp
mov dword [esp + 0x10], edi
je 0x416002
push 1
mov eax, edi
cdq
push edx
push eax
push dword [ebx + 0x30]
push ebx
call fcn.00419d80
add esp, 0x14
test eax, eax
jne 0x415fff
xor edi, edi
mov dword [esp + 0x10], edi
jmp 0x416002
or esi, 0xffffffff
test ebp, ebp
je 0x41612c
xor edi, edi
nop dword [eax]
lea eax, [esp + 0x1c]
push eax
push dword [ebx + 0x30]
push ebx
call fcn.004169b0
test eax, eax
mov eax, 0xffffffff
cmovne esi, eax
lea eax, [esp + 0x20]
push eax
push dword [ebx + 0x30]
push ebx
call fcn.004169b0
add esp, 0x18
test eax, eax
mov eax, 0xffffffff
cmovne esi, eax
cmp dword [esp + 0x1c], 1
jne 0x4160f9
cmp dword [esp + 0x4c], eax
jne 0x41607a
cmp dword [esp + 0x50], 0
jne 0x41607a
lea eax, [esp + 0x4c]
push eax
push dword [ebx + 0x30]
push ebx
call fcn.004167f0
mov ebp, dword [esp + 0x64]
add esp, 0xc
test eax, eax
mov eax, 0xffffffff
cmovne esi, eax
cmp dword [esp + 0x44], 0xffffffff
jne 0x4160a7
cmp dword [esp + 0x48], 0
jne 0x4160a7
lea eax, [esp + 0x44]
push eax
push dword [ebx + 0x30]
push ebx
call fcn.004167f0
mov ebp, dword [esp + 0x64]
add esp, 0xc
test eax, eax
mov eax, 0xffffffff
cmovne esi, eax
cmp dword [esp + 0x18], 0xffffffff
jne 0x4160d8
cmp dword [esp + 0x28], 0
jne 0x4160d8
lea eax, [esp + 0x24]
push eax
push dword [ebx + 0x30]
push ebx
call fcn.004167f0
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 0x416117
lea eax, [esp + 0x20]
push eax
push dword [ebx + 0x30]
push ebx
call fcn.00416700
add esp, 0xc
test eax, eax
je 0x416117
or esi, 0xffffffff
jmp 0x416117
push 1
push 0
push dword [esp + 0x1c]
push dword [ebx + 0x30]
push ebx
call fcn.00419d80
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 0x416010
mov edi, dword [esp + 0x10]
test esi, esi
jne 0x416222
mov ecx, dword [esp + 0xa4]
test ecx, ecx
je 0x4161c8
mov ebp, dword [esp + 0x5c]
mov eax, dword [esp + 0xa8]
cmp ebp, eax
jae 0x41615c
mov byte [ecx + ebp], 0
mov dword [esp + 0x14], ebp
jmp 0x416160
mov dword [esp + 0x14], eax
test edi, edi
je 0x41618f
push 1
mov eax, edi
cdq
push edx
push eax
push dword [ebx + 0x30]
push ebx
call fcn.00419d80
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 0x4161c4
test eax, eax
je 0x4161c4
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 [0x41e2f0]
call edi
add esp, 0x10
cmp eax, ebp
je 0x4161c4
pop ebp
pop ebx
or esi, 0xffffffff
pop edi
mov eax, esi
pop esi
add esp, 0x74
ret
test esi, esi
jne 0x416222
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x41620a
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 0x416222
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