Function at 0x10025f10
Capabilities:
Print debug messages
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100906a0
push 0x1005aa50
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x1009cbc0]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov ebx, edx
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0
mov dword [ebp - 4], 1
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x28], esi
cmp esi, 0xffffffff
jne 0x10025fc2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x1009cbc0
call fcn.10062b20
add esp, 0xc
lea eax, [esi + 0x1e]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 0xfffffffc
mov dword [ebp - 0x38], ecx
or eax, 0xffffffff
mov dword [ebp - 0x34], eax
push 2
push 0
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x10025f92
push 0
lea eax, [ebp - 0x20]
push eax
push 4
lea eax, [ebp - 0x24]
push eax
push esi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
call edi
test eax, eax
je 0x100261aa
cmp dword [ebp - 0x20], 4
jne 0x100261aa
mov ecx, dword [ebp - 0x24]
bswap ecx
mov dword [ebp - 0x24], ecx
mov eax, ecx
shr eax, 0x12
mov dword [ebp - 0x2c], eax
test ecx, 0x3ffff
je 0x10026024
inc eax
mov dword [ebp - 0x2c], eax
lea eax, [eax + 0xe]
lea eax, [ecx + eax*2]
lea ecx, [eax + 5]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x38], eax
xor ecx, ecx
mov dword [ebp - 0x34], ecx
push ecx
push ecx
push ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x10025f92
push 0
lea eax, [ebp - 0x20]
push eax
push 4
lea eax, [ebp - 0x1c]
push eax
push esi
call edi
test eax, eax
je 0x10026146
cmp dword [ebp - 0x20], 4
jne 0x10026146
mov eax, dword [ebp - 0x1c]
bswap eax
mov dword [ebp - 0x1c], eax
cmp eax, 0x800
jb 0x10026082
mov dword [ebp - 0x1c], 0x7ff
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
xor ecx, ecx
mov dword [ebp - 0x34], ecx
push ecx
push ecx
push ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x10025f92
push 0
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x1c]
push ebx
push esi
call edi
test eax, eax
je 0x100260de
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x20], eax
jne 0x100260de
cmp eax, 0x800
jb 0x100260c5
mov eax, 0x800
mov dword [ebp - 0x1c], eax
mov byte [eax + ebx - 1], 0
mov dword [ebp - 4], 0
call fcn.1002626d
jmp 0x10026288
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
mov ebx, eax
call esi
lea edi, [eax + 0x1e]
push 0x1000a
call fcn.1005218a
add esp, 4
mov esi, eax
test esi, esi
je 0x100261cc
push 0x100865c0
push 0xffff
push esi
call fcn.10052136
add esp, 0xc
push edi
test eax, eax
jle 0x10026221
mov byte [esi + 0xffff], 0
push esi
push str.GetUrlFromFFCache
push 1
mov edx, 0x413
mov ecx, str...StandAloneSvcExploitFiles.cpp
call fcn.10001cf0
add esp, 0x10
jmp 0x10026239
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
mov ebx, eax
call esi
lea edi, [eax + 0x1e]
push 0x1000a
call fcn.1005218a
add esp, 4
mov esi, eax
test esi, esi
je 0x100261cc
push 0x100865c0
push 0xffff
push esi
call fcn.10052136
add esp, 0xc
push edi
test eax, eax
jle 0x10026221
mov byte [esi + 0xffff], 0
push esi
push str.GetUrlFromFFCache
push 1
mov edx, 0x404
mov ecx, str...StandAloneSvcExploitFiles.cpp
call fcn.10001cf0
add esp, 0x10
jmp 0x10026239
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
mov ebx, eax
call esi
lea edi, [eax + 0x1e]
push 0x1000a
call fcn.1005218a
add esp, 4
mov esi, eax
test esi, esi
jne 0x100261e6
push str.Memory_allocation_error_in_log_file_n
call fcn.10052604
add esp, 4
push str.Memory_allocation_error_in_log_file_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x10026242
push 0x100865c0
push 0xffff
push esi
call fcn.10052136
add esp, 0xc
push edi
test eax, eax
jle 0x10026221
mov byte [esi + 0xffff], 0
push esi
push str.GetUrlFromFFCache
push 1
mov edx, 0x3f2
mov ecx, str...StandAloneSvcExploitFiles.cpp
call fcn.10001cf0
add esp, 0x10
jmp 0x10026239
push str.Error__d_in_swprintf_s_n
call fcn.10052604
add esp, 8
push str.Error_in_swprintf_s_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push esi
call fcn.10052152
add esp, 4
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x1009cbc0
call fcn.10062b20
add esp, 0xc
lea eax, [ebx + 0x1e]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret