Function at 0x100023c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10006755
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x1000900c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
push 4
lea ecx, [ebp - 0x14]
call fcn.10001e10
lea ecx, [ebp - 0x14]
call fcn.10002a20
mov dword [ebp - 4], 0
push 4
lea ecx, [ebp - 0x18]
call fcn.10001e10
lea eax, [ebp - 0x18]
push eax
call fcn.10002210
add esp, 4
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
push ecx
push str._s_steamActivehid
lea edx, [ebp - 0x14]
push edx
call fcn.10003550
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x10009654
call fcn.10002960
push 0x1000791c
lea ecx, [ebp - 0x14]
call fcn.10002a40
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
add esp, 8
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x10002496
mov dword [ebp - 0x38], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.10002980
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10002980
mov eax, dword [ebp - 0x38]
jmp 0x100026e6
push 2
push 0
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jne 0x100024f8
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov dword [ebp - 0x3c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.10002980
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10002980
mov eax, dword [ebp - 0x3c]
jmp 0x100026e6
push 0xc
lea ecx, [ebp - 0x24]
call fcn.10001e10
lea ecx, [ebp - 0x31]
call fcn.10001dd0
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
lea ecx, [ebp - 0x24]
call fcn.10002860
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x10002570
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x24]
call fcn.10002840
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.10002980
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10002980
mov eax, dword [ebp - 0x40]
jmp 0x100026e6
push 0
push 0
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
push 1
lea ecx, [ebp - 0x24]
call fcn.10002820
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x44]
cmp eax, dword [edx]
je 0x100025f8
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov dword [ebp - 0x48], 0
lea ecx, [ebp - 0x24]
call fcn.10002840
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.10002980
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10002980
mov eax, dword [ebp - 0x48]
jmp 0x100026e6
mov edx, dword [ebp + 8]
imul eax, dword [edx], 5
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
add esp, 8
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x1000264d
mov dword [ebp - 0x4c], 0
lea ecx, [ebp - 0x24]
call fcn.10002840
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.10002980
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10002980
mov eax, dword [ebp - 0x4c]
jmp 0x100026e6
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x24]
call fcn.10002820
push eax
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.zlib1.dll_uncompress]
add esp, 0x10
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
je 0x100026b2
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov dword [ebp - 0x54], 0
lea ecx, [ebp - 0x24]
call fcn.10002840
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.10002980
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10002980
mov eax, dword [ebp - 0x54]
jmp 0x100026e6
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x28]
mov dword [edx], eax
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x58], ecx
lea ecx, [ebp - 0x24]
call fcn.10002840
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.10002980
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10002980
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100050f6
mov esp, ebp
pop ebp
ret