Function at 0x4045d0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5736b0
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
push edi
mov eax, dword [0x5bda40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 4], 1
push 0x26
lea eax, [ebp - 0x24]
push eax
call fcn.004fac60
add esp, 8
mov byte [ebp - 4], 2
push 0x5a0270
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x20]
push edx
call fcn.00406e40
add esp, 0xc
mov byte [ebp - 4], 3
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
lea eax, [ebp - 0x20]
push eax
call fcn.004068e0
mov dword [ebp - 0x70], eax
call fcn.0050ba00
add esp, 4
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0
jne 0x404690
mov byte [ebp - 0x31], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.004072c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.004072c0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004072c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004072c0
mov al, byte [ebp - 0x31]
jmp 0x404ae0
lea ecx, [ebp - 0x14]
call fcn.00410610
mov byte [ebp - 4], 4
push 0x19
lea ecx, [ebp - 0x38]
push ecx
call fcn.004fac60
add esp, 8
mov dword [ebp - 0x78], eax
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x7c], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ecx]
push edx
push 0x5a02b0
lea eax, [ebp - 0x14]
push eax
call fcn.004089d0
add esp, 0x10
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38]
call fcn.004072c0
lea ecx, [ebp - 0x1c]
call fcn.00410610
mov byte [ebp - 4], 6
push 0x26
lea ecx, [ebp - 0x3c]
push ecx
call fcn.004fac60
add esp, 8
mov dword [ebp - 0x80], eax
mov edx, dword [ebp - 0x80]
mov dword [ebp - 0x84], edx
mov byte [ebp - 4], 7
push 0x5a02c4
mov eax, dword [ebp - 0x84]
push eax
lea ecx, [ebp - 0x40]
push ecx
call fcn.00406e40
add esp, 0xc
mov dword [ebp - 0x88], eax
mov edx, dword [ebp - 0x88]
mov dword [ebp - 0x8c], edx
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00406980
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x40]
call fcn.004072c0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x3c]
call fcn.004072c0
push 0x5a02c8
lea ecx, [ebp - 0x1c]
call fcn.00406a60
push ecx
mov ecx, esp
mov dword [ebp - 0x44], esp
lea edx, [ebp - 0x1c]
push edx
call fcn.004068e0
mov dword [ebp - 0x90], eax
call fcn.0050ba00
add esp, 4
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0
jne 0x4047a7
push 0
lea ecx, [ebp - 0x1c]
call fcn.004072e0
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
push 0x5a02d4
lea ecx, [ebp - 0x1c]
call fcn.00406a60
cmp dword [ebp + 0x14], 0
je 0x4047c3
mov dword [ebp - 0x10], 0xc
jmp 0x4047ca
mov dword [ebp - 0x10], 8
push 0x5a02d8
lea ecx, [ebp - 0x28]
call fcn.00406900
mov byte [ebp - 4], 9
cmp dword [ebp + 0x10], 0
jne 0x4047fa
push 0
lea eax, [ebp - 0x2c]
push eax
lea edi, [ebp - 0x28]
call fcn.004fa1b0
add esp, 8
lea ecx, [ebp - 0x2c]
call fcn.004072c0
mov dword [ebp - 0x18], 0
cmp dword [ebp + 0x14], 0
je 0x4048e7
mov ecx, dword [ebp + 0x18]
push ecx
push 1
mov edx, dword [ebp - 0x10]
and edx, 0x20
neg edx
sbb edx, edx
and edx, 3
push edx
mov eax, dword [ebp - 0x10]
and eax, 0x10
neg eax
sbb eax, eax
neg eax
push eax
mov ecx, dword [ebp - 0x10]
and ecx, 8
neg ecx
sbb ecx, ecx
and ecx, 3
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x48], esp
lea edx, [ebp - 0x1c]
push edx
call fcn.004068e0
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x9c], eax
mov byte [ebp - 4], 0xa
push ecx
mov ecx, esp
mov dword [ebp - 0x4c], esp
lea edx, [ebp + 0xc]
push edx
call fcn.004068e0
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xa4], eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x28]
call fcn.004072e0
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x50], esp
lea edx, [ebp + 8]
push edx
call fcn.004068e0
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xac], eax
mov byte [ebp - 4], 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0x54], esp
lea edx, [ebp - 0x20]
push edx
call fcn.004068e0
mov dword [ebp - 0xb0], eax
mov byte [ebp - 4], 9
call fcn.004ebf30
add esp, 0x28
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x18], eax
jmp 0x4049be
mov ecx, dword [ebp + 0x18]
push ecx
push 0
mov edx, dword [ebp - 0x10]
and edx, 0x20
neg edx
sbb edx, edx
and edx, 3
push edx
mov eax, dword [ebp - 0x10]
and eax, 0x10
neg eax
sbb eax, eax
neg eax
push eax
mov ecx, dword [ebp - 0x10]
and ecx, 8
neg ecx
sbb ecx, ecx
and ecx, 3
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x58], esp
lea edx, [ebp - 0x1c]
push edx
call fcn.004068e0
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xbc], eax
mov byte [ebp - 4], 0xd
push ecx
mov ecx, esp
mov dword [ebp - 0x5c], esp
lea edx, [ebp + 0xc]
push edx
call fcn.004068e0
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xc4], eax
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x28]
call fcn.004072e0
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x60], esp
lea edx, [ebp + 8]
push edx
call fcn.004068e0
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xcc], eax
mov byte [ebp - 4], 0xf
push ecx
mov ecx, esp
mov dword [ebp - 0x64], esp
lea edx, [ebp - 0x20]
push edx
call fcn.004068e0
mov dword [ebp - 0xd0], eax
mov byte [ebp - 4], 9
call fcn.004ebf30
add esp, 0x28
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x404a29
mov byte [ebp - 0x65], 1
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x28]
call fcn.004072c0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.004072c0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.004072c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.004072c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.004072c0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004072c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004072c0
mov al, byte [ebp - 0x65]
jmp 0x404ae0
mov byte [ebp - 0x66], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x28]
call fcn.004072c0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.004072c0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.004072c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.004072c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.004072c0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004072c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004072c0
mov al, byte [ebp - 0x66]
jmp 0x404ae0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret 0x14