Function at 0x40d060
Capabilities:
Create directory
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x490e76
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x4b5a50]
xor eax, esp
mov dword [esp + 0x258], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b5a50]
xor eax, esp
push eax
lea eax, [esp + 0x274]
mov dword fs:[0], eax
mov dword [esp + 0x27c], 4
call fcn.0043e9ec
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40d0c0
push 0x80004005
call fcn.004010b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
push 0x26
lea ebx, [esp + 0x28]
mov byte [esp + 0x280], 5
call fcn.0041da20
add esp, 4
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x280], 6
call fcn.00401b30
mov byte [esp + 0x27c], 5
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d120
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x28c]
cmp dword [eax - 0xc], 0
jg 0x40d132
or eax, 0xffffffff
jmp 0x40d14f
push 0x2e
push eax
call fcn.0045d189
add esp, 8
test eax, eax
jne 0x40d146
or eax, 0xffffffff
jmp 0x40d14f
sub eax, dword [esp + 0x28c]
sar eax, 1
push eax
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x294]
call fcn.00410b70
push 1
push 0x49a9b0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x284], 7
call fcn.00411980
mov ebx, dword [esp + 0x24]
mov eax, dword [ebx - 0xc]
push eax
push ebx
lea ecx, [esp + 0x1c]
call fcn.00411980
mov edi, dword [esp + 0x14]
push ecx
lea eax, [edi - 0x10]
mov dword [esp + 0x24], esp
mov esi, esp
push eax
call fcn.00401e30
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.0042e170
add esp, 4
test eax, eax
jne 0x40d1bb
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 1
push 0x49a9b0
lea ecx, [esp + 0x1c]
call fcn.00411980
mov eax, dword [esp + 0x284]
add eax, 0xfffffff0
push eax
call fcn.00401e30
add eax, 0x10
add esp, 4
mov dword [esp + 0x18], eax
lea esi, [esp + 0x18]
mov byte [esp + 0x27c], 8
call fcn.0041c0d0
mov edx, esi
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.00410c10
add esp, 0xc
push eax
mov ecx, esi
mov byte [esp + 0x280], 9
call fcn.00401b30
mov byte [esp + 0x27c], 8
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40d243
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebp, dword [esp + 0x18]
push ecx
lea edi, [ebp - 0x10]
mov dword [esp + 0x24], esp
mov esi, esp
push edi
call fcn.00401e30
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x284], 0xa
mov eax, dword [esp + 0x28c]
add eax, 0xfffffff0
mov dword [esp + 0x24], esp
mov esi, esp
push eax
call fcn.00401e30
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov byte [esp + 0x284], 8
call fcn.0041f050
add esp, 4
mov dword [esp + 0x24], esp
mov esi, esp
push edi
call fcn.00401e30
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.0042e170
add esp, 4
test eax, eax
je 0x40d5c1
call fcn.0043e9ec
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40d2d0
push 0x80004005
call fcn.004010b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
push 4
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x20]
mov byte [esp + 0x284], 0xb
call fcn.00401750
push str..zip
push eax
call fcn.00410e20
mov bl, al
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
add esp, 8
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40d328
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
mov ebx, dword [esp + 0x14]
je 0x40d382
lea esi, [esp + 0x2c]
call fcn.0041fce0
mov ecx, esi
push ecx
lea ecx, [esp + 0x18]
lea edx, [esp + 0x1c]
mov byte [esp + 0x280], 0xc
call fcn.0041fd80
push ebp
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [esp + 0x28c]
push edx
push ebx
lea eax, [esp + 0x24]
push 0x49abf4
push eax
call fcn.00411ee0
add esp, 0x10
mov byte [esp + 0x27c], 0xb
call fcn.0041fd30
jmp 0x40d390
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x20]
call fcn.00401b30
cmp dword [esp + 0x298], 0
mov esi, dword [esp + 0x1c]
je 0x40d3f8
mov edx, dword [esp + 0x2a4]
mov eax, dword [esp + 0x2a0]
push edx
push eax
mov eax, dword [esp + 0x298]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x2c], esp
mov ebp, esp
push eax
call fcn.00401e30
add eax, 0x10
mov dword [ebp], eax
mov byte [esp + 0x28c], 0xd
lea eax, [esi - 0x10]
mov dword [esp + 0x38], esp
mov ebp, esp
push eax
call fcn.00401e30
add eax, 0x10
mov dword [ebp], eax
add esp, 4
mov byte [esp + 0x28c], 0xb
call fcn.0040d740
cmp dword [esp + 0x29c], 0
je 0x40d44c
mov eax, dword [esp + 0x294]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x2c], esp
mov ebp, esp
push eax
call fcn.00401e30
add eax, 0x10
mov dword [ebp], eax
mov byte [esp + 0x284], 0xe
lea eax, [esi - 0x10]
mov dword [esp + 0x28], esp
mov ebp, esp
push eax
call fcn.00401e30
add eax, 0x10
mov dword [ebp], eax
add esp, 4
mov byte [esp + 0x284], 0xb
call fcn.00408bd0
lea eax, [esi - 0x10]
mov byte [esp + 0x27c], 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d470
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x27c], 7
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d491
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov byte [esp + 0x27c], 5
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d4b9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [esp + 0x27c], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d4dd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x27c], 3
mov eax, dword [esp + 0x284]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d508
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x27c], 2
mov eax, dword [esp + 0x288]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d533
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x27c], 1
mov eax, dword [esp + 0x28c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d55e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x27c], 0
mov eax, dword [esp + 0x290]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d589
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x27c], 0xffffffff
mov eax, dword [esp + 0x294]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d5b7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x40d70a
mov byte [esp + 0x27c], 7
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d5e2
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
lea eax, [ebx - 0x10]
mov byte [esp + 0x27c], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d606
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x27c], 4
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d62e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x27c], 3
mov eax, dword [esp + 0x284]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d659
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x27c], 2
mov eax, dword [esp + 0x288]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d684
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x27c], 1
mov eax, dword [esp + 0x28c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d6af
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x27c], 0
mov eax, dword [esp + 0x290]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d6da
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x27c], 0xffffffff
mov eax, dword [esp + 0x294]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d708
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x274]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x258]
xor ecx, esp
call fcn.0045ceb0
add esp, 0x26c
ret 0x24