Function at 0x4038e3
Capabilities:
Create directory

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0xa8
mov eax, dword [0x4377f4]
push ebx
xor eax, ebp
push esi
mov esi, ecx
mov dword [ebp + 0x6c], eax
mov eax, dword [ebp + 0x7c]
push edi
mov edi, dword [ebp + 0x78]
lea ecx, [esi + 8]
mov dword [ebp + 0x30], eax
mov dword [esi], 0x42c748
call fcn.0040246b
lea ecx, [esi + 0x24]
call fcn.0040246b
xor ebx, ebx
push edi
lea ecx, [ebp + 0x34]
mov byte [esi + 0x44], 1
mov dword [esi + 0x40], ebx
mov dword [ebp + 0x20], ebx
mov dword [ebp + 0x24], ebx
mov dword [ebp + 0x28], ebx
call fcn.004028ce
mov edi, 0x42c744
push edi
lea ecx, [ebp]
call fcn.0040299a
push 0x42c6fc
lea ecx, [ebp - 0x1c]
call fcn.0040299a
lea eax, [ebp]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 0x34]
push eax
call fcn.00414850
add esp, 0xc
push ebx
push 1
lea ecx, [ebp - 0x1c]
call fcn.00402285
push ebx
push 1
lea ecx, [ebp]
call fcn.00402285
push edi
lea ecx, [ebp]
call fcn.0040299a
push ebx
lea eax, [ebp]
push eax
lea eax, [ebp + 0x34]
push eax
lea eax, [ebp + 0x1c]
push eax
call fcn.00414700
add esp, 0x10
push ebx
push 1
lea ecx, [ebp]
call fcn.00402285
mov eax, dword [ebp + 0x24]
push 0xffffffffffffffff
push ebx
add eax, 0xffffffe4
push eax
lea ecx, [esi + 8]
call fcn.004026ab
push 0xffffffffffffffff
push ebx
push dword [ebp + 0x30]
lea ecx, [esi + 0x24]
call fcn.004026ab
push 0x42c5d4
lea ecx, [ebp + 0x50]
call fcn.0040299a
lea ecx, [ebp + 0x1c]
mov dword [ebp + 0x30], ebx
call fcn.00401efc
dec eax
je 0x403a8d
mov dword [ebp + 0x2c], ebx
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x2c]
lea edi, [ecx + eax]
push 0x42c6fc
lea ecx, [ebp - 0x38]
call fcn.0040299a
push eax
push edi
lea eax, [ebp + 0x50]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00402a92
add esp, 0xc
push eax
lea eax, [ebp]
push eax
call fcn.00402a92
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp + 0x50]
call fcn.004026ab
push ebx
push 1
lea ecx, [ebp]
call fcn.00402285
push ebx
push 1
lea ecx, [ebp - 0x1c]
call fcn.00402285
push ebx
push 1
lea ecx, [ebp - 0x38]
call fcn.00402285
cmp dword [ebp + 0x68], 0x10
mov eax, dword [ebp + 0x54]
jae 0x403a55
lea eax, [ebp + 0x54]
push eax
call fcn.00407cbf
test al, al
pop ecx
jne 0x403a74
cmp dword [ebp + 0x68], 0x10
mov eax, dword [ebp + 0x54]
jae 0x403a6c
lea eax, [ebp + 0x54]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
inc dword [ebp + 0x30]
add dword [ebp + 0x2c], 0x1c
lea ecx, [ebp + 0x1c]
call fcn.00401efc
dec eax
cmp dword [ebp + 0x30], eax
jb 0x4039e7
lea eax, [esi + 8]
push eax
lea eax, [ebp + 0x50]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00402a92
add esp, 0xc
cmp dword [eax + 0x18], 0x10
jb 0x403aac
mov eax, dword [eax + 4]
jmp 0x403aaf
add eax, 4
push ebx
push 0x10000080
push 2
push ebx
push ebx
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push ebx
push 1
lea ecx, [ebp - 0x38]
mov dword [esi + 4], eax
call fcn.00402285
cmp dword [esi + 4], 0xffffffff
jne 0x403adc
mov byte [esi + 0x44], bl
push ebx
push 1
lea ecx, [ebp + 0x50]
call fcn.00402285
push ebx
push 1
lea ecx, [ebp + 0x34]
call fcn.00402285
lea ecx, [ebp + 0x1c]
call fcn.00403335
mov ecx, dword [ebp + 0x6c]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041c2f6
add ebp, 0x70
leave
ret 8