Function at 0x1005f390
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 0x58]
test eax, eax
js 0x1005f509
cmp dword [ebx + 0x14], 0
je 0x1005f509
cmp eax, dword [ebx + 0x40]
jge 0x1005f509
mov esi, dword [ebx + 0x48]
lea edx, [eax*8]
sub edx, eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], edx
cmp dword [esi + edx*4], 0x80000000
jne 0x1005f509
movzx eax, word [esi + edx*4 + 8]
mov ecx, 0xffff
cmp ax, cx
je 0x1005f509
test byte [ebx + 4], 2
mov edi, dword [ebx + 0x1c]
movzx eax, word [esi + edx*4 + 4]
mov dword [ebp - 0x14], edi
jne 0x1005f489
mov ecx, 0xd9
cmp ax, cx
jne 0x1005f509
cmp word [esi + edx*4 + 6], 0x1b
jne 0x1005f509
xor ecx, ecx
mov dword [ebp - 4], 0
mov dword [ebp - 8], ecx
nop word [eax + eax]
xor edi, edi
movzx eax, word [esi + edx*4 + 0xa]
movzx esi, word [esi + edx*4 + 8]
add eax, ecx
imul eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov dl, byte [edx + 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_____]
add eax, edi
add esi, eax
mov eax, dword [ebx + 0x14]
cmp dl, 0x2e
setne cl
dec cl
cmp dl, 0x58
mov edx, dword [ebp - 0xc]
mov byte [esi + eax], cl
setne cl
mov eax, dword [ebx + 0x14]
dec cl
inc dword [ebp - 4]
inc edi
mov byte [eax + esi + 0x6d], cl
mov ecx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
cmp edi, 0x6c
jl 0x1005f432
inc ecx
mov dword [ebp - 8], ecx
cmp ecx, 0x1b
jl 0x1005f430
jmp 0x1005f4c6
cmp eax, 2
jne 0x1005f509
cmp word [esi + edx*4 + 6], ax
jne 0x1005f509
movzx ecx, word [esi + edx*4 + 0xa]
movzx eax, word [esi + edx*4 + 8]
imul ecx, edi
add ecx, eax
mov eax, dword [ebx + 0x14]
add eax, ecx
mov byte [eax + edi + 1], 0xff
mov eax, dword [ebx + 0x14]
add eax, ecx
mov byte [eax + edi], 0xff
mov eax, dword [ebx + 0x14]
mov byte [eax + ecx + 1], 0xff
mov eax, dword [ebx + 0x14]
mov byte [ecx + eax], 0xff
movzx eax, word [esi + edx*4 + 8]
pop edi
movd xmm2, eax
movzx eax, word [esi + edx*4 + 0xa]
cvtdq2ps xmm2, xmm2
pop esi
movd xmm1, eax
addss xmm2, dword [0x10144fec]
cvtdq2ps xmm1, xmm1
mulss xmm2, dword [ebx + 0x24]
addss xmm1, dword [0x10144fec]
movss dword [ebx + 0x2c], xmm2
mulss xmm1, dword [ebx + 0x28]
movss dword [ebx + 0x30], xmm1
pop ebx
mov esp, ebp
pop ebp
ret
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3