Function at 0x10003340
Capabilities:
Create directory
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002bcdd
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x1003c050]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor bl, bl
mov dword [ebp - 4], 0
cmp byte [0x1003ded8], bl
jne 0x100033a4
mov ecx, dword [0x1003decc]
call dword [0x1003dedc]
mov eax, dword [0x1003decc]
cmp eax, dword [0x1003ded0]
je 0x1000376d
mov byte [0x1003ded8], 1
jmp 0x100033a9
mov eax, dword [0x1003decc]
mov cl, byte [0x1003deda]
mov dword [ebp - 0x2c], 0
cmp cl, 1
jne 0x100033fd
cmp byte [0x1003ded9], 1
mov ecx, dword [esi + 0x14]
jne 0x100033e5
cmp ecx, 0x10
jb 0x100033ce
mov esi, dword [esi]
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, dword [0x1003dee0]
push esi
push eax
call dword [0x1003dee8]
jmp 0x100034c0
cmp ecx, 0x10
jb 0x100033ec
mov esi, dword [esi]
lea ecx, [ebp - 0x2c]
push ecx
push esi
push eax
call dword [0x1003dee8]
jmp 0x100034c0
cmp cl, 2
jne 0x10003445
cmp byte [0x1003ded9], 1
mov ecx, dword [esi + 0x14]
jne 0x1000342e
cmp ecx, 0x10
jb 0x10003415
mov esi, dword [esi]
push 0
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, dword [0x1003dee0]
push esi
push eax
call dword [0x1003dee8]
jmp 0x100034c0
cmp ecx, 0x10
jb 0x10003435
mov esi, dword [esi]
push 0
lea ecx, [ebp - 0x2c]
push ecx
push esi
push eax
call dword [0x1003dee8]
jmp 0x100034c0
cmp cl, 3
jne 0x10003494
cmp byte [0x1003ded9], 1
mov ecx, dword [esi + 0x14]
jne 0x10003478
cmp ecx, 0x10
jb 0x1000345d
mov esi, dword [esi]
push 0
push 0x100382fc
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, dword [0x1003dee0]
push esi
push eax
call dword [0x1003dee8]
jmp 0x100034c0
cmp ecx, 0x10
jb 0x1000347f
mov esi, dword [esi]
push 0
push 0x100382fc
lea ecx, [ebp - 0x2c]
push ecx
push esi
push eax
call dword [0x1003dee8]
jmp 0x100034c0
cmp cl, 4
jne 0x1000376d
cmp dword [esi + 0x14], 0x10
jb 0x100034a5
mov esi, dword [esi]
mov ecx, dword [0x1003dee0]
push eax
push 2
push 1
push 0x3ccd193
lea eax, [ebp - 0x2c]
push eax
push esi
call dword [0x1003dee8]
mov bl, al
test bl, bl
je 0x1000376d
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x1000376d
mov eax, dword [0x1003dee4]
mov edx, dword [0x1003decc]
test eax, eax
jne 0x100034f7
mov eax, edx
cmp dword [eax], ecx
je 0x100034ed
inc eax
jmp 0x100034e6
sub eax, edx
add eax, 4
mov dword [0x1003dee4], eax
mov eax, dword [edx + eax]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x1000376d
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
cmp eax, 0x7fffffff
ja 0x100037bb
lea edi, [eax + eax]
cmp edi, 0x1000
jb 0x10003568
lea eax, [edi + 0x23]
cmp eax, edi
jbe 0x100037c0
push eax
call fcn.10010223
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x100037c5
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x10003579
test edi, edi
je 0x10003577
push edi
call fcn.10010223
add esp, 4
jmp 0x10003579
xor eax, eax
push edi
lea esi, [edi + eax]
mov dword [ebp - 0x1c], eax
push 0
push eax
mov dword [ebp - 0x14], esi
call fcn.10011fc0
add esp, 0xc
mov dword [ebp - 0x18], esi
push dword [ebp - 0x34]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x2c]
call fcn.10002f20
mov ecx, dword [ebp - 0x1c]
add esp, 4
test al, al
je 0x10003728
cmp ecx, dword [ebp - 0x18]
je 0x10003728
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x4c], 0
push 1
push 0x10038300
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
mov byte [ebp - 4], 1
call fcn.10008870
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 3
push eax
lea edx, [ebp + 8]
lea ecx, [ebp - 0x28]
call fcn.10002d80
mov edx, dword [ebp - 0x38]
add esp, 4
cmp edx, 0x10
jb 0x1000363f
mov ecx, dword [ebp - 0x4c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10003635
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100037c5
push edx
push ecx
call fcn.10010572
add esp, 8
mov esi, dword [ebp - 0x28]
mov edi, dword [ebp - 0x24]
cmp esi, edi
je 0x1000366a
nop dword [eax]
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x1000365a
mov eax, dword [esi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
add esi, 0x18
cmp esi, edi
jne 0x10003650
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push 0x10038304
cmovae eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0
push eax
call fcn.10018727
mov eax, dword [ebp - 0x30]
add esp, 0xc
test eax, eax
je 0x100036b6
mov ecx, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
sub eax, ecx
sar eax, 1
push eax
push 1
push ecx
call fcn.10018576
push dword [ebp - 0x30]
call fcn.10017fd5
add esp, 0x14
mov bl, 1
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x10003725
mov edx, dword [ebp - 0x24]
push ecx
call fcn.10009f50
mov ecx, dword [ebp - 0x20]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x28]
add esp, 4
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x10003706
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100037c5
push ecx
push esi
call fcn.10010572
add esp, 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x1000376d
mov edx, dword [ebp - 0x14]
mov eax, ecx
sub edx, ecx
and edx, 0xfffffffe
cmp edx, 0x1000
jb 0x1000374e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100037c5
push edx
push ecx
call fcn.10010572
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x1000379d
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10003793
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100037c5
push edx
push ecx
call fcn.10010572
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10010210
mov esp, ebp
pop ebp
ret
call fcn.10006f30
call fcn.100011c0
call fcn.10019cff
int3