Function at 0x40a470
Capabilities:
Create directory
Create process on windows
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x495cb4
mov eax, dword fs:[0]
push eax
sub esp, 0x2a0
mov eax, dword [0x4b9a40]
xor eax, esp
mov dword [esp + 0x298], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b9a40]
xor eax, esp
push eax
lea eax, [esp + 0x2b4]
mov dword fs:[0], eax
mov dword [esp + 0x2bc], 7
call fcn.004439c8
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40a4d0
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 + 0x2c0], 8
call fcn.00406b70
add esp, 4
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c0], 9
call fcn.00401f70
mov byte [esp + 0x2bc], 8
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 0x40a530
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2cc]
cmp dword [eax - 0xc], 0
jg 0x40a542
or eax, 0xffffffff
jmp 0x40a55f
push 0x2e
push eax
call fcn.00460e6e
add esp, 8
test eax, eax
jne 0x40a556
or eax, 0xffffffff
jmp 0x40a55f
sub eax, dword [esp + 0x2cc]
sar eax, 1
push eax
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x2d4]
call fcn.004057b0
push 1
push 0x4a03f4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c4], 0xa
call fcn.00405f90
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00405f90
mov edi, dword [esp + 0x14]
push ecx
lea eax, [edi - 0x10]
mov dword [esp + 0x20], esp
mov esi, esp
push eax
call fcn.00402330
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.00406aa0
add esp, 4
test eax, eax
jne 0x40a5cb
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 1
push 0x4a03f4
lea ecx, [esp + 0x1c]
call fcn.00405f90
mov eax, dword [esp + 0x2c4]
add eax, 0xfffffff0
push eax
call fcn.00402330
add eax, 0x10
add esp, 4
mov dword [esp + 0x20], eax
lea esi, [esp + 0x20]
mov byte [esp + 0x2bc], 0xb
call fcn.0040b1e0
mov edx, esi
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.0040cfc0
add esp, 0xc
push eax
mov ecx, esi
mov byte [esp + 0x2c0], 0xc
call fcn.00401f70
mov byte [esp + 0x2bc], 0xb
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40a653
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x20]
push ecx
lea ebp, [edi - 0x10]
mov dword [esp + 0x20], esp
mov esi, esp
push ebp
call fcn.00402330
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x2c4], 0xd
mov eax, dword [esp + 0x2cc]
add eax, 0xfffffff0
mov dword [esp + 0x20], esp
mov esi, esp
push eax
call fcn.00402330
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov byte [esp + 0x2c4], 0xb
call fcn.0040af70
add esp, 4
mov dword [esp + 0x20], esp
mov esi, esp
push ebp
call fcn.00402330
add eax, 0x10
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esi], eax
call fcn.00418e60
mov eax, dword [eax]
xor ecx, ecx
add esp, 4
test eax, eax
setne cl
test ecx, ecx
jne 0x40a6d9
push 0x80004005
call fcn.004010b0
mov ecx, dword [esp + 0x2c8]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x40a706
test dx, dx
je 0x40a702
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x40a706
add ecx, 4
add eax, 4
test dx, dx
jne 0x40a6e0
xor eax, eax
jmp 0x40a70b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
mov eax, dword [esp + 0x18]
setne bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a730
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x40a90f
mov byte [esp + 0x2bc], 0xa
lea ecx, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a75a
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
mov byte [esp + 0x2bc], 8
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 0x40a782
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2bc], 7
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 0x40a7aa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2bc], 6
mov eax, dword [esp + 0x2c4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a7d5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2bc], 5
mov eax, dword [esp + 0x2c8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a800
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2bc], 4
mov eax, dword [esp + 0x2cc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a82b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2bc], 3
mov eax, dword [esp + 0x2d0]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a856
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2bc], 2
mov eax, dword [esp + 0x2d4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a881
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2bc], 1
mov eax, dword [esp + 0x2d8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a8ac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2bc], 0
mov eax, dword [esp + 0x2dc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a8d7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x2bc], 0xffffffff
mov eax, dword [esp + 0x2f0]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a905
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x40ad9d
call fcn.004439c8
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40a929
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 + 0x18], eax
push 4
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x28]
mov byte [esp + 0x2c4], 0xe
call fcn.00405730
push str..zip
push eax
call fcn.00405910
mov bl, al
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 0x40a981
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x40a9db
lea esi, [esp + 0x6c]
call fcn.004242c0
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x18]
mov edx, esi
mov byte [esp + 0x2c0], 0xf
call fcn.00424360
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [esp + 0x2cc]
mov eax, dword [esp + 0x14]
push edx
push eax
lea ecx, [esp + 0x20]
push str._s_s
push ecx
call fcn.00406350
add esp, 0x10
mov byte [esp + 0x2bc], 0xe
call fcn.00424310
jmp 0x40a9e9
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x1c]
call fcn.00401f70
mov eax, dword [esp + 0x2d4]
cmp dword [eax - 0xc], 0
je 0x40aa4d
lea ecx, [esp + 0x2d4]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.0040cfc0
add esp, 0xc
push eax
lea ecx, [esp + 0x2d8]
mov byte [esp + 0x2c0], 0x10
call fcn.00401f70
mov byte [esp + 0x2bc], 0xe
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40aa4d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x2dc]
push 0x4a041c
push ecx
call fcn.00405910
mov edi, dword [esp + 0x20]
add esp, 8
test al, al
je 0x40aae8
mov edx, dword [esp + 0x2f4]
mov eax, dword [esp + 0x2ec]
push edx
push eax
mov eax, dword [esp + 0x2dc]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov esi, esp
push eax
call fcn.00402330
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x2cc], 0x11
mov eax, dword [esp + 0x2e0]
add eax, 0xfffffff0
mov dword [esp + 0x38], esp
mov esi, esp
push eax
call fcn.00402330
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x2d0], 0x12
lea eax, [edi - 0x10]
mov dword [esp + 0x40], esp
mov esi, esp
push eax
call fcn.00402330
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov byte [esp + 0x2d0], 0xe
call fcn.0040b280
add esp, 0x14
xor esi, esi
mov ebx, 5
cmp dword [esp + 0x2e8], esi
je 0x40ab5b
mov ecx, dword [esp + 0x2e0]
push ecx
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [esp + 0x2d8]
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x34], 0x3c
mov dword [esp + 0x38], 0x40
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x40ab5b
mov ecx, dword [esp + 0x2e4]
mov edx, dword [esp + 0x68]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 0x2f0]
cmp dword [eax - 0xc], esi
je 0x40abab
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x30], esp
mov esi, esp
push eax
call fcn.00402330
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x2c4], 0x13
lea eax, [edi - 0x10]
mov dword [esp + 0x30], esp
mov esi, esp
push eax
call fcn.00402330
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov byte [esp + 0x2c4], 0xe
call fcn.0040add0
add esp, 8
lea eax, [edi - 0x10]
mov byte [esp + 0x2bc], 0xb
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40abcf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2bc], 0xa
lea ecx, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40abf1
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
mov byte [esp + 0x2bc], 8
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 0x40ac19
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2bc], 7
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 0x40ac41
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2bc], 6
mov eax, dword [esp + 0x2c4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ac6c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2bc], bl
mov eax, dword [esp + 0x2c8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ac96
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2bc], 4
mov eax, dword [esp + 0x2cc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40acc1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2bc], 3
mov eax, dword [esp + 0x2d0]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40acec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2bc], 2
mov eax, dword [esp + 0x2d4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ad17
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2bc], 1
mov eax, dword [esp + 0x2d8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ad42
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2bc], 0
mov eax, dword [esp + 0x2dc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ad6d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x2bc], 0xffffffff
mov eax, dword [esp + 0x2f0]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ad9b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x2b4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x298]
xor ecx, esp
call fcn.00460ba5
add esp, 0x2ac
ret