Function at 0x59aee0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ac1a7
mov eax, dword fs:[0]
push eax
sub esp, 0x1cc
mov eax, dword [0x61de38]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1d0], edi
mov esi, dword [ebp + 8]
call fcn.0040db80
push esi
push 0x627ffc
call fcn.00410a40
add esp, 8
push 0
push 0
push 3
push 0
push 1
push 0xc0000000
push esi
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
mov dword [ebp - 0x1d8], esi
cmp esi, 0xffffffff
jne 0x59af67
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.failed_open_shoppint_root___
jmp 0x59b37a
mov dword [ebp - 0x1c0], 2
mov dword [ebp - 0x1b8], 3
mov dword [ebp - 0x1b0], 0
mov dword [ebp - 0x1a8], 5
mov dword [ebp - 0x1a0], 1
mov dword [ebp - 0x198], 4
mov dword [ebp - 0x190], 6
mov dword [ebp - 0x188], 7
mov dword [ebp - 0x180], 8
mov dword [ebp - 0x1bc], 0
mov dword [ebp - 0x1b4], 0
mov dword [ebp - 0x1ac], 0
mov dword [ebp - 0x1a4], 0
mov dword [ebp - 0x19c], 0
mov dword [ebp - 0x194], 0
mov dword [ebp - 0x18c], 1
mov dword [ebp - 0x184], 1
mov dword [ebp - 0x17c], 1
mov dword [ebp - 0x178], 2
mov dword [ebp - 0x170], 3
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x160], 5
mov dword [ebp - 0x158], 1
mov dword [ebp - 0x150], 4
mov dword [ebp - 0x148], 6
mov dword [ebp - 0x140], 7
mov dword [ebp - 0x138], 8
mov dword [ebp - 0x174], 0
mov dword [ebp - 0x16c], 0
mov dword [ebp - 0x164], 0
mov dword [ebp - 0x15c], 0
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x144], 1
mov dword [ebp - 0x13c], 1
mov dword [ebp - 0x134], 1
mov dword [ebp - 0x130], 2
mov dword [ebp - 0x128], 3
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x118], 5
mov dword [ebp - 0x110], 1
mov dword [ebp - 0x108], 4
mov dword [ebp - 0x100], 6
mov dword [ebp - 0xf8], 7
mov dword [ebp - 0xf0], 8
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x104], 0
mov dword [ebp - 0xfc], 1
mov dword [ebp - 0xf4], 1
mov dword [ebp - 0xec], 1
mov dword [ebp - 0xe8], 2
mov dword [ebp - 0xe0], 3
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xd0], 5
mov dword [ebp - 0xc8], 1
mov dword [ebp - 0xc0], 4
mov dword [ebp - 0xb8], 6
mov dword [ebp - 0xb0], 7
mov dword [ebp - 0xa8], 8
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb4], 1
mov dword [ebp - 0xac], 1
mov dword [ebp - 0xa4], 1
mov dword [ebp - 0xa0], 2
mov dword [ebp - 0x98], 3
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x88], 5
mov dword [ebp - 0x80], 1
mov dword [ebp - 0x78], 4
mov dword [ebp - 0x70], 6
mov dword [ebp - 0x68], 7
mov dword [ebp - 0x60], 8
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x6c], 1
mov dword [ebp - 0x64], 1
mov dword [ebp - 0x5c], 1
mov dword [ebp - 0x58], 2
mov dword [ebp - 0x50], 3
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x40], 5
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x30], 4
mov dword [ebp - 0x28], 6
mov dword [ebp - 0x20], 7
mov dword [ebp - 0x18], 8
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x14], 1
test esi, esi
je 0x59b375
push 0
lea eax, [ebp - 0x1c4]
push eax
push 0x1b0
lea eax, [ebp - 0x1c0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x59b3b3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.failed_get_shoppint_root___
push 0x627ffc
call fcn.00410a40
add esp, 8
xor edi, edi
test esi, esi
je 0x59b394
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055c6fa
mov esp, ebp
pop ebp
ret 4
cmp dword [ebp - 0x1c4], 0
je 0x59b375
mov eax, dword [edi]
movups xmm0, xmmword [ebp - 0x1c0]
push 0
movups xmmword [eax], xmm0
movups xmm0, xmmword [ebp - 0x1b0]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [ebp - 0x1a0]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [ebp - 0x190]
movups xmmword [eax + 0x30], xmm0
movq xmm0, qword [ebp - 0x180]
movq qword [eax + 0x40], xmm0
mov eax, dword [edi]
movups xmm0, xmmword [ebp - 0x178]
movups xmmword [eax + 0x48], xmm0
movups xmm0, xmmword [ebp - 0x168]
movups xmmword [eax + 0x58], xmm0
movups xmm0, xmmword [ebp - 0x158]
movups xmmword [eax + 0x68], xmm0
movups xmm0, xmmword [ebp - 0x148]
movups xmmword [eax + 0x78], xmm0
movq xmm0, qword [ebp - 0x138]
movq qword [eax + 0x88], xmm0
mov eax, dword [edi]
movups xmm0, xmmword [ebp - 0x130]
movups xmmword [eax + 0x90], xmm0
movups xmm0, xmmword [ebp - 0x120]
movups xmmword [eax + 0xa0], xmm0
movups xmm0, xmmword [ebp - 0x110]
movups xmmword [eax + 0xb0], xmm0
movups xmm0, xmmword [ebp - 0x100]
movups xmmword [eax + 0xc0], xmm0
movq xmm0, qword [ebp - 0xf0]
movq qword [eax + 0xd0], xmm0
mov eax, dword [edi]
movups xmm0, xmmword [ebp - 0xe8]
movups xmmword [eax + 0xd8], xmm0
movups xmm0, xmmword [ebp - 0xd8]
movups xmmword [eax + 0xe8], xmm0
movups xmm0, xmmword [ebp - 0xc8]
movups xmmword [eax + 0xf8], xmm0
movups xmm0, xmmword [ebp - 0xb8]
movups xmmword [eax + 0x108], xmm0
movq xmm0, qword [ebp - 0xa8]
movq qword [eax + 0x118], xmm0
mov eax, dword [edi]
movups xmm0, xmmword [ebp - 0xa0]
movups xmmword [eax + 0x120], xmm0
movups xmm0, xmmword [ebp - 0x90]
movups xmmword [eax + 0x130], xmm0
movups xmm0, xmmword [ebp - 0x80]
movups xmmword [eax + 0x140], xmm0
movups xmm0, xmmword [ebp - 0x70]
movups xmmword [eax + 0x150], xmm0
movq xmm0, qword [ebp - 0x60]
movq qword [eax + 0x160], xmm0
mov eax, dword [edi]
movups xmm0, xmmword [ebp - 0x58]
movups xmmword [eax + 0x168], xmm0
movups xmm0, xmmword [ebp - 0x48]
movups xmmword [eax + 0x178], xmm0
movups xmm0, xmmword [ebp - 0x38]
movups xmmword [eax + 0x188], xmm0
movups xmm0, xmmword [ebp - 0x28]
movups xmmword [eax + 0x198], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [eax + 0x1a8], xmm0
lea eax, [ebp - 0x1c4]
push eax
push 4
lea eax, [edi + 4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x59b56c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1d4], eax
jmp 0x59b575
cmp dword [ebp - 0x1c4], 0
jne 0x59b587
push str.failed_get_shoppint_ignoreShop___
push 0x627ffc
call fcn.00410a40
add esp, 8
push 0
push 0
mov dword [ebp - 0x1cc], 0
mov dword [ebp - 0x1c8], 0
call fcn.0040ee70
mov dword [ebp - 0x1cc], eax
lea edx, [ebp - 0x1d8]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1cc]
call fcn.0040f000
test eax, eax
jne 0x59b5d5
push str.failed_get_shoppint_ignoreShop2___
push 0x627ffc
call fcn.00410a40
add esp, 8
mov edi, dword [ebp - 0x1cc]
mov esi, 0x1b0
xor edx, edx
mov dword [ebp - 0x1c4], 2
nop dword [eax]
cmp dword [ebp - 0x1c8], edx
ja 0x59b5fc
mov eax, edi
jmp 0x59b60b
mov eax, dword [edi]
test edx, edx
je 0x59b60b
mov ecx, edx
mov eax, dword [eax]
sub ecx, 1
jne 0x59b604
mov ecx, dword [ebp - 0x1d0]
inc edx
movups xmm0, xmmword [eax + 8]
mov ecx, dword [ecx]
add ecx, esi
add esi, 0x48
sub dword [ebp - 0x1c4], 1
movups xmmword [ecx], xmm0
movups xmm0, xmmword [eax + 0x18]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [eax + 0x28]
movups xmmword [ecx + 0x20], xmm0
movups xmm0, xmmword [eax + 0x38]
movups xmmword [ecx + 0x30], xmm0
movq xmm0, qword [eax + 0x48]
movq qword [ecx + 0x40], xmm0
jne 0x59b5f0
mov eax, dword [edi]
mov dword [edi], edi
mov dword [edi + 4], edi
cmp eax, edi
je 0x59b669
mov esi, dword [eax]
push 0x50
push eax
call fcn.0055c9a5
add esp, 8
mov eax, esi
cmp esi, edi
jne 0x59b656
push 0x50
push edi
call fcn.0055c9a5
mov esi, dword [ebp - 0x1d8]
add esp, 8
mov edi, 1
jmp 0x59b389