Function at 0x40a790
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56f938
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x5f0bf8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 4], 1
mov eax, dword [ebp + 0xc]
push eax
call fcn.0040a510
mov ecx, dword [ebp + 0xc]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea ecx, [ebp - 0x6c]
call fcn.00453c62
mov byte [ebp - 4], 2
push str..
lea ecx, [ebp - 0x10]
call fcn.00403d20
mov bl, 3
mov byte [ebp - 4], bl
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x20]
push ecx
call fcn.00409b60
add esp, 0xc
mov byte [ebp - 4], 4
mov eax, dword [eax]
push 0
push eax
lea ecx, [ebp - 0x6c]
call fcn.00453ce6
mov esi, eax
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40a83d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a860
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x40ac11
mov bl, 0x14
lea ebx, [ebx]
lea ecx, [ebp - 0x6c]
call fcn.00453a4a
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x48], eax
call fcn.00453c24
test eax, eax
jne 0x40ac07
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx + 0x38]
push 4
lea ecx, [ebp - 0x6c]
call eax
test eax, eax
jne 0x40ac07
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx + 0x38]
push 2
lea ecx, [ebp - 0x6c]
call eax
test eax, eax
jne 0x40ac07
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx + 0x38]
push 0x10
lea ecx, [ebp - 0x6c]
call eax
test eax, eax
je 0x40ab26
push 0x589390
lea ecx, [ebp - 0x14]
call fcn.00403d20
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x6c]
call fcn.00453fc2
mov esi, eax
mov byte [ebp - 4], 8
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x24]
push ecx
call fcn.00409b60
mov byte [ebp - 4], 9
push esi
push eax
lea edx, [ebp - 0x10]
push edx
call fcn.00409b60
add esp, 0x18
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a933
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a956
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a979
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax - 8]
mov ecx, 1
sub ecx, dword [eax - 4]
or edx, ecx
jge 0x40a998
push 0
lea ecx, [ebp - 0x10]
call fcn.00401e20
mov eax, dword [ebp - 0x10]
push eax
call fcn.005441a7
add esp, 4
push 0x589390
lea ecx, [ebp - 0x1c]
call fcn.00403d20
mov byte [ebp - 4], 0x11
push 0x589390
lea ecx, [ebp - 0x18]
call fcn.00403d20
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x6c]
call fcn.00453fc2
mov esi, eax
mov byte [ebp - 4], 0x13
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x34]
push ecx
call fcn.00409b60
mov byte [ebp - 4], bl
add esp, 8
mov edx, esp
mov dword [ebp - 0x4c], esp
push esi
push eax
push edx
call fcn.00409b60
add esp, 0xc
mov byte [ebp - 4], 0x15
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x6c]
call fcn.00453fc2
mov esi, eax
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0x2c]
push eax
call fcn.00409b60
mov byte [ebp - 4], 0x17
add esp, 8
mov ecx, esp
mov dword [ebp - 0x50], esp
push esi
push eax
push ecx
call fcn.00409b60
add esp, 0xc
mov byte [ebp - 4], 0x18
mov byte [ebp - 4], 0x1a
mov ecx, edi
call fcn.0040a790
mov byte [ebp - 4], 0x19
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40aa6c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40aa8e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x13
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40aab1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40aad4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40aaf7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ab1a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
jmp 0x40abeb
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x6c]
call fcn.00453fc2
mov esi, eax
mov byte [ebp - 4], 0x22
push 0x588d00
lea edx, [ebp + 0xc]
push edx
lea eax, [ebp - 0x3c]
push eax
call fcn.00406d70
mov byte [ebp - 4], 0x23
push esi
push eax
lea ecx, [ebp - 0x20]
push ecx
call fcn.00409b60
add esp, 0x18
mov byte [ebp - 4], 0x25
mov eax, dword [ebp - 0x3c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40ab7f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x27
mov eax, dword [ebp - 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40aba2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x6c]
call fcn.00453f29
mov byte [ebp - 4], 0x29
mov edx, dword [ebp - 0x20]
mov eax, dword [eax]
push 0
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov byte [ebp - 4], 0x27
mov eax, dword [ebp - 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40abe4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ac07
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebp - 0x48], 0
jne 0x40a870
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x6c]
call fcn.00453c94
mov byte [ebp - 4], 0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ac40
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ac66
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8