Function at 0x1000319d
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1118
call fcn.10014040
mov eax, dword [0x1002b060]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
mov edi, 0x1002c760
push edi
mov dword [ebp - 0x1118], eax
call dword [0x10031114]
cmp eax, 0xffffffff
je 0x10003629
push ebx
push esi
mov esi, 0x400
xor ebx, ebx
push esi
lea eax, [ebp - 0x908]
push ebx
push eax
mov dword [ebp - 0x1110], ebx
call fcn.10011d50
push esi
lea eax, [ebp - 0x1108]
push ebx
push eax
call fcn.10011d50
push dword [ebp - 0x1118]
lea eax, [ebp - 0x1108]
push str._s.log
push eax
call fcn.100137e6
lea eax, [ebp - 0x1108]
push eax
push dword [ebp - 0x1118]
lea eax, [ebp - 0x908]
push edi
push str.cmd.exe__c__s_vb__ibck___y__p____s_____s_
push eax
call fcn.100137e6
add esp, 0x38
push ebx
lea eax, [ebp - 0x908]
push eax
call dword [0x1003010c]
push 0x3e8
call dword [0x1002dd7c]
lea eax, [ebp - 0x1108]
push 0x100228fc
push eax
call fcn.1001401f
push eax
push 1
mov dword [ebp - 0x110c], eax
lea eax, [ebp - 0x508]
push esi
push eax
call fcn.10013f46
push dword [ebp - 0x110c]
call fcn.10013c88
lea eax, [ebp - 0x1108]
push eax
call fcn.10014935
lea eax, [ebp - 0x508]
push eax
mov dword [ebp - 0x1114], eax
call fcn.10021bb5
lea eax, [ebp - 0x508]
push str.data_r_n
push eax
call fcn.10013760
add esp, 0x2c
test eax, eax
je 0x100032db
lea eax, [ebp - 0x508]
push str..wil_r_n
push eax
call fcn.10013760
pop ecx
pop ecx
test eax, eax
je 0x100032db
mov dword [ebp - 0x1110], 1
jmp 0x100032f6
lea eax, [ebp - 0x508]
push str..exe_r_n
push eax
call fcn.10013760
pop ecx
pop ecx
test eax, eax
je 0x10003627
lea eax, [ebp - 0x508]
jmp 0x1000335d
push 0x10022a98
push dword [ebp - 0x1114]
call fcn.10013760
mov dword [ebp - 0x110c], eax
mov byte [eax], bl
add eax, 0xfffffffc
push str..exe
push eax
call fcn.10014970
add esp, 0x10
test eax, eax
je 0x10003373
mov eax, dword [ebp - 0x110c]
add eax, 0xfffffffc
push str.data
push eax
call fcn.10014970
pop ecx
pop ecx
test eax, eax
jne 0x1000334e
cmp dword [ebp - 0x1110], 1
je 0x10003373
mov eax, dword [ebp - 0x110c]
add eax, 2
mov dword [ebp - 0x1114], eax
push 0x10022a98
push eax
call fcn.10013760
pop ecx
pop ecx
test eax, eax
jne 0x100032fe
jmp 0x10003627
push esi
lea eax, [ebp - 0xd08]
push ebx
push eax
call fcn.10011d50
push 0x104
lea eax, [ebp - 0x108]
push ebx
push eax
call fcn.10011d50
push 0x5c
push dword [ebp - 0x1114]
call fcn.100136a0
add esp, 0x20
test eax, eax
je 0x10003574
mov eax, dword [ebp - 0x1114]
push 0x5c
push eax
mov dword [ebp - 0x1110], ebx
mov dword [ebp - 0x110c], eax
call fcn.100136a0
pop ecx
pop ecx
jmp 0x100033ee
inc dword [ebp - 0x1110]
push 0x5c
push dword [ebp - 0x110c]
call fcn.100136a0
inc eax
push 0x5c
push eax
mov dword [ebp - 0x110c], eax
call fcn.100136a0
add esp, 0x10
test eax, eax
jne 0x100033c9
push dword [ebp - 0x1114]
lea eax, [ebp - 0xd08]
push str._s.._
push eax
call fcn.100137e6
add esp, 0xc
lea eax, [ebp - 0xd08]
push eax
mov dword [ebp - 0x110c], ebx
call dword [0x10031114]
cmp eax, 0xffffffff
jne 0x10003479
push esi
lea eax, [ebp - 0x908]
push ebx
push eax
mov dword [ebp - 0x110c], 1
call fcn.10011d50
push esi
lea eax, [ebp - 0x508]
push ebx
push eax
call fcn.10011d50
lea eax, [ebp - 0xd08]
push eax
lea eax, [ebp - 0x908]
push str.cmd.exe__c_md___s_
push eax
call fcn.100137e6
push ebx
lea eax, [ebp - 0x508]
push eax
lea eax, [ebp - 0x908]
push eax
call fcn.10002a22
add esp, 0x30
lea eax, [ebp - 0xd08]
push eax
lea eax, [ebp - 0x108]
push 0x10022a70
push eax
call fcn.100137e6
add esp, 0xc
push 1
lea eax, [ebp - 0x108]
push eax
push 0x1002c448
call dword [0x1003145c]
push 6
lea eax, [ebp - 0x108]
push eax
call dword [0x100311b4]
push esi
lea eax, [ebp - 0x908]
push ebx
push eax
call fcn.10011d50
push esi
lea eax, [ebp - 0x508]
push ebx
push eax
call fcn.10011d50
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x1118]
lea eax, [ebp - 0x908]
push edi
push str.cmd.exe__c__s_a__inul__y__ep2__o____s____s_
push eax
call fcn.100137e6
push ebx
lea eax, [ebp - 0x508]
push eax
lea eax, [ebp - 0x908]
push eax
call fcn.10002a22
add esp, 0x38
push ebx
lea eax, [ebp - 0x108]
push eax
call dword [0x100311b4]
lea eax, [ebp - 0x108]
push eax
call fcn.10014935
cmp dword [ebp - 0x110c], 1
pop ecx
jne 0x10003627
lea eax, [ebp - 0xd08]
push eax
call dword [0x100310bc]
mov esi, dword [ebp - 0x1110]
cmp esi, ebx
jle 0x10003627
lea eax, [ebp - 0xd08]
push 0x10022a3c
push eax
call fcn.10013aa0
pop ecx
pop ecx
lea eax, [ebp - 0xd08]
push eax
call dword [0x100310bc]
dec esi
jne 0x1000354c
jmp 0x10003627
lea eax, [ebp - 0x108]
push 0x10022a30
push eax
call fcn.10013a90
pop ecx
pop ecx
push 1
lea eax, [ebp - 0x108]
push eax
push 0x1002c448
call dword [0x1003145c]
push 6
lea eax, [ebp - 0x108]
push eax
call dword [0x100311b4]
push esi
lea eax, [ebp - 0x908]
push ebx
push eax
call fcn.10011d50
push esi
lea eax, [ebp - 0x508]
push ebx
push eax
call fcn.10011d50
add esp, 0x18
push ebx
push dword [ebp - 0x1118]
call dword [0x100311b4]
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x1118]
lea eax, [ebp - 0x908]
push edi
push str.cmd.exe__c__s_a___y__ep__o____s____s_
push eax
call fcn.100137e6
push ebx
lea eax, [ebp - 0x508]
push eax
lea eax, [ebp - 0x908]
push eax
call fcn.10002a22
add esp, 0x20
push ebx
lea eax, [ebp - 0x108]
push eax
call dword [0x100311b4]
lea eax, [ebp - 0x108]
push eax
call fcn.10014935
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.1001386a
leave
ret