Function at 0x101572f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x101c1b88]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x11c], 0
mov byte [ebp - 0x118], 0
push 0x103
push 0
lea eax, [ebp - 0x117]
push eax
call fcn.1011e8d0
add esp, 0xc
mov dword [ebp - 8], 0
cmp dword [ebp + 8], 0
je 0x10157344
cmp dword [ebp + 0xc], 0
ja 0x1015738b
push 0x101cb8c0
push 0x3b1
push 0x101cb8cc
push 0x101cb8ec
push 1
call fcn.1014edc0
add esp, 0x14
push 0x101cb900
push 0x3b1
push 0x101cb90c
push 0x101cb92c
push 1
call fcn.1014f750
add esp, 0x14
xor ecx, ecx
jne 0x10157344
xor eax, eax
jmp 0x1015761c
push 0x104
lea edx, [ebp - 0x118]
push edx
call fcn.10156b70
add esp, 8
test eax, eax
jne 0x101573ea
push 0x101cb940
push 0x3b7
push 0x101cb95c
push 0x101cb97c
push 1
call fcn.1014edc0
add esp, 0x14
push 0x101cb990
push 0x3b7
push 0x101cb9ac
push 0x101cb9cc
push 1
call fcn.1014f750
add esp, 0x14
xor eax, eax
jne 0x101573a3
xor eax, eax
jmp 0x1015761c
push 0
push 0x80
push 3
push 0
push 7
push closesocket
lea ecx, [ebp - 0x118]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x101574da
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [ebp - 0x118]
push edx
push 0x101cb9e0
push 0x3c6
push 0x101cb9f8
push 0x101cba18
push 1
call fcn.1014edc0
add esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x118]
push eax
push 0x101cba2c
push 0x3c6
push 0x101cba44
push 0x101cba64
push 1
call fcn.1014f750
add esp, 0x1c
xor ecx, ecx
jne 0x10157416
lea edx, [ebp - 0x118]
push edx
call fcn.1014bd70
add esp, 4
test eax, eax
jne 0x101574d3
lea eax, [ebp - 0x118]
push eax
push 0x101cba78
push 0x3c9
push 0x101cba88
push 0x101cbaa8
push 1
call fcn.1014edc0
add esp, 0x18
lea ecx, [ebp - 0x118]
push ecx
push 0x101cbabc
push 0x3c9
push 0x101cbacc
push 0x101cbaec
push 1
call fcn.1014f750
add esp, 0x18
xor edx, edx
jne 0x10157485
xor eax, eax
jmp 0x1015761c
cmp dword [ebp + 0xc], 0x400
jbe 0x101574ef
mov dword [ebp - 0x120], 0x400
jmp 0x101574f8
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x120], eax
push 0
lea ecx, [ebp - 0x11c]
push ecx
mov edx, dword [ebp - 0x120]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x1015758c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [ebp - 0x118]
push edx
push 0x101cbb00
push 0x3d1
push 0x101cbb14
push 0x101cbb34
push 1
call fcn.1014edc0
add esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x118]
push eax
push 0x101cbb48
push 0x3d1
push 0x101cbb5c
push 0x101cbb7c
push 1
call fcn.1014f750
add esp, 0x1c
xor ecx, ecx
jne 0x1015751f
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1015761c
mov eax, dword [ebp + 8]
push eax
call fcn.1011e3a0
add esp, 4
cmp eax, 0xa
jae 0x10157601
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x118]
push edx
push 0x101cbb90
push 0x3d8
push 0x101cbbac
push 0x101cbbcc
push 1
call fcn.1014edc0
add esp, 0x1c
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x118]
push ecx
push 0x101cbbe0
push 0x3d8
push str.cutil_sysinfo_GetComputerIDFile
push 0x101cbc1c
push 1
call fcn.1014f750
add esp, 0x1c
xor edx, edx
jne 0x1015759d
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1015761c
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp + 8]
push edx
call fcn.10155620
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.1011a380
mov esp, ebp
pop ebp
ret 8