Function at 0x10007d70
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10026a83
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x4310
call fcn.1000d8d0
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
push eax
lea ecx, [ebp - 0x120]
mov dword [ebp - 4], 0
call fcn.1000b100
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 1
call fcn.1000b1f0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x7c]
push 0
push ecx
lea ecx, [ebp - 0x120]
call fcn.1000b580
mov edx, dword [ebp - 0x5c]
push 0
push 0
push 0
lea eax, [edx + 1]
push 0
push eax
push 0x1003419c
push 0
lea ecx, [ebp - 0x120]
call fcn.1000b580
push 0x400
push 0x100345a0
push 0xffffffffffffffff
push 0x1003419c
push 1
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 0x5c]
mov ax, word [eax*2 + 0x1003459e]
cmp ax, 0x2f
je 0x10007ffc
cmp ax, 0x5c
je 0x10007ffc
mov eax, dword [ebp + 8]
push 0
lea ecx, [ebp - 0x320]
push 0
lea edx, [ebp - 0x2c]
push ecx
push edx
push eax
call fcn.1000deb8
add esp, 0x14
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.1001f19d
lea edx, [ebp - 0x320]
mov byte [ebp - 4], 2
push edx
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.1001f368
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.1001f129
mov edi, 0x100345a0
xor esi, esi
cmp esi, dword [ebp - 0x5c]
jge 0x10007efe
mov ax, word [esi*2 + 0x100345a0]
cmp ax, 0x2f
je 0x10007e9c
cmp ax, 0x5c
jne 0x10007efb
lea ecx, [ebp - 0x24]
push 1
push ecx
lea ecx, [ebp - 0x14]
mov word [esi*2 + 0x100345a0], 0
call fcn.1001e35c
mov edx, dword [eax]
push 0x1002f370
push edx
call fcn.1000dbe4
add esp, 8
lea ecx, [ebp - 0x24]
test eax, eax
setne bl
call fcn.1001f129
test bl, bl
je 0x10007edf
push 0x5c
lea ecx, [ebp - 0x14]
call fcn.1001f4db
push edi
lea ecx, [ebp - 0x14]
call fcn.1001f4b4
mov eax, dword [ebp - 0x14]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea edi, [esi*2 + 0x100345a2]
inc esi
jmp 0x10007e83
lea ecx, [ebp - 0x14]
push 0x5c
lea edx, [ebp - 0x20]
push ecx
push edx
call fcn.1001e0d0
push edi
push eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 5
push eax
call fcn.1001f368
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 7
call fcn.1001f129
mov ecx, dword [ebp - 0x18]
push 0x1001
push ecx
lea ecx, [ebp - 0x40]
call fcn.1001f695
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 8
call fcn.1000b430
lea edx, [ebp - 0x4320]
push 0x4000
push edx
lea ecx, [ebp - 0x120]
call fcn.1000b5c0
mov esi, eax
test esi, esi
jle 0x10007f75
lea eax, [ebp - 0x4320]
push esi
push eax
lea ecx, [ebp - 0x40]
call fcn.1001f949
cmp esi, 0x4000
jne 0x10007f8e
push 0
push 0x10034da0
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
test eax, eax
je 0x10007f48
push 0
push 0x10034da0
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
test eax, eax
je 0x10007fc5
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 7
call fcn.1001f735
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.1001f129
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.1001f129
jmp 0x10008020
lea ecx, [ebp - 0x7c]
lea edx, [ebp - 0x18]
push ecx
push edx
lea ecx, [ebp - 0x120]
call fcn.1000be50
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 7
call fcn.1001f735
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.1001f129
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.1001f129
lea ecx, [ebp - 0x120]
call fcn.1000b230
test al, al
je 0x10008020
push 0
push 0x10034da0
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
test eax, eax
je 0x10007dbe
lea ecx, [ebp - 0x120]
call fcn.1000b170
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 0
call fcn.1000b7e0
push 0
push 0x10034da0
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
test eax, eax
je 0x10008055
mov dword [0x10034dd4], 0x80010001
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4