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

Disassembly:
sub esp, 0x128
mov edx, dword [esp + 0x138]
push ebx
push ebp
mov ebp, ecx
mov ecx, dword [esp + 0x13c]
mov ebx, dword [edx]
mov edx, 0xc
push esi
mov esi, dword [esp + 0x138]
mov ecx, dword [ecx]
mov dword [esp + 0x10], ebp
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x60], ebx
push edi
test ecx, ecx
je 0x1005ef5f
mov eax, dword [ecx + 0xc]
jmp 0x1005ef61
mov eax, esi
movups xmm0, xmmword [eax + 0x58]
add ecx, edx
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x140]
movups xmmword [esp + 0x68], xmm0
test ebx, ebx
je 0x1005ef80
mov eax, dword [ebx + 0xc]
jmp 0x1005ef82
mov eax, ecx
movups xmm0, xmmword [eax + 0x58]
mov eax, dword [ecx + 0x58]
mov ebx, dword [esi + 0x58]
sub eax, ebx
mov edi, dword [esi + 0x5c]
mov esi, dword [esi + 0x60]
mov dword [esp + 0xb8], eax
mov eax, dword [ecx + 0x5c]
sub eax, edi
mov dword [esp + 0xc4], 0xffffffff
mov dword [esp + 0xbc], eax
mov eax, dword [ecx + 0x60]
mov ecx, dword [esp + 0x50]
sub eax, esi
mov dword [esp + 0xc0], eax
test ecx, ecx
mov eax, dword [esp + 0x64]
cmovne eax, ecx
mov dword [esp + 0x9c], 0xffffffff
movups xmmword [esp + 0x54], xmm0
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx + 0x58]
sub eax, ebx
mov dword [esp + 0x90], eax
mov eax, dword [ecx + 0x5c]
sub eax, edi
mov dword [esp + 0x94], eax
mov eax, dword [ecx + 0x60]
lea ecx, [esp + 0x90]
sub eax, esi
mov dword [esp + 0x98], eax
lea eax, [esp + 0xb8]
push eax
lea eax, [esp + 0xa4]
push eax
call fcn.1005ea80
push dword [esp + 0xb4]
mov eax, esi
push dword [esp + 0xb4]
cdq
push edx
push eax
call fcn.10065d40
push dword [esp + 0xac]
mov esi, eax
mov dword [esp + 0x14], edx
push dword [esp + 0xac]
mov eax, edi
cdq
push edx
push eax
call fcn.10065d40
push dword [esp + 0xa4]
mov edi, dword [esp + 0x14]
add esi, eax
push dword [esp + 0xa4]
adc edi, edx
mov eax, ebx
cdq
push edx
push eax
call fcn.10065d40
add esi, eax
lea ecx, [esp + 0xb8]
lea eax, [esp + 0xa0]
mov dword [esp + 0x24], esi
push eax
lea eax, [esp + 0x7c]
adc edi, edx
push eax
mov dword [esp + 0x18], edi
call fcn.1005eb00
push dword [esp + 0x7c]
mov eax, dword [esp + 0x6c]
push dword [esp + 0x7c]
mov dword [esp + 0x4c], eax
cdq
push edx
push eax
call fcn.10065d40
mov ebx, eax
push dword [esp + 0x84]
mov eax, dword [esp + 0x70]
mov esi, edx
push dword [esp + 0x84]
mov dword [esp + 0x50], eax
cdq
push edx
push eax
call fcn.10065d40
push dword [esp + 0x8c]
add ebx, eax
mov eax, dword [esp + 0x74]
push dword [esp + 0x8c]
adc esi, edx
mov dword [esp + 0x3c], eax
cdq
push edx
push eax
call fcn.10065d40
mov ecx, dword [esp + 0x50]
add ebx, eax
mov dword [esp + 0x4c], ebx
adc esi, edx
mov dword [esp + 0x1c], esi
test ecx, ecx
je 0x1005f279
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x14c]
cmp dword [eax], edx
je 0x1005f279
mov ebx, ecx
mov eax, dword [ebx + 8]
mov ebx, dword [eax + 4]
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx + 0x5c]
cdq
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 0x60]
mov dword [esp + 0x44], edx
cdq
mov dword [esp + 0x48], eax
mov eax, dword [ecx + 0x58]
mov dword [esp + 0x34], edx
cdq
mov ecx, eax
mov eax, edx
push eax
push ecx
push dword [esp + 0xac]
mov dword [esp + 0x44], ecx
push dword [esp + 0xac]
mov dword [esp + 0x38], eax
call fcn.10065d40
push dword [esp + 0x34]
mov edi, eax
mov esi, edx
push dword [esp + 0x4c]
push dword [esp + 0xbc]
push dword [esp + 0xbc]
call fcn.10065d40
push dword [esp + 0x44]
add edi, eax
push dword [esp + 0x1c]
adc esi, edx
push dword [esp + 0xb4]
push dword [esp + 0xb4]
call fcn.10065d40
add edi, eax
adc esi, edx
cmp esi, dword [esp + 0x10]
jl 0x1005f261
jg 0x1005f1c0
cmp edi, dword [esp + 0x24]
jb 0x1005f261
mov eax, dword [ebx + 0x14]
cmp eax, dword [ebp + 0x64]
je 0x1005f261
push dword [esp + 0x28]
push dword [esp + 0x3c]
push dword [esp + 0x84]
push dword [esp + 0x84]
call fcn.10065d40
push dword [esp + 0x34]
mov esi, eax
mov edi, edx
push dword [esp + 0x4c]
push dword [esp + 0x94]
push dword [esp + 0x94]
call fcn.10065d40
push dword [esp + 0x44]
add esi, eax
push dword [esp + 0x1c]
adc edi, edx
push dword [esp + 0x8c]
push dword [esp + 0x8c]
call fcn.10065d40
add esi, eax
adc edi, edx
cmp edi, dword [esp + 0x1c]
jl 0x1005f261
jg 0x1005f237
cmp esi, dword [esp + 0x4c]
jbe 0x1005f261
mov eax, dword [esp + 0x144]
mov dword [esp + 0x4c], esi
mov dword [esp + 0x1c], edi
mov dword [eax], ebx
mov eax, dword [ebx + 0xc]
movups xmm0, xmmword [eax + 0x58]
movups xmmword [esp + 0x68], xmm0
cmp eax, dword [esp + 0x14c]
jne 0x1005f122
mov eax, dword [esp + 0x70]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x44], eax
push dword [esp + 0x7c]
mov edi, dword [esp + 0x58]
mov eax, edi
push dword [esp + 0x7c]
cdq
push edx
push eax
mov dword [esp + 0x4c], edi
call fcn.10065d40
push dword [esp + 0x84]
mov ebp, dword [esp + 0x5c]
mov esi, eax
push dword [esp + 0x84]
mov ebx, edx
mov dword [esp + 0x38], ebp
mov eax, ebp
cdq
push edx
push eax
call fcn.10065d40
push dword [esp + 0x8c]
add esi, eax
mov eax, dword [esp + 0x60]
push dword [esp + 0x8c]
adc ebx, edx
mov dword [esp + 0x20], eax
cdq
push edx
push eax
call fcn.10065d40
add esi, eax
mov eax, dword [esp + 0x148]
adc ebx, edx
mov ecx, dword [eax]
test ecx, ecx
je 0x1005f464
mov eax, dword [esp + 0x150]
cmp dword [ecx + 0xc], eax
je 0x1005f464
nop
mov eax, dword [ecx + 8]
mov ebp, dword [eax]
mov dword [esp + 0x20], ebp
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 0x5c]
cdq
mov dword [esp + 0x28], eax
mov eax, dword [ecx + 0x60]
mov dword [esp + 0x38], edx
cdq
mov dword [esp + 0x30], eax
mov eax, dword [ecx + 0x58]
mov dword [esp + 0x3c], edx
cdq
mov ecx, eax
mov eax, edx
push eax
push ecx
push dword [esp + 0xac]
mov dword [esp + 0x38], ecx
push dword [esp + 0xac]
mov dword [esp + 0x50], eax
call fcn.10065d40
push dword [esp + 0x3c]
mov dword [esp + 0x1c], eax
mov edi, edx
push dword [esp + 0x34]
push dword [esp + 0xbc]
push dword [esp + 0xbc]
call fcn.10065d40
push dword [esp + 0x38]
add dword [esp + 0x1c], eax
push dword [esp + 0x2c]
adc edi, edx
push dword [esp + 0xb4]
push dword [esp + 0xb4]
call fcn.10065d40
mov ecx, dword [esp + 0x18]
add ecx, eax
adc edi, edx
cmp edi, dword [esp + 0x10]
jl 0x1005f44a
jg 0x1005f3a9
cmp ecx, dword [esp + 0x24]
jb 0x1005f44a
mov ecx, dword [esp + 0x14]
mov eax, dword [ebp + 0x14]
cmp eax, dword [ecx + 0x64]
je 0x1005f44a
push dword [esp + 0x40]
push dword [esp + 0x30]
push dword [esp + 0x84]
push dword [esp + 0x84]
call fcn.10065d40
push dword [esp + 0x3c]
mov edi, eax
mov ebp, edx
push dword [esp + 0x34]
push dword [esp + 0x94]
push dword [esp + 0x94]
call fcn.10065d40
push dword [esp + 0x38]
add edi, eax
push dword [esp + 0x2c]
adc ebp, edx
push dword [esp + 0x8c]
push dword [esp + 0x8c]
call fcn.10065d40
add edi, eax
adc ebp, edx
cmp ebp, ebx
jl 0x1005f44a
jg 0x1005f420
cmp edi, esi
jbe 0x1005f44a
mov eax, dword [esp + 0x148]
mov esi, edi
mov ecx, dword [esp + 0x20]
mov ebx, ebp
mov dword [eax], ecx
mov eax, dword [ecx + 0xc]
movups xmm0, xmmword [eax + 0x58]
movups xmmword [esp + 0x54], xmm0
cmp eax, dword [esp + 0x150]
jne 0x1005f300
mov ecx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x58]
mov edi, dword [esp + 0x54]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x3c], edi
jmp 0x1005f468
mov ecx, dword [esp + 0x5c]
sub esi, dword [esp + 0x4c]
sbb ebx, dword [esp + 0x1c]
mov dword [esp + 0x10], ebx
js 0x1005f896
jg 0x1005f484
test esi, esi
je 0x1005f896
mov dword [esp + 0x9c], 0xffffffff
nop
sub ecx, dword [esp + 0x34]
mov eax, edi
sub eax, dword [esp + 0x44]
mov dword [esp + 0x90], eax
mov eax, ebp
sub eax, dword [esp + 0x48]
mov dword [esp + 0x94], eax
lea eax, [esp + 0xb8]
mov dword [esp + 0x98], ecx
lea ecx, [esp + 0x90]
push eax
call fcn.1005ec00
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x144]
mov dword [esp + 0x28], edx
mov eax, dword [eax]
test eax, eax
je 0x1005f5d9
mov ecx, dword [esp + 0x14c]
mov edx, dword [esp + 0x14]
cmp dword [eax + 0xc], ecx
je 0x1005f5dd
mov ecx, dword [eax]
mov ecx, dword [ecx + 8]
mov dword [esp + 0x1c], ecx
mov eax, dword [ecx + 0x14]
cmp eax, dword [edx + 0x64]
jle 0x1005f5dd
mov eax, dword [ecx + 0xc]
lea ecx, [esp + 0xc8]
mov dword [esp + 0x24], eax
mov dword [esp + 0xd4], 0xffffffff
mov ebp, dword [eax + 0x58]
mov ebx, dword [eax + 0x5c]
mov edi, dword [eax + 0x60]
lea eax, [esp + 0x78]
sub ebp, dword [esp + 0x44]
sub ebx, dword [esp + 0x48]
sub edi, dword [esp + 0x34]
push eax
mov dword [esp + 0xcc], ebp
mov dword [esp + 0xd0], ebx
mov dword [esp + 0xd4], edi
call fcn.1005ec30
mov dword [esp + 0x20], eax
lea ecx, [esp + 0xd8]
lea eax, [esp + 0xb8]
mov dword [esp + 0x2c], edx
push eax
mov dword [esp + 0xdc], ebp
mov dword [esp + 0xe0], ebx
mov dword [esp + 0xe4], edi
mov dword [esp + 0xe8], 0xffffffff
call fcn.1005ec00
mov ebp, dword [esp + 0x20]
mov ebx, eax
mov edi, dword [esp + 0x2c]
mov ecx, ebp
or ecx, edi
mov dword [esp + 0x64], ebx
mov eax, edx
mov dword [esp + 0x40], eax
jne 0x1005f71a
test eax, eax
jg 0x1005f5c3
jl 0x1005f5bc
test ebx, ebx
jae 0x1005f5c3
mov eax, 1
jmp 0x1005f5c5
xor eax, eax
test eax, eax
jne 0x1005f76c
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x58]
mov edi, dword [esp + 0x54]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x148]
mov eax, dword [eax]
test eax, eax
je 0x1005f80f
mov ecx, dword [esp + 0x150]
cmp dword [eax + 0xc], ecx
je 0x1005f80f
mov eax, dword [eax + 8]
mov ecx, dword [eax]
mov dword [esp + 0x64], ecx
mov eax, dword [ecx + 0x14]
cmp eax, dword [edx + 0x64]
jle 0x1005f80f
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x74], 0xffffffff
mov eax, dword [ecx + 0x58]
mov dword [esp + 0x20], eax
sub eax, edi
mov edi, dword [ecx + 0x5c]
mov dword [esp + 0x68], eax
mov eax, edi
sub eax, ebp
mov ebp, dword [ecx + 0x60]
mov dword [esp + 0x6c], eax
lea ecx, [esp + 0x68]
mov eax, ebp
sub eax, dword [esp + 0x5c]
mov dword [esp + 0x70], eax
lea eax, [esp + 0xa0]
push eax
call fcn.1005ec30
or eax, edx
jne 0x1005f80f
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x6c]
call fcn.1005ec30
mov dword [esp + 0x2c], eax
lea ecx, [esp + 0x68]
lea eax, [esp + 0xb8]
mov dword [esp + 0x40], edx
push eax
call fcn.1005ec00
sub edi, dword [esp + 0x48]
lea ecx, [esp + 0xf8]
sub ebp, dword [esp + 0x34]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x44]
mov dword [esp + 0xf8], eax
lea eax, [esp + 0x78]
push eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x100], edi
mov dword [esp + 0x104], ebp
mov dword [esp + 0x108], 0xffffffff
call fcn.1005ec30
mov ecx, edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x20], ecx
test ecx, ecx
jl 0x1005f80f
jg 0x1005f6e8
test eax, eax
je 0x1005f80f
mov ebp, dword [esp + 0x2c]
mov eax, ebp
mov edi, dword [esp + 0x40]
or eax, edi
jne 0x1005f81c
cmp dword [esp + 0x24], eax
jg 0x1005f809
jl 0x1005f710
cmp dword [esp + 0x1c], eax
jae 0x1005f809
mov eax, 1
jmp 0x1005f80b
test edi, edi
jg 0x1005f5cd
jl 0x1005f72c
test ebp, ebp
jae 0x1005f5cd
mov ebx, dword [esp + 0x10]
lea ecx, [esp + 0x108]
push ebx
push esi
push dword [esp + 0x30]
push dword [esp + 0x44]
call fcn.1005cff0
push eax
push edi
push ebp
push dword [esp + 0x4c]
lea ecx, [esp + 0x130]
push dword [esp + 0x74]
call fcn.1005cff0
mov ecx, eax
call fcn.1005d610
test eax, eax
js 0x1005f5d1
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x54]
mov ebp, dword [esp + 0x58]
mov dword [esp + 0xf4], 0xffffffff
movups xmm1, xmmword [eax + 0x58]
mov eax, edi
movd ecx, xmm1
movaps xmm0, xmm1
psrldq xmm0, 4
psrldq xmm1, 8
sub eax, ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0xe8], eax
mov eax, ebp
movd ecx, xmm0
sub eax, ecx
mov dword [esp + 0x48], ecx
movd ecx, xmm1
mov dword [esp + 0xec], eax
mov eax, dword [esp + 0x5c]
sub eax, ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0xf0], eax
lea ecx, [esp + 0xe8]
lea eax, [esp + 0x78]
push eax
call fcn.1005ec30
mov ecx, dword [esp + 0x144]
mov esi, eax
mov eax, dword [esp + 0x50]
mov ebx, edx
xor edx, edx
mov dword [esp + 0x10], ebx
cmp dword [ecx], eax
mov eax, dword [esp + 0x1c]
cmove eax, edx
mov dword [ecx], eax
mov ecx, dword [esp + 0x5c]
jmp 0x1005f490
xor eax, eax
test eax, eax
jne 0x1005f862
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x128
ret 0x18
test edi, edi
jg 0x1005f80f
jl 0x1005f826
test ebp, ebp
jae 0x1005f80f
push ebx
push esi
push dword [esp + 0x30]
lea ecx, [esp + 0x12c]
push dword [esp + 0x44]
call fcn.1005cff0
push eax
push edi
push ebp
push dword [esp + 0x30]
lea ecx, [esp + 0x118]
push dword [esp + 0x2c]
call fcn.1005cff0
mov ecx, eax
call fcn.1005d610
test eax, eax
jle 0x1005f80f
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x64]
mov ebx, ecx
mov edx, dword [esp + 0x148]
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x10], ebx
mov dword [edx], eax
mov eax, dword [eax + 0xc]
movups xmm0, xmmword [eax + 0x58]
movups xmmword [esp + 0x54], xmm0
mov ecx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x58]
mov edi, dword [esp + 0x54]
jmp 0x1005f490
test ebx, ebx
jg 0x1005f80f
jl 0x1005f8a8
test esi, esi
jae 0x1005f80f
mov dword [esp + 0x104], 0xffffffff
sub ecx, dword [esp + 0x70]
mov eax, edi
sub eax, dword [esp + 0x68]
mov dword [esp + 0xf8], eax
mov eax, ebp
sub eax, dword [esp + 0x6c]
mov dword [esp + 0xfc], eax
lea eax, [esp + 0xb8]
mov dword [esp + 0x100], ecx
lea ecx, [esp + 0xf8]
push eax
call fcn.1005ec00
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x148]
mov dword [esp + 0x28], edx
mov eax, dword [eax]
test eax, eax
je 0x1005f9fb
mov ecx, dword [esp + 0x150]
mov edx, dword [esp + 0x14]
cmp dword [eax + 0xc], ecx
je 0x1005f9ff
mov ecx, dword [eax + 4]
mov ecx, dword [ecx + 8]
mov dword [esp + 0x1c], ecx
mov eax, dword [ecx + 0x14]
cmp eax, dword [edx + 0x64]
jle 0x1005f9ff
mov eax, dword [ecx + 0xc]
lea ecx, [esp + 0xe8]
mov dword [esp + 0x50], eax
mov dword [esp + 0xf4], 0xffffffff
mov ebp, dword [eax + 0x58]
mov ebx, dword [eax + 0x5c]
sub ebp, edi
mov edi, dword [eax + 0x60]
lea eax, [esp + 0x78]
sub ebx, dword [esp + 0x30]
sub edi, dword [esp + 0x18]
push eax
mov dword [esp + 0xec], ebp
mov dword [esp + 0xf0], ebx
mov dword [esp + 0xf4], edi
call fcn.1005ec30
mov dword [esp + 0x20], eax
lea ecx, [esp + 0xd8]
lea eax, [esp + 0xb8]
mov dword [esp + 0x2c], edx
push eax
mov dword [esp + 0xdc], ebp
mov dword [esp + 0xe0], ebx
mov dword [esp + 0xe4], edi
mov dword [esp + 0xe8], 0xffffffff
call fcn.1005ec00
mov ebp, dword [esp + 0x20]
mov ebx, eax
mov edi, dword [esp + 0x2c]
mov ecx, ebp
or ecx, edi
mov dword [esp + 0x24], ebx
mov eax, edx
mov dword [esp + 0x40], eax
jne 0x1005fb49
test eax, eax
jl 0x1005f9e5
jg 0x1005f9de
test ebx, ebx
je 0x1005f9e5
mov eax, 1
jmp 0x1005f9e7
xor eax, eax
test eax, eax
jne 0x1005fb9b
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x30]
mov edi, dword [esp + 0x3c]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x144]
mov eax, dword [eax]
test eax, eax
je 0x1005f80f
mov ecx, dword [esp + 0x14c]
cmp dword [eax + 0xc], ecx
je 0x1005f80f
mov eax, dword [eax + 8]
mov ecx, dword [eax + 4]
mov dword [esp + 0x34], ecx
mov eax, dword [ecx + 0x14]
cmp eax, dword [edx + 0x64]
jle 0x1005f80f
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x60], 0xffffffff
mov eax, dword [ecx + 0x58]
mov dword [esp + 0x20], eax
sub eax, dword [esp + 0x68]
mov dword [esp + 0x54], eax
mov eax, dword [ecx + 0x5c]
mov dword [esp + 0x2c], eax
sub eax, dword [esp + 0x6c]
mov dword [esp + 0x58], eax
mov eax, dword [ecx + 0x60]
lea ecx, [esp + 0x54]
mov dword [esp + 0x40], eax
sub eax, dword [esp + 0x70]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0xa0]
push eax
call fcn.1005ec30
or eax, edx
jne 0x1005f80f
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x58]
call fcn.1005ec30
mov dword [esp + 0x50], eax
lea ecx, [esp + 0x54]
lea eax, [esp + 0xb8]
mov dword [esp + 0x24], edx
push eax
call fcn.1005ec00
mov ecx, edi
mov dword [esp + 0x4c], eax
sub ecx, dword [esp + 0x20]
lea eax, [esp + 0x78]
mov dword [esp + 0x90], ecx
mov ecx, ebp
sub ecx, dword [esp + 0x2c]
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0x18]
sub ecx, dword [esp + 0x40]
mov dword [esp + 0x98], ecx
lea ecx, [esp + 0x90]
push eax
mov dword [esp + 0x20], edx
mov dword [esp + 0xa0], 0xffffffff
call fcn.1005ec30
mov ecx, edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], ecx
test ecx, ecx
jg 0x1005f80f
jl 0x1005fb17
test eax, eax
jae 0x1005f80f
mov ecx, dword [esp + 0x50]
mov eax, ecx
mov edx, dword [esp + 0x24]
or eax, edx
jne 0x1005fc3e
cmp dword [esp + 0x1c], eax
jl 0x1005fc32
jg 0x1005fb3f
cmp dword [esp + 0x4c], eax
jbe 0x1005fc32
mov eax, 1
jmp 0x1005fc34
test edi, edi
jg 0x1005f9ef
jl 0x1005fb5b
test ebp, ebp
jae 0x1005f9ef
mov ebx, dword [esp + 0x10]
lea ecx, [esp + 0x120]
push ebx
push esi
push dword [esp + 0x30]
push dword [esp + 0x44]
call fcn.1005cff0
push eax
push edi
push ebp
push dword [esp + 0x4c]
lea ecx, [esp + 0x118]
push dword [esp + 0x34]
call fcn.1005cff0
mov ecx, eax
call fcn.1005d610
test eax, eax
jg 0x1005f9f3
mov eax, dword [esp + 0x50]
lea ecx, [esp + 0xc8]
mov dword [esp + 0xd4], 0xffffffff
movups xmm1, xmmword [eax + 0x58]
movd edi, xmm1
movaps xmm0, xmm1
psrldq xmm0, 4
movd ebp, xmm0
mov eax, edi
psrldq xmm1, 8
sub eax, dword [esp + 0x68]
mov dword [esp + 0xc8], eax
mov eax, ebp
sub eax, dword [esp + 0x6c]
mov dword [esp + 0xcc], eax
movd eax, xmm1
mov dword [esp + 0x3c], edi
mov dword [esp + 0x30], ebp
mov dword [esp + 0x18], eax
sub eax, dword [esp + 0x70]
mov dword [esp + 0xd0], eax
lea eax, [esp + 0x78]
push eax
call fcn.1005ec30
mov ecx, dword [esp + 0x148]
mov esi, eax
mov eax, dword [esp + 0x64]
mov ebx, edx
xor edx, edx
mov dword [esp + 0x10], ebx
cmp dword [ecx], eax
mov eax, dword [esp + 0x1c]
cmove eax, edx
mov dword [ecx], eax
mov ecx, dword [esp + 0x18]
jmp 0x1005f8b3
xor eax, eax
test eax, eax
je 0x1005f80f
jmp 0x1005fc92
test edx, edx
jg 0x1005f80f
jl 0x1005fc50
test ecx, ecx
jae 0x1005f80f
push ebx
push esi
push dword [esp + 0x30]
lea ecx, [esp + 0x12c]
push dword [esp + 0x44]
call fcn.1005cff0
push eax
push dword [esp + 0x28]
lea ecx, [esp + 0x110]
push dword [esp + 0x58]
push dword [esp + 0x28]
push dword [esp + 0x5c]
call fcn.1005cff0
mov ecx, eax
call fcn.1005d610
test eax, eax
jns 0x1005f80f
mov ecx, dword [esp + 0x144]
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0x20]
mov dword [ecx], eax
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x10], ebx
movups xmm0, xmmword [eax + 0x58]
movups xmmword [esp + 0x68], xmm0
jmp 0x1005f8b3