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

Disassembly:
sub esp, 8
push ebp
mov ebp, dword [esp + 0x14]
push esi
push edi
jmp 0x1000f1dc
mov eax, dword [ebp + 8]
imul eax, dword [ebp + 0xc]
push eax
call fcn.10024af0
mov edi, eax
add esp, 4
test edi, edi
je 0x1000f4ba
mov ecx, dword [ebp + 8]
imul ecx, dword [ebp + 0xc]
push ecx
call fcn.10024af0
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
test esi, esi
jne 0x1000f216
push edi
jmp 0x1000f4b2
mov eax, dword [ebp + 8]
imul eax, dword [ebp + 0xc]
lea ecx, [eax + 1]
mov edx, edi
call fcn.10011710
mov eax, dword [ebp + 8]
imul eax, dword [ebp + 0xc]
lea ecx, [eax + 1]
mov edx, esi
call fcn.10011710
cmp dword [ebp + 4], 0
jne 0x1000f245
mov dword [ebp + 4], 0xc
mov edx, dword [ebp + 4]
imul edx, dword [ebp + 0xc]
mov eax, dword [esp + 0x18]
push 0
push 0
push edx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edx, dword [ebp + 8]
imul edx, dword [ebp + 0xc]
mov eax, dword [esp + 0x18]
push 0
lea ecx, [esp + 0x20]
push ecx
push edx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1000f29c
push esi
call fcn.10024afb
add esp, 4
push edi
call fcn.10024afb
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebp
add esp, 8
ret 0x10
mov eax, dword [ebp + 8]
imul eax, dword [ebp + 0xc]
push eax
push edi
inc eax
push eax
push esi
call fcn.10032c83
add esp, 0x10
call fcn.1001f600
lea eax, [ebp + 0x10]
lea edx, [eax + 1]
jmp 0x1000f2c0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1000f2c0
sub eax, edx
mov edx, eax
lea esi, [ebp + 0x10]
call fcn.1001f690
lea ecx, [esp + 0x18]
push ecx
push 0x200
push edi
mov ecx, edi
mov edx, 4
mov dword [esp + 0x24], eax
call fcn.1001f2b0
add esp, 0xc
cmp dword [edi], 0x46504445
je 0x1000f3bc
mov eax, dword [ebp + 8]
imul eax, dword [ebp + 0xc]
mov edx, dword [esp + 0x10]
push eax
push edx
inc eax
push eax
push edi
call fcn.10032c83
mov eax, 0x10068de8
add esp, 0x10
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1000f320
sub eax, edx
mov edx, eax
mov esi, 0x10068de8
call fcn.1001f690
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
push 0x200
push edi
mov ecx, edi
mov edx, 4
call fcn.1001f2b0
add esp, 0xc
cmp dword [edi], 0x46504445
jne 0x1000f383
push esi
lea eax, [ebp + 0x10]
push 0x100
push eax
call fcn.100329ad
add esp, 0xc
push esi
push 0x104
push 0x10068ce0
call fcn.100329ad
add esp, 0xc
push esi
jmp 0x1000f3c1
mov ecx, dword [esp + 0x10]
push ecx
call fcn.10024afb
add esp, 4
push edi
call fcn.10024afb
add esp, 4
push 0x10058558
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edi, 0x10058558
call fcn.10011e30
mov eax, 1
pop edi
pop esi
pop ebp
add esp, 8
ret 0x10
push 0x10068ce0
push 0x104
push 0x10069f30
call fcn.100329ad
mov esi, dword [esp + 0x2c]
add esp, 0xc
push 0x120
push edi
push 0x121
push esi
call fcn.10032c83
push 0xe
lea edx, [edi + 0x120]
push edx
push 0xf
push ebx
call fcn.10032c83
mov eax, 0x88
xor word [ebx], ax
movzx eax, word [ebx]
mov ecx, 0x206
add esp, 0x20
mov word [ebp + 0x110], ax
cmp word [ebx], cx
je 0x1000f46b
mov ebp, dword [esp + 0x24]
push 0xc0
push edi
push 0xc1
push ebp
call fcn.10032c83
push 0xe
lea edx, [edi + 0xc0]
push edx
push 0xf
push ebx
call fcn.10032c83
mov eax, 0x88
xor word [ebx], ax
mov eax, 0x120
add esp, 0x20
lea ecx, [eax + 1]
mov edx, esi
call fcn.10011710
mov eax, ebp
mov ecx, esi
call fcn.1000f140
mov ecx, 0x202
cmp word [ebx], cx
jne 0x1000f4a4
xor byte [ebx + 6], 0x88
xor byte [ebx + 3], 0x88
push edi
call fcn.10024afb
mov edx, dword [esp + 0x14]
add esp, 4
push edx
call fcn.10024afb
add esp, 4
jmp 0x1000f499
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 8
ret 0x10
push edi
call fcn.10024afb
mov eax, dword [esp + 0x14]
add esp, 4
push eax
call fcn.10024afb
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 8
ret 0x10