Function at 0x40a0c0
Capabilities:
Create directory
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x45b8f1
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x4747c0]
xor eax, esp
mov dword [esp + 0x260], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4747c0]
xor eax, esp
push eax
lea eax, [esp + 0x27c]
mov dword fs:[0], eax
mov dword [esp + 0x284], 4
call fcn.0042263d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40a120
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
push 0x26
lea ebx, [esp + 0x30]
mov byte [esp + 0x288], 5
call fcn.0041ac20
add esp, 4
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x288], 6
call fcn.0040c110
mov byte [esp + 0x284], 5
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a180
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x294]
cmp dword [eax - 0xc], 0
jg 0x40a192
or eax, 0xffffffff
jmp 0x40a1af
push 0x2e
push eax
call fcn.0044117a
add esp, 8
test eax, eax
jne 0x40a1a6
or eax, 0xffffffff
jmp 0x40a1af
sub eax, dword [esp + 0x294]
sar eax, 1
push eax
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x29c]
call fcn.0040b8e0
push 1
push 0x462944
lea ecx, [esp + 0x20]
mov byte [esp + 0x28c], 7
call fcn.0040c440
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.0040c440
mov edi, dword [esp + 0x18]
push ecx
lea eax, [edi - 0x10]
mov dword [esp + 0x2c], esp
mov esi, esp
push eax
call fcn.0040c3d0
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.00419490
add esp, 4
test eax, eax
jne 0x40a21b
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 1
push 0x462944
lea ecx, [esp + 0x20]
call fcn.0040c440
mov eax, dword [esp + 0x28c]
add eax, 0xfffffff0
push eax
call fcn.0040c3d0
add eax, 0x10
add esp, 4
mov dword [esp + 0x20], eax
lea esi, [esp + 0x20]
mov byte [esp + 0x284], 8
call fcn.00419560
mov edx, esi
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.0040b9b0
add esp, 0xc
push eax
mov ecx, esi
mov byte [esp + 0x288], 9
call fcn.0040c110
mov byte [esp + 0x284], 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 0x40a2a3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x20]
push ecx
add edi, 0xfffffff0
mov dword [esp + 0x2c], esp
mov esi, esp
push edi
call fcn.0040c3d0
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x28c], 0xa
mov eax, dword [esp + 0x294]
add eax, 0xfffffff0
mov dword [esp + 0x24], esp
mov esi, esp
push eax
call fcn.0040c3d0
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov byte [esp + 0x28c], 8
call fcn.0041c250
add esp, 4
mov dword [esp + 0x2c], esp
mov esi, esp
push edi
call fcn.0040c3d0
add eax, 0x10
add esp, 4
lea ecx, [esp + 0x20]
mov dword [esi], eax
call fcn.0040e0e0
add esp, 4
mov ebp, eax
mov byte [esp + 0x284], 0xb
mov edx, dword [esp + 0x290]
mov esi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x40a34b
push esi
lea ecx, [esp + 0x294]
call fcn.00401240
mov edx, dword [esp + 0x290]
lea ecx, [esi + 1]
push ecx
push edx
call fcn.004414a9
add esp, 8
test esi, esi
jl 0x40a6f9
mov eax, dword [esp + 0x290]
cmp esi, dword [eax - 8]
jg 0x40a6f9
mov dword [eax - 0xc], esi
mov eax, dword [esp + 0x290]
lea ecx, [esp + 0x290]
xor edx, edx
push ebp
push ecx
mov word [eax + esi*2], dx
call fcn.0040bc40
mov bl, al
mov byte [esp + 0x28c], 8
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
add esp, 8
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40a3bb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x40a584
call fcn.0042263d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40a3dd
push 0x80004005
call fcn.00401000
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 + 0x2c]
push ecx
mov bl, 0xc
lea ecx, [esp + 0x28]
mov byte [esp + 0x28c], bl
call fcn.0040b860
push str..zip
push eax
call fcn.0040bca0
mov byte [esp + 0x2f], al
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
add esp, 8
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40a438
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x27], 0
je 0x40a498
lea esi, [esp + 0x34]
call fcn.0041c520
mov ecx, esi
push ecx
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x24]
mov byte [esp + 0x288], 0xd
call fcn.0041c5c0
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0x294]
mov ecx, dword [esp + 0x18]
push eax
push ecx
lea edx, [esp + 0x24]
push 0x462db4
push edx
call fcn.00401360
add esp, 0x10
mov byte [esp + 0x284], bl
call fcn.0041c570
jmp 0x40a4a6
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
call fcn.0040c110
cmp dword [esp + 0x2a0], 0
mov esi, dword [esp + 0x1c]
je 0x40a50d
mov ecx, dword [esp + 0x2ac]
mov edx, dword [esp + 0x2a8]
mov eax, dword [esp + 0x298]
push ecx
push edx
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x34], esp
mov ebp, esp
push eax
call fcn.0040c3d0
add eax, 0x10
mov dword [ebp], eax
mov byte [esp + 0x294], 0xe
lea eax, [esi - 0x10]
mov dword [esp + 0x40], esp
mov ebp, esp
push eax
call fcn.0040c3d0
add eax, 0x10
mov dword [ebp], eax
add esp, 4
mov byte [esp + 0x294], bl
call fcn.0040a710
cmp dword [esp + 0x2a4], 0
je 0x40a560
mov eax, dword [esp + 0x29c]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x34], esp
mov ebp, esp
push eax
call fcn.0040c3d0
add eax, 0x10
mov dword [ebp], eax
mov byte [esp + 0x28c], 0xf
lea eax, [esi - 0x10]
mov dword [esp + 0x30], esp
mov ebp, esp
push eax
call fcn.0040c3d0
add eax, 0x10
mov dword [ebp], eax
add esp, 4
mov byte [esp + 0x28c], bl
call fcn.00407860
lea eax, [esi - 0x10]
mov byte [esp + 0x284], 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a584
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x284], 7
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a5a5
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov byte [esp + 0x284], 5
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a5cd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x284], 4
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a5f5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x284], 3
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 0x40a620
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x284], 2
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 0x40a64b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x284], 1
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 0x40a676
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x284], 0
mov eax, dword [esp + 0x298]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a6a1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x284], 0xffffffff
mov eax, dword [esp + 0x29c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a6cf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x27c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x260]
xor ecx, esp
call fcn.00440c2a
add esp, 0x274
ret 0x24
push 0x80070057
call fcn.00401000
int3