Function at 0x405910
Capabilities:
Create directory
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x48a0a3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xec
mov eax, dword [0x4a9198]
push ebx
push ebp
push esi
mov dword [esp + 0xf4], eax
mov eax, dword [esp + 0x108]
push edi
mov esi, ecx
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.00404d40
add esp, 8
mov edx, 0x7f007f
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], edx
xor ecx, ecx
mov dword [esp + 0x5c], edx
mov eax, 0x2e
mov dword [esp + 0x104], ecx
mov dword [esp + 0x60], edx
mov word [esp + 0x6e], cx
push 0x48f048
lea ecx, [esp + 0x24]
mov word [esp + 0x68], dx
mov word [esp + 0x6a], 0xe3
mov word [esp + 0x6c], ax
mov word [esp + 0x6e], ax
mov word [esp + 0x70], 0x5c
call fcn.00402300
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x24]
push 0x48ef2c
push ecx
mov byte [esp + 0x110], 1
call fcn.00402db0
add esp, 0xc
push 0x48f00c
lea ecx, [esp + 0x30]
call fcn.00402300
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x18]
push ecx
mov byte [esp + 0x110], 2
call fcn.00403920
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x30]
push ecx
mov byte [esp + 0x11c], 3
call fcn.00403920
push 0x48f0f0
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0x128], 4
call fcn.00402dd0
push 0x48f0e4
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x44]
push edx
mov byte [esp + 0x134], 5
call fcn.00402dd0
mov ebx, 6
push 0x48f0d4
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x5c]
push ecx
mov byte [esp + 0x140], bl
call fcn.00402dd0
lea edx, [esp + 0x4c]
push edx
mov byte [esp + 0x144], 7
call fcn.00403bf0
mov ebp, dword [sym.imp.kernel32.dll_CreateDirectoryW]
mov edi, dword [sym.imp.kernel32.dll_SetFileAttributesW]
add esp, 0x40
test eax, eax
jne 0x405aa8
mov eax, dword [esp + 0x10]
push 0
push eax
call ebp
test eax, eax
je 0x405b7e
mov eax, dword [esp + 0x10]
push ebx
push eax
call edi
lea ecx, [esp + 0x30]
call fcn.004023a0
push 7
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x38]
mov byte [esp + 0x10c], 8
call fcn.004022a0
lea ecx, [esp + 0x30]
call fcn.00402520
lea edx, [esp + 0x1c]
push edx
call fcn.00403bf0
add esp, 4
test eax, eax
jne 0x405afe
push eax
mov eax, dword [esp + 0x20]
push eax
call ebp
test eax, eax
je 0x405b6d
mov eax, dword [esp + 0x10]
push ebx
push eax
mov dword [esi + 4], 1
call edi
lea ecx, [esp + 0x14]
push ecx
call fcn.00403bf0
add esp, 4
test eax, eax
jne 0x405b23
mov edx, dword [esp + 0x14]
push eax
push edx
call ebp
test eax, eax
je 0x405b6d
mov eax, dword [esp + 0x14]
push ebx
push eax
call edi
lea ecx, [esp + 0x18]
push ecx
call fcn.00403bf0
add esp, 4
test eax, eax
jne 0x405b48
mov edx, dword [esp + 0x18]
push eax
push edx
call ebp
test eax, eax
je 0x405b6d
mov eax, dword [esp + 0x18]
push ebx
push eax
call edi
lea ecx, [esp + 0x24]
push ecx
call fcn.00403bf0
add esp, 4
test eax, eax
jne 0x405d0c
mov edx, dword [esp + 0x24]
push eax
push edx
call ebp
test eax, eax
jne 0x405cb7
lea ecx, [esp + 0x30]
mov byte [esp + 0x104], 7
call fcn.00401f40
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x104], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405ba3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x104], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405bc9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x104], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405bef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x104], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405c15
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x104], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405c3b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x104], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405c61
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x104], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405c87
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov dword [esp + 0x104], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405cb0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor al, al
jmp 0x405e51
mov eax, dword [esp + 0x18]
push ebx
push eax
mov dword [esi + 4], 1
call edi
cmp dword [esi + 4], 0
je 0x405d0c
xor eax, eax
mov ecx, 0x22
lea edi, [esp + 0x70]
rep stosd dword es:[edi], eax
push 0x48f0c4
lea ecx, [esp + 0x7c]
push ecx
mov dword [esp + 0x78], 0x88
mov dword [esp + 0x7c], 2
call dword [sym.imp.kernel32.dll_lstrcpyW]
lea edx, [esp + 0x70]
push edx
mov ecx, esi
call fcn.004055c0
mov ecx, esi
call fcn.004056d0
lea ecx, [esp + 0x30]
mov byte [esp + 0x104], 7
call fcn.00401f40
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x104], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405d42
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x104], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405d68
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x104], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405d8e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x104], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405db4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x104], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405dda
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x104], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405e00
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x104], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405e26
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov dword [esp + 0x104], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405e4f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov al, 1
mov ecx, dword [esp + 0xfc]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0xec]
pop ebx
call fcn.0046a6a2
add esp, 0xf8
ret 4