Function at 0x1005ba70
Capabilities:
Terminate process

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x38
mov eax, dword [0x10258d1c]
xor eax, esp
mov dword [esp + 0x34], eax
mov edi, dword [0x10258f60]
mov esi, dword [edi + 0x19e4]
mov eax, dword [esi + 0x1c0]
test eax, eax
jle 0x1005bd96
mov ebx, dword [edi + 0x1a7c]
mov ebp, dword [edi + 0x1998]
mov ecx, dword [esi + 0x1c8]
mov eax, dword [ecx + eax*4 - 4]
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x2c]
call fcn.1005bda0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], eax
mov eax, dword [0x10258f60]
mov dword [esp + 8], eax
test eax, eax
je 0x1005bd96
mov dword [esp + 4], ebp
mov eax, dword [esp + 0x4c]
lea ecx, [edi + 0xe0]
movss xmm0, dword [edi + 0xe4]
movss xmm1, dword [0x101a7990]
ucomiss xmm0, xmm1
movss xmm0, dword [edi + 0xe0]
lea edx, [esp + 0x24]
cmovb ecx, edx
ucomiss xmm0, xmm1
cmovb ecx, edx
mov edx, dword [ecx]
mov ebp, dword [ecx + 4]
mov ecx, dword [edi + 0x1a70]
cmp ecx, ebx
mov dword [esp + 0xc], ebp
jle 0x1005bb60
mov dword [esp], esi
mov esi, dword [edi + 0x1a78]
lea ebp, [ebx + ebx*8]
cmp dword [esi + ebp*4], eax
jne 0x1005bb7e
mov ecx, dword [edi + 0x1998]
dec ecx
cmp dword [esi + ebp*4 + 0xc], ecx
jne 0x1005bb7e
lea eax, [esi + ebp*4]
add eax, 0xc
mov ecx, dword [esp + 4]
mov dword [eax], ecx
jmp 0x1005bd83
cmp ecx, dword [edi + 0x1a74]
jne 0x1005bba7
mov ebx, edx
lea ebp, [ecx + 1]
test ecx, ecx
je 0x1005bbae
mov edx, ecx
shr edx, 0x1f
add edx, ecx
sar edx, 1
add edx, ecx
jmp 0x1005bbb3
lea eax, [ebx + 1]
mov ecx, dword [edi + 0x1a74]
cmp ecx, ebx
jg 0x1005bd3b
test ecx, ecx
je 0x1005bc9c
mov ebx, ecx
shr ebx, 0x1f
add ebx, ecx
sar ebx, 1
add ebx, ecx
jmp 0x1005bca1
mov ebx, edx
jmp 0x1005bc49
mov edx, 8
cmp edx, ebp
cmovg ebp, edx
cmp ecx, ebp
jge 0x1005bc49
mov dword [esp], esi
lea ecx, [ebp*4]
lea ecx, [ecx + ecx*8]
mov eax, dword [esp + 8]
inc dword [eax + 0x36c]
push dword [0x10258f68]
push ecx
call dword [0x101fc77c]
add esp, 8
mov esi, eax
mov eax, dword [edi + 0x1a78]
test eax, eax
je 0x1005bc34
mov ecx, dword [edi + 0x1a70]
shl ecx, 2
lea ecx, [ecx + ecx*8]
push ecx
push eax
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [edi + 0x1a78]
test eax, eax
je 0x1005bc24
mov ecx, dword [0x10258f60]
test ecx, ecx
je 0x1005bc24
dec dword [ecx + 0x36c]
push dword [0x10258f68]
push eax
call dword [0x101fc780]
add esp, 8
mov dword [edi + 0x1a78], esi
mov dword [edi + 0x1a74], ebp
mov ecx, dword [edi + 0x1a70]
mov esi, dword [esp]
lea eax, [ecx + ecx*8]
mov ecx, dword [edi + 0x1a78]
mov edx, dword [esp + 0x4c]
mov dword [ecx + eax*4], edx
mov dword [ecx + eax*4 + 4], 0
mov dword [ecx + eax*4 + 8], esi
mov edx, dword [esp + 4]
mov dword [ecx + eax*4 + 0xc], edx
mov edx, dword [esp + 0x18]
mov dword [ecx + eax*4 + 0x10], edx
mov edx, dword [esp + 0x10]
mov dword [ecx + eax*4 + 0x18], edx
mov edx, dword [esp + 0x14]
mov dword [ecx + eax*4 + 0x14], edx
mov edx, dword [esp + 0xc]
mov dword [ecx + eax*4 + 0x20], edx
mov dword [ecx + eax*4 + 0x1c], ebx
inc dword [edi + 0x1a70]
jmp 0x1005bd83
mov ebx, 8
cmp ebx, eax
cmovle ebx, eax
cmp ecx, ebx
jge 0x1005bd3b
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
lea ecx, [ebx*4]
lea ecx, [ecx + ecx*8]
mov eax, dword [esp + 8]
inc dword [eax + 0x36c]
push dword [0x10258f68]
push ecx
call dword [0x101fc77c]
add esp, 8
mov esi, eax
mov eax, dword [edi + 0x1a78]
test eax, eax
je 0x1005bd27
mov ecx, dword [edi + 0x1a70]
shl ecx, 2
lea ecx, [ecx + ecx*8]
push ecx
push eax
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [edi + 0x1a78]
test eax, eax
je 0x1005bd17
mov ecx, dword [0x10258f60]
test ecx, ecx
je 0x1005bd17
dec dword [ecx + 0x36c]
push dword [0x10258f68]
push eax
call dword [0x101fc780]
add esp, 8
mov dword [edi + 0x1a78], esi
mov dword [edi + 0x1a74], ebx
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov dword [edi + 0x1a70], eax
mov eax, dword [esp + 0x4c]
mov dword [esi + ebp*4], eax
mov dword [esi + ebp*4 + 4], 0
mov eax, dword [esp]
mov dword [esi + ebp*4 + 8], eax
mov eax, dword [esp + 4]
mov dword [esi + ebp*4 + 0xc], eax
mov eax, dword [esp + 0x18]
mov dword [esi + ebp*4 + 0x10], eax
mov eax, dword [esp + 0x10]
mov dword [esi + ebp*4 + 0x18], eax
mov eax, dword [esp + 0x14]
mov dword [esi + ebp*4 + 0x14], eax
mov eax, dword [esp + 0xc]
mov dword [esi + ebp*4 + 0x20], eax
mov dword [esi + ebp*4 + 0x1c], edx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.10155ad1
add esp, 0x38
pop esi
pop edi
pop ebx
pop ebp
ret
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3