Function at 0x10c4e8a0
Capabilities:
Write file on windows

Disassembly:
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll_fwrite]
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
mov eax, dword [esi + 0xa8]
push edi
push 0x20
push 1
push esi
mov dword [esp + 0x20], eax
call ebx
xor ecx, ecx
add esp, 0x10
cmp ecx, eax
sbb edx, edx
neg edx
mov dword [esp + 0x14], edx
je 0x10c4e8ed
push edi
push 0x20
lea eax, [esi + 0x20]
push 1
push eax
call ebx
add esp, 0x10
test eax, eax
jbe 0x10c4e8ed
mov eax, 1
jmp 0x10c4e8ef
xor eax, eax
test eax, eax
je 0x10c4e90c
push edi
push 0x20
lea ecx, [esi + 0x40]
push 1
push ecx
call ebx
add esp, 0x10
test eax, eax
jbe 0x10c4e90c
mov eax, 1
jmp 0x10c4e90e
xor eax, eax
test eax, eax
je 0x10c4e92e
push edi
push 1
lea edx, [esi + 0x80]
push 4
push edx
call ebx
add esp, 0x10
test eax, eax
jbe 0x10c4e92e
mov eax, 1
jmp 0x10c4e930
xor eax, eax
test eax, eax
je 0x10c4e950
push edi
push 1
lea eax, [esi + 0x84]
push 4
push eax
call ebx
add esp, 0x10
test eax, eax
jbe 0x10c4e950
mov eax, 1
jmp 0x10c4e952
xor eax, eax
test eax, eax
je 0x10c4e972
push edi
push 1
lea ecx, [esi + 0x88]
push 4
push ecx
call ebx
add esp, 0x10
test eax, eax
jbe 0x10c4e972
mov eax, 1
jmp 0x10c4e974
xor eax, eax
test eax, eax
je 0x10c4e994
push edi
push 1
lea edx, [esi + 0x8c]
push 4
push edx
call ebx
add esp, 0x10
test eax, eax
jbe 0x10c4e994
mov eax, 1
jmp 0x10c4e996
xor eax, eax
test eax, eax
je 0x10c4e9b6
push edi
push 1
lea eax, [esi + 0x90]
push 4
push eax
call ebx
add esp, 0x10
test eax, eax
jbe 0x10c4e9b6
mov eax, 1
jmp 0x10c4e9b8
xor eax, eax
test eax, eax
je 0x10c4e9d8
push edi
push 1
lea ecx, [esi + 0x94]
push 4
push ecx
call ebx
add esp, 0x10
test eax, eax
jbe 0x10c4e9d8
mov eax, 1
jmp 0x10c4e9da
xor eax, eax
test eax, eax
je 0x10c4e9fa
push edi
push 1
lea edx, [esi + 0x98]
push 8
push edx
call ebx
add esp, 0x10
test eax, eax
jbe 0x10c4e9fa
mov eax, 1
jmp 0x10c4e9fc
xor eax, eax
test eax, eax
je 0x10c4ea1c
push edi
push 1
lea eax, [esi + 0xa0]
push 8
push eax
call ebx
add esp, 0x10
test eax, eax
jbe 0x10c4ea1c
mov eax, 1
jmp 0x10c4ea1e
xor eax, eax
test eax, eax
je 0x10c4ea3c
push edi
push 1
lea ecx, [esp + 0x18]
push 4
push ecx
call ebx
add esp, 0x10
test eax, eax
jbe 0x10c4ea3c
mov eax, 1
jmp 0x10c4ea3e
xor eax, eax
test eax, eax
je 0x10c4ea5e
push edi
push 1
lea edx, [esi + 0xac]
push 4
push edx
call ebx
add esp, 0x10
test eax, eax
jbe 0x10c4ea5e
mov eax, 1
jmp 0x10c4ea60
xor eax, eax
test eax, eax
je 0x10c4ea80
push edi
push 1
lea eax, [esi + 0xb0]
push 4
push eax
call ebx
add esp, 0x10
test eax, eax
jbe 0x10c4ea80
mov eax, 1
jmp 0x10c4ea82
xor eax, eax
test eax, eax
je 0x10c4eaa2
push edi
push 1
lea ecx, [esi + 0xb4]
push 4
push ecx
call ebx
add esp, 0x10
test eax, eax
jbe 0x10c4eaa2
mov eax, 1
jmp 0x10c4eaa4
xor eax, eax
test eax, eax
je 0x10c4eac4
push edi
push 1
lea edx, [esi + 0xb8]
push 4
push edx
call ebx
add esp, 0x10
test eax, eax
jbe 0x10c4eac4
mov eax, 1
jmp 0x10c4eac6
xor eax, eax
test eax, eax
je 0x10c4eae6
push edi
push 1
lea eax, [esi + 0xbc]
push 4
push eax
call ebx
add esp, 0x10
test eax, eax
jbe 0x10c4eae6
mov eax, 1
jmp 0x10c4eae8
xor eax, eax
test eax, eax
je 0x10c4eb08
push edi
push 1
lea ecx, [esi + 0xc0]
push 4
push ecx
call ebx
add esp, 0x10
test eax, eax
jbe 0x10c4eb08
mov eax, 1
jmp 0x10c4eb0a
xor eax, eax
test eax, eax
je 0x10c4eb35
push edi
push 1
add esi, 0xc4
push 4
push esi
call ebx
add esp, 0x10
test eax, eax
jbe 0x10c4eb35
mov eax, 1
xor edx, edx
test eax, eax
setne dl
mov eax, edx
pop edi
pop esi
pop ebx
ret
xor eax, eax
xor edx, edx
test eax, eax
setne dl
pop edi
pop esi
mov eax, edx
pop ebx
ret