Function at 0x10011fd0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1288
call fcn.10055700
mov eax, dword [0x1006d258]
xor eax, ebp
mov dword [ebp - 0x38], eax
cmp dword [0x100bb494], 0
jg 0x10011ff5
jmp 0x100122d5
cmp dword [ebp + 0x20], 0
jg 0x10012000
jmp 0x100122d5
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.10049447
add esp, 8
cmp eax, 0xffffffff
jne 0x100120b1
mov ecx, dword [ebp + 8]
push ecx
push 0x100639a4
push 0x104
lea edx, [ebp - 0x1268]
push edx
call fcn.10048177
add esp, 0x10
lea eax, [ebp - 0x1268]
mov dword [ebp - 0x115c], eax
push 0x5c
mov ecx, dword [ebp - 0x115c]
push ecx
call fcn.1000c660
add esp, 8
mov dword [ebp - 0x115c], eax
cmp dword [ebp - 0x115c], 0
je 0x100120b1
mov edx, dword [ebp - 0x115c]
lea eax, [ebp - 0x1268]
cmp edx, eax
jbe 0x100120a0
mov ecx, dword [ebp - 0x115c]
movsx edx, byte [ecx - 1]
cmp edx, 0x3a
je 0x100120a0
mov eax, dword [ebp - 0x115c]
mov byte [eax], 0
lea ecx, [ebp - 0x1268]
push ecx
call fcn.10049ac8
add esp, 4
mov edx, dword [ebp - 0x115c]
mov byte [edx], 0x5c
mov eax, dword [ebp - 0x115c]
add eax, 1
mov dword [ebp - 0x115c], eax
jmp 0x10012040
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ecx
xor edx, edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
xor eax, eax
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x144], eax
push 0
call fcn.1003a4b0
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x34]
push edx
call fcn.1002fa70
add esp, 8
lea eax, [ebp - 0x34]
push eax
push 0x100639a8
push 0x10
lea ecx, [ebp - 0x150]
push ecx
call fcn.1004a779
add esp, 0x10
push 0x104
push 0
lea edx, [ebp - 0x140]
push edx
call fcn.1004e3d0
add esp, 0xc
lea eax, [ebp - 0x150]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push str._s_s._s
push 0x104
lea eax, [ebp - 0x140]
push eax
call fcn.10048177
add esp, 0x18
push 0x100639bc
lea ecx, [ebp - 0x140]
push ecx
lea edx, [ebp - 4]
push edx
call fcn.100486a2
add esp, 0xc
test eax, eax
je 0x10012189
jmp 0x100122d5
push 0x1000
push 0
lea eax, [ebp - 0x1158]
push eax
call fcn.1004e3d0
add esp, 0xc
mov dword [ebp - 0x154], 0
cmp dword [ebp + 0x10], 1
jne 0x10012223
push 0
call fcn.1003a4b0
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x34]
push edx
call fcn.1002fa70
add esp, 8
lea eax, [ebp - 0x1278]
push eax
call fcn.1004a8c1
add esp, 4
push str.1.0.6.15
call sub.KERNEL32.dll_GetCurrentProcessId
push eax
movzx ecx, word [ebp - 0x1270]
push ecx
mov edx, dword [ebp - 0x34]
push edx
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x24]
add eax, 1
push eax
mov ecx, dword [ebp - 0x20]
add ecx, 0x76c
push ecx
push str.__04d__02d__02d__02d:_02d:_02d:_03d___05d__v_s_
mov edx, dword [ebp - 4]
push edx
call fcn.10049afa
add esp, 0x2c
cmp dword [ebp + 0x14], 0
je 0x1001228a
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x127c], eax
mov ecx, dword [ebp - 0x127c]
add ecx, 1
mov dword [ebp - 0x1280], ecx
mov edx, dword [ebp - 0x127c]
mov al, byte [edx]
mov byte [ebp - 0x1281], al
add dword [ebp - 0x127c], 1
cmp byte [ebp - 0x1281], 0
jne 0x10012241
mov ecx, dword [ebp - 0x127c]
sub ecx, dword [ebp - 0x1280]
mov dword [ebp - 0x1288], ecx
je 0x1001228a
mov edx, dword [ebp + 0x14]
push edx
push 0x19
push str.___s_
mov eax, dword [ebp - 4]
push eax
call fcn.10049afa
add esp, 0x10
cmp dword [ebp + 0x20], 0
jle 0x100122a6
mov ecx, dword [ebp - 4]
push ecx
push 1
mov edx, dword [ebp + 0x20]
push edx
mov eax, dword [ebp + 0x1c]
push eax
call fcn.10048b1f
add esp, 0x10
cmp dword [ebp + 0x18], 1
jne 0x100122bd
push 0x10063a04
mov ecx, dword [ebp - 4]
push ecx
call fcn.10049afa
add esp, 8
mov edx, dword [ebp - 4]
push edx
call fcn.100496a7
add esp, 4
mov eax, dword [ebp - 4]
push eax
call fcn.10048d27
add esp, 4
mov ecx, dword [ebp - 0x38]
xor ecx, ebp
call fcn.10048168
mov esp, ebp
pop ebp
ret 0x1c