Function at 0x1006a190
Capabilities:
Terminate process

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x34
mov edx, dword [esp + 0x48]
mov eax, dword [edx + 0x58]
test eax, eax
js 0x1006a441
mov esi, dword [edx + 0x14]
test esi, esi
je 0x1006a441
cmp dword [edx + 0x40], eax
jle 0x1006a441
mov edi, dword [edx + 0x48]
lea ecx, [eax + eax*8]
lea ebx, [ecx + ecx*2]
add ebx, eax
cmp dword [edi + ebx], 0x80000000
jne 0x1006a441
mov dword [esp + 0x2c], esi
movzx ebp, word [edi + ebx + 8]
cmp ebp, 0xffff
je 0x1006a441
lea eax, [edi + ebx]
add eax, 8
mov ecx, dword [edx + 0x1c]
test byte [edx + 4], 2
movzx edx, word [edi + ebx + 4]
movzx esi, word [edi + ebx + 6]
jne 0x1006a2a1
mov dword [esp + 0x30], ecx
movzx edx, dx
cmp edx, 0xd9
jne 0x1006a441
cmp si, 0x1b
jne 0x1006a441
lea ecx, [edi + ebx]
add ecx, 0xa
xor edx, edx
xor esi, esi
nop dword [eax + eax]
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], edx
xor ebp, ebp
nop word [eax + eax]
mov edi, eax
movzx eax, word [eax]
movzx esi, word [ecx]
mov edx, ecx
mov ecx, dword [esp + 0x28]
movzx ecx, byte [ecx + ebp + str...___________XXXXXXX_____X________________X____________XXXXXXX_____________________XXXXXXX______XX__________..___________X.....X____X.X______________X.X___________X.....X_____________________X.....X_____X..X______________________XXX.XXX___X...X____________X...X__________X....X_______________________X....X_____X..X_________X______________X.X____X.....X__________X.....X_________X...X_________________________X...X_____X..X_________XX_____________X.X___X.......X________X.......X________X..X.X_______________________X.X..X_____X..X_________X.X____________X.X___XXXX.XXXX________XXXX.XXXX________X.X_X.X_____________________X.X_X.X_____X..XXX_______X..X___________X.X______X.X______________X.X___________XX___X.X___________________X.X___XX_____X..X..XXX____X...X__________X.X______X.X________XX____X.X____XX___________X.X_________________X.X___________X..X..X..XX__X....X_________X.X______X.X_______X.X____X.X____X.X___________X.X_______________X.X____________X..X..X..X.X_X.....X________X.X______X.X______X..X____X.X____X..X___________X.X_____________X.X_________XXX_X..X..X..X..XX......X_______X.X______X.X_____X...XXXXXX.XXXXXX...X___________X.X___XX_XX___X.X__________X..XX........X..XX.......X______X.X______X.X____X.....................X___________X.X_X.X_X.X_X.X___________X...X...........XX........X_____X.X______X.X_____X...XXXXXX.XXXXXX...X_____________X.X..X_X..X.X_____________X..............XX.........X__XXX.XXX____X.X______X..X____X.X____X..X_______________X...X_X...X_______________X.............XX..........X_X.....X____X.X_______X.X____X.X____X.X_______________X....X_X....X______________X.............XX......XXXXX_XXXXXXX____X.X________XX____X.X____XX_______________X.....X_X.....X______________X............XX...X..X________________X.X______________X.X_____________________XXXXXXX_XXXXXXX______________X...........X_X..X_X..X____________XXXX.XXXX________XXXX.XXXX________________________________________________X..........X_X.X__X..X____________X.......X________X.......X____________XX___________XX_____________________X..........X_XX____X..X____________X.....X__________X.....X____________X.X___________X.X_____________________X........X________X..X_____________X...X____________X...X____________X..X___________X..X____________________X........X_________XX_______________X.X______________X.X____________X...XXXXXXXXXXXXX...X___________________XXXXXXXXXX___________________________X________________X____________X.....................X______________________________________________________________________________________X...XXXXXXXXXXXXX...X________________________________________________________________________________________X..X___________X..X__________________________________________________________________________________________X.X___________X.X____________________________________________________________________________________________XX___________XX_____]
cmp cl, 0x2e
sete ch
neg ch
add esi, dword [esp + 0x2c]
imul esi, dword [esp + 0x30]
add esi, eax
mov ebx, dword [esp + 0x48]
mov eax, dword [ebx + 0x14]
add eax, esi
mov byte [ebp + eax], ch
cmp cl, 0x58
mov ecx, edx
sete al
add esi, dword [ebx + 0x14]
neg al
mov byte [ebp + esi + 0x6d], al
mov eax, edi
inc ebp
cmp ebp, 0x6c
jne 0x1006a240
mov edx, dword [esp + 0x2c]
inc edx
mov esi, dword [esp + 0x28]
add esi, ebp
cmp edx, 0x1b
jne 0x1006a230
jmp 0x1006a2ee
mov dword [esp + 0x28], eax
cmp dx, 2
jne 0x1006a441
cmp si, 2
jne 0x1006a441
movzx eax, word [edi + ebx + 0xa]
imul eax, ecx
add eax, ebp
add ecx, eax
mov edx, dword [esp + 0x2c]
mov byte [edx + ecx + 1], 0xff
mov esi, ecx
mov edx, dword [esp + 0x48]
mov ecx, dword [edx + 0x14]
mov byte [ecx + esi], 0xff
mov ecx, dword [edx + 0x14]
mov byte [ecx + eax + 1], 0xff
mov ecx, dword [edx + 0x14]
mov byte [ecx + eax], 0xff
mov eax, dword [esp + 0x28]
movd xmm0, dword [eax]
pxor xmm1, xmm1
punpcklwd xmm0, xmm1
cvtdq2ps xmm0, xmm0
addps xmm0, xmmword [0x101a8710]
mov esi, dword [esp + 0x48]
movsd xmm1, qword [esi + 0x24]
mulps xmm1, xmm0
movlps qword [esi + 0x2c], xmm1
mov ebp, dword [esi + 0x40]
test ebp, ebp
jle 0x1006a44e
xor edi, edi
mov ebx, 0x18
jmp 0x1006a406
movzx esi, word [edx + ebx - 0xe]
xorps xmm0, xmm0
cvtsi2ss xmm0, esi
mov eax, dword [esp + 0x48]
movss xmm4, dword [eax + 0x24]
movss xmm3, dword [eax + 0x28]
xorps xmm2, xmm2
cvtsi2ss xmm2, ebp
movzx eax, word [edx + ebx - 0x12]
add esi, eax
xorps xmm1, xmm1
cvtsi2ss xmm1, esi
mulss xmm0, xmm3
movss dword [esp + 0x28], xmm0
mulss xmm2, xmm4
mulss xmm1, xmm3
movzx esi, word [edx + ebx - 0x14]
add ebp, esi
xorps xmm3, xmm3
cvtsi2ss xmm3, ebp
mulss xmm3, xmm4
xorps xmm4, xmm4
cvtsi2ss xmm4, eax
movss xmm5, dword [edx + ebx - 4]
xorps xmm6, xmm6
cvtsi2ss xmm6, esi
mov esi, dword [esp + 0x48]
addss xmm4, xmm5
movss xmm7, dword [edx + ebx - 8]
addss xmm6, xmm7
movss xmm0, dword [edx + ebx - 0xc]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [esp + 0x28]
movss dword [esp + 0x18], xmm0
movss dword [esp + 0x14], xmm2
movss dword [esp + 0x10], xmm4
movss dword [esp + 0xc], xmm6
movss dword [esp + 8], xmm5
movss dword [esp + 4], xmm7
movss dword [esp + 0x20], xmm1
movss dword [esp + 0x1c], xmm3
movzx eax, word [esp + 0x2c]
mov dword [esp], eax
call fcn.1006a000
sub esp, 0x28
mov ebp, dword [esi + 0x40]
inc edi
add ebx, 0x1c
cmp edi, ebp
jge 0x1006a44e
mov edx, dword [esi + 0x48]
mov ecx, dword [edx + ebx]
test ecx, ecx
je 0x1006a3fe
mov eax, dword [edx + ebx - 0x18]
cmp eax, 0x10000
ja 0x1006a3fe
cmp dword [ecx + 0x38], esi
jne 0x1006a441
cmp dword [esi + 0x1c], 0
jle 0x1006a441
cmp dword [esi + 0x20], 0
jle 0x1006a441
mov dword [esp + 0x2c], eax
movzx ebp, word [edx + ebx - 0x10]
cmp ebp, 0xffff
jne 0x1006a330
mov dword [esp], 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov eax, dword [esi + 0x34]
test eax, eax
jle 0x1006a47b
xor edi, edi
jmp 0x1006a465
inc edi
cmp edi, eax
jge 0x1006a47b
mov ecx, dword [esi + 0x3c]
mov ecx, dword [ecx + edi*4]
cmp byte [ecx + 0x54], 0
je 0x1006a460
call fcn.1006a490
mov eax, dword [esi + 0x34]
jmp 0x1006a460
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret