Function at 0x40bed0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57ad08
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x6459b8]
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.0040bc50
mov ecx, dword [ebp + 0xc]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea ecx, [ebp - 0x6c]
call fcn.0045764e
mov byte [ebp - 4], 2
push str..
lea ecx, [ebp - 0x10]
call fcn.00405fb0
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.0040b3b0
add esp, 0xc
mov byte [ebp - 4], 4
mov eax, dword [eax]
push 0
push eax
lea ecx, [ebp - 0x6c]
call fcn.004576f5
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 0x40bf7d
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 0x40bfa0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x40c351
mov bl, 0x14
lea ebx, [ebx]
lea ecx, [ebp - 0x6c]
call fcn.00457436
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x48], eax
call fcn.00457610
test eax, eax
jne 0x40c347
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx + 0x38]
push 4
lea ecx, [ebp - 0x6c]
call eax
test eax, eax
jne 0x40c347
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx + 0x38]
push 2
lea ecx, [ebp - 0x6c]
call eax
test eax, eax
jne 0x40c347
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx + 0x38]
push 0x10
lea ecx, [ebp - 0x6c]
call eax
test eax, eax
je 0x40c266
push 0x596420
lea ecx, [ebp - 0x14]
call fcn.00405fb0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x6c]
call fcn.004579d1
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.0040b3b0
mov byte [ebp - 4], 9
push esi
push eax
lea edx, [ebp - 0x10]
push edx
call fcn.0040b3b0
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 0x40c073
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 0x40c096
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 0x40c0b9
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 0x40c0d8
push 0
lea ecx, [ebp - 0x10]
call fcn.00404070
mov eax, dword [ebp - 0x10]
push eax
call fcn.0054747c
add esp, 4
push 0x596420
lea ecx, [ebp - 0x1c]
call fcn.00405fb0
mov byte [ebp - 4], 0x11
push 0x596420
lea ecx, [ebp - 0x18]
call fcn.00405fb0
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x6c]
call fcn.004579d1
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.0040b3b0
mov byte [ebp - 4], bl
add esp, 8
mov edx, esp
mov dword [ebp - 0x4c], esp
push esi
push eax
push edx
call fcn.0040b3b0
add esp, 0xc
mov byte [ebp - 4], 0x15
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x6c]
call fcn.004579d1
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.0040b3b0
mov byte [ebp - 4], 0x17
add esp, 8
mov ecx, esp
mov dword [ebp - 0x50], esp
push esi
push eax
push ecx
call fcn.0040b3b0
add esp, 0xc
mov byte [ebp - 4], 0x18
mov byte [ebp - 4], 0x1a
mov ecx, edi
call fcn.0040bed0
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 0x40c1ac
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 0x40c1ce
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 0x40c1f1
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 0x40c214
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 0x40c237
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 0x40c25a
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 0x40c32b
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x6c]
call fcn.004579d1
mov esi, eax
mov byte [ebp - 4], 0x22
push 0x616b64
lea edx, [ebp + 0xc]
push edx
lea eax, [ebp - 0x3c]
push eax
call fcn.00408fd0
mov byte [ebp - 4], 0x23
push esi
push eax
lea ecx, [ebp - 0x20]
push ecx
call fcn.0040b3b0
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 0x40c2bf
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 0x40c2e2
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.00457938
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 0x40c324
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 0x40c347
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebp - 0x48], 0
jne 0x40bfb0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x6c]
call fcn.00457680
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 0x40c380
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 0x40c3a6
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