Function at 0x1000b490
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004b850
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x1007100c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
cmp byte [0x10073ea5], 0
mov esi, dword [0x10073ea8]
je 0x1000b6da
push 0xa
lea ecx, [ebp + 8]
mov dword [ebp - 0x64], 0
call fcn.10003830
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp - 0x64]
push 0
push ecx
push dword [ebp + 0x18]
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1000b74b
push 2
sub esp, 0x18
mov dword [ebp - 0x68], esp
mov edi, esp
sub esp, 0x18
mov dword [ebp - 0x5c], esp
mov esi, esp
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x60], esp
push 0x42
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 0xf
push str.393935393836313230353833393836313636313230333234343239353531343036
mov byte [ecx], al
call fcn.10003980
mov byte [ebp - 4], 1
mov byte [ebp - 4], 0
mov ecx, esi
call fcn.1003efc0
add esp, 0x18
mov byte [ebp - 4], 2
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.1003ec40
add esp, 0x18
mov byte [ebp - 4], 3
push eax
lea eax, [ebp + 8]
push eax
sub esp, 0x18
mov dword [ebp - 0x60], esp
mov esi, esp
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x5c], esp
push 0x90
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push str.353535353833333432313234333234353531393935313230393836343235353332383434313230353839393836393832353833373237373237323038353531333234393836393935
mov byte [ecx], 0
call fcn.10003980
mov byte [ebp - 4], 4
mov byte [ebp - 4], 3
mov ecx, esi
call fcn.1003efc0
add esp, 0x18
mov byte [ebp - 4], 5
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.1003ec40
add esp, 0x18
mov byte [ebp - 4], 6
mov edx, eax
lea ecx, [ebp - 0x28]
call fcn.10009ce0
add esp, 4
mov byte [ebp - 4], 7
mov edx, eax
mov ecx, edi
call fcn.10009bf0
add esp, 4
mov byte [ebp - 4], 8
mov byte [ebp - 4], 7
mov ecx, dword [0x10073ea0]
call fcn.10033d50
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x1000b62e
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000b624
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000b624
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10049656
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x1000b67a
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000b670
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000b670
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10049656
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x1000b6c6
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000b6bc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000b6bc
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10049656
add esp, 8
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
jmp 0x1000b74b
push 2
sub esp, 0x18
mov dword [ebp - 0x60], esp
mov edi, esp
sub esp, 0x18
mov dword [ebp - 0x5c], esp
mov esi, esp
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x68], esp
push 0xd2
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push str.353535353833333432313234333234353531393935313230393836343235353332383434313230353839393836313230353833393836353535373230313530323035393836353535373230313530393836353531353833313230393836353833343035353839353531
mov byte [ecx], 0
call fcn.10003980
mov byte [ebp - 4], 9
mov byte [ebp - 4], 0
mov ecx, esi
call fcn.1003efc0
add esp, 0x18
mov byte [ebp - 4], 0xa
mov byte [ebp - 4], 0
mov ecx, edi
call fcn.1003ec40
add esp, 0x18
mov byte [ebp - 4], 0xb
mov byte [ebp - 4], 0
mov ecx, dword [0x10073ea0]
call fcn.10033d50
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x1000b788
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000b77e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000b77e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10049656
add esp, 8
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100490d4
mov esp, ebp
pop ebp
ret 0x18