Function at 0x1382380
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x13d4
call fcn.01382e50
mov eax, dword [0x1399000]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0xf80]
push eax
call 0x4f90d6b
nop
push 0x104
lea ecx, [ebp - 0xd78]
push ecx
call 0x4f90c33
nop
mov edx, 1
test edx, edx
je 0x138252c
push 0x13926d4
push 0x13926e0
push 0x13926e8
lea eax, [ebp - 0x24c]
push eax
call 0x4fc023a
nop
add esp, 0x10
push 0
lea ecx, [ebp - 0x24c]
push ecx
call fcn.013810c0
add esp, 8
test eax, eax
je 0x138241c
push 0x10
push 0x13926fc
push 0x1392704
call 0x4fc0234
nop
push eax
call 0x4fc0000
nop
xor eax, eax
jmp 0x1382a57
push 0x1392720
push 0x1392728
push 0x1392730
lea edx, [ebp - 0x24c]
push edx
call 0x4fc023a
nop
add esp, 0x10
push 0
lea eax, [ebp - 0x24c]
push eax
call fcn.013810c0
add esp, 8
test eax, eax
je 0x1382470
push 0x10
push 0x1392750
push 0x1392758
call 0x4fc0234
nop
push eax
call 0x4fc0000
nop
xor eax, eax
jmp 0x1382a57
push 0x1392770
push 0x1392778
push 0x1392780
lea ecx, [ebp - 0x24c]
push ecx
call 0x4fc023a
nop
add esp, 0x10
push 0
lea edx, [ebp - 0x24c]
push edx
call fcn.013810c0
add esp, 8
test eax, eax
je 0x13824c4
push 0x10
push 0x1392794
push 0x139279c
call 0x4fc0234
nop
push eax
call 0x4fc0000
nop
xor eax, eax
jmp 0x1382a57
mov dword [ebp - 0x13ac], 0
cmp dword [ebp - 0x13ac], 0
jne 0x138252c
push 1
push 0x13927e4
call fcn.013810c0
add esp, 8
mov dword [ebp - 0x13a4], eax
cmp dword [ebp - 0x13a4], 0
je 0x138251e
push 0
mov eax, dword [ebp - 0x13a4]
push eax
push 0
push 1
call 0x4f70eee
nop
push eax
call 0x4f80000
nop
push 0x1f4
call 0x4f80418
nop
jmp 0x13824ce
mov dword [ebp - 0x13ac], 1
jmp 0x13824ce
mov ecx, 1
test ecx, ecx
je 0x13826f6
call 0x4f90b68
nop
mov dword [ebp - 0x13d0], eax
push 0x139280c
mov edx, dword [ebp - 0x13d0]
push edx
call fcn.01382320
add esp, 8
test eax, eax
jne 0x13826f6
push 0x104
lea eax, [ebp - 0x968]
push eax
push 0
call 0x4f90aab
nop
lea ecx, [ebp - 0x968]
push ecx
push 0x1392834
lea edx, [ebp - 0x65c]
push edx
call 0x4fc023a
nop
add esp, 0xc
push 0x1392850
lea eax, [ebp - 0xf80]
push eax
push 0x1392868
lea ecx, [ebp - 0x65c]
push ecx
call 0x4fc023a
nop
add esp, 0x10
push 0
lea edx, [ebp - 0x65c]
push edx
lea eax, [ebp - 0x968]
push eax
call 0x4f90e21
nop
test eax, eax
jne 0x138261c
push 0x10
push 0x1392884
push 0x13928a4
call 0x4fc0234
nop
push eax
call 0x4fc0000
nop
push 0
call 0x4f70fc0
nop
push eax
call 0x4f80000
nop
mov dword [ebp - 0x13c4], 0
mov ecx, dword [ebp - 0x13c4]
mov dword [ecx], 0
push 0xfffffff
call 0x4f80418
nop
xor eax, eax
jmp 0x1382a57
mov dword [ebp - 0x1398], 0
push 0x13928b4
lea edx, [ebp - 0x65c]
push edx
lea eax, [ebp - 0x1398]
push eax
call fcn.0138477e
add esp, 0xc
cmp dword [ebp - 0x1398], 0
je 0x1382691
push 0x20
lea ecx, [ebp - 0x44]
push ecx
call fcn.01381250
add esp, 8
push 2
push 0
mov edx, dword [ebp - 0x1398]
push edx
call fcn.013849ff
add esp, 0xc
mov eax, dword [ebp - 0x1398]
push eax
push 1
push 0x20
lea ecx, [ebp - 0x44]
push ecx
call fcn.01384bdb
add esp, 0x10
mov edx, dword [ebp - 0x1398]
push edx
call fcn.013848f9
add esp, 4
lea eax, [ebp - 0x65c]
push eax
push 0x13928bc
lea ecx, [ebp - 0x760]
push ecx
call 0x18e7887
nop
add esp, 0xc
push 5
lea edx, [ebp - 0x760]
push edx
call 0x4f90000
nop
push 0
call 0x4f70fc0
nop
push eax
call 0x4f80000
nop
mov dword [ebp - 0x13cc], 0
mov eax, dword [ebp - 0x13cc]
mov dword [eax], 0
push 0xfffffff
call 0x4f80418
nop
mov eax, 1
jmp 0x1382a57
mov ecx, 1
test ecx, ecx
je 0x138274e
push 0x13928c8
push 1
push 0
call 0x4f90aa5
nop
mov dword [ebp - 0x13d4], eax
call 0x4f800e1
nop
cmp eax, 0xb7
jne 0x138274e
push 0x10
push 0x13928e0
push 0x13928e8
call 0x4fc0234
nop
push eax
call 0x4fc0000
nop
mov edx, dword [ebp - 0x13d4]
push edx
call 0x4f80412
nop
xor eax, eax
jmp 0x1382a57
push 0x1392900
push 0x82
mov eax, dword [ebp + 8]
push eax
call 0x4f90b6e
nop
mov dword [ebp - 0x13a8], eax
mov ecx, dword [ebp - 0x13a8]
push ecx
mov edx, dword [ebp + 8]
push edx
call 0x4f8041e
nop
mov dword [ebp - 0x13b8], eax
mov eax, dword [ebp - 0x13b8]
push eax
call 0x4f70e47
nop
mov dword [ebp - 0x139c], eax
mov ecx, dword [ebp - 0x13a8]
push ecx
mov edx, dword [ebp + 8]
push edx
call 0x4f804e7
nop
mov dword [ebp - 0x13a0], eax
cmp dword [ebp - 0x139c], 0
je 0x13827bb
cmp dword [ebp - 0x13a0], 0
jne 0x138280b
push 0x10
push 0x139292c
push 0x139294c
call 0x4fc0234
nop
push eax
call 0x4fc0000
nop
push 0
call 0x4f70fc0
nop
push eax
call 0x4f80000
nop
mov dword [ebp - 0x13c8], 0
mov eax, dword [ebp - 0x13c8]
mov dword [eax], 0
push 0xfffffff
call 0x4f80418
nop
xor eax, eax
jmp 0x1382a57
push 0x104
lea ecx, [ebp - 0x1390]
push ecx
call 0x4f90c33
nop
push 0x139295c
push 0x1392964
lea edx, [ebp - 0x1390]
push edx
push 0x139296c
lea eax, [ebp - 0x454]
push eax
call 0x4fc023a
nop
add esp, 0x14
push 0
lea ecx, [ebp - 0x454]
push ecx
call fcn.013846e0
add esp, 8
test eax, eax
jne 0x1382870
lea edx, [ebp - 0x454]
push edx
call 0x4f90e1b
nop
push 0x12c
call 0x4f80418
nop
mov dword [ebp - 0x1394], 0
push 0x1392984
lea eax, [ebp - 0x454]
push eax
lea ecx, [ebp - 0x1394]
push ecx
call fcn.0138477e
add esp, 0xc
cmp dword [ebp - 0x1394], 0
jne 0x13828ee
push 0x10
push 0x139298c
push 0x13929ac
call 0x4fc0234
nop
push eax
call 0x4fc0000
nop
push 0
call 0x4f70fc0
nop
push eax
call 0x4f80000
nop
mov dword [ebp - 0x13c0], 0
mov edx, dword [ebp - 0x13c0]
mov dword [edx], 0
push 0xfffffff
call 0x4f80418
nop
xor eax, eax
jmp 0x1382a57
mov eax, dword [ebp - 0x1394]
push eax
push 1
mov ecx, dword [ebp - 0x13a0]
push ecx
mov edx, dword [ebp - 0x139c]
push edx
call fcn.01384bdb
add esp, 0x10
push 0x20
lea eax, [ebp - 0x24]
push eax
call fcn.01381250
add esp, 8
push 2
push 0
mov ecx, dword [ebp - 0x1394]
push ecx
call fcn.013849ff
add esp, 0xc
mov edx, dword [ebp - 0x1394]
push edx
push 1
push 0x20
lea eax, [ebp - 0x24]
push eax
call fcn.01384bdb
add esp, 0x10
mov ecx, dword [ebp - 0x1394]
push ecx
call fcn.013848f9
add esp, 4
push 0x208
push 0
lea edx, [ebp - 0x454]
push edx
call fcn.01383670
add esp, 0xc
push 0x13929bc
push 0x13929d4
lea eax, [ebp - 0x1188]
push eax
call 0x4fc023a
nop
add esp, 0xc
lea ecx, [ebp - 0x1188]
push ecx
lea edx, [ebp - 0xd78]
push edx
push 0x13929dc
lea eax, [ebp - 0xb70]
push eax
call 0x4fc023a
nop
add esp, 0x10
lea ecx, [ebp - 0xb70]
push ecx
call 0xff0216
nop
test eax, eax
jne 0x1382a05
push 0x10
push 0x13929e8
push 0x1392a08
call 0x4fc0234
nop
push eax
call 0x4fc0000
nop
push 0
call 0x4f70fc0
nop
push eax
call 0x4f80000
nop
mov dword [ebp - 0x13b0], 0
mov edx, dword [ebp - 0x13b0]
mov dword [edx], 0
push 0xfffffff
call 0x4f80418
nop
xor eax, eax
jmp 0x1382a57
mov dword [ebp - 0x13b4], 0
cmp dword [ebp - 0x13b4], 0
jne 0x1382a25
push 0x3e8
call 0x4f80418
nop
jmp 0x1382a0f
push 0
call 0x4f70fc0
nop
push eax
call 0x4f80000
nop
mov dword [ebp - 0x13bc], 0
mov eax, dword [ebp - 0x13bc]
mov dword [eax], 0
push 0xfffffff
call 0x4f80418
nop
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01382e37
mov esp, ebp
pop ebp
ret 0x10