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

Disassembly:
push 0xffffffffffffffff
push 0x494ed4
mov eax, dword fs:[0]
push eax
sub esp, 0x2a0
mov eax, dword [0x4b7a40]
xor eax, esp
mov dword [esp + 0x298], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b7a40]
xor eax, esp
push eax
lea eax, [esp + 0x2b4]
mov dword fs:[0], eax
mov dword [esp + 0x2bc], 7
call fcn.00442d9a
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40a470
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.00406b10
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 0x40a4d0
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 0x40a4e2
or eax, 0xffffffff
jmp 0x40a4ff
push 0x2e
push eax
call fcn.00460222
add esp, 8
test eax, eax
jne 0x40a4f6
or eax, 0xffffffff
jmp 0x40a4ff
sub eax, dword [esp + 0x2cc]
sar eax, 1
push eax
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x2d4]
call fcn.004057e0
push 1
push 0x49f3ec
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c4], 0xa
call fcn.00405fb0
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00405fb0
mov edi, dword [esp + 0x14]
push ecx
lea eax, [edi - 0x10]
mov dword [esp + 0x20], esp
mov esi, esp
push eax
call fcn.00402360
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.00406a40
add esp, 4
test eax, eax
jne 0x40a56b
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 1
push 0x49f3ec
lea ecx, [esp + 0x1c]
call fcn.00405fb0
mov eax, dword [esp + 0x2c4]
add eax, 0xfffffff0
push eax
call fcn.00402360
add eax, 0x10
add esp, 4
mov dword [esp + 0x20], eax
lea esi, [esp + 0x20]
mov byte [esp + 0x2bc], 0xb
call fcn.0040af10
mov edx, esi
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.0040ca30
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 0x40a5f3
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.00402360
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.00402360
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov byte [esp + 0x2c4], 0xb
call fcn.0041ee10
add esp, 4
mov dword [esp + 0x20], esp
mov esi, esp
push ebp
call fcn.00402360
add eax, 0x10
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esi], eax
call fcn.00418140
mov eax, dword [eax]
xor ecx, ecx
add esp, 4
test eax, eax
setne cl
test ecx, ecx
jne 0x40a679
push 0x80004005
call fcn.004010b0
mov ecx, dword [esp + 0x2c8]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x40a6a6
test dx, dx
je 0x40a6a2
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x40a6a6
add ecx, 4
add eax, 4
test dx, dx
jne 0x40a680
xor eax, eax
jmp 0x40a6ab
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 0x40a6d0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x40a8af
mov byte [esp + 0x2bc], 0xa
lea ecx, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a6fa
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 0x40a722
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 0x40a74a
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 0x40a775
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 0x40a7a0
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 0x40a7cb
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 0x40a7f6
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 0x40a821
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 0x40a84c
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 0x40a877
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 0x40a8a5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x40ad3d
call fcn.00442d9a
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40a8c9
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.00405760
push str..zip
push eax
call fcn.00405940
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 0x40a921
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x40a97b
lea esi, [esp + 0x6c]
call fcn.00423890
mov ecx, esi
push ecx
lea ecx, [esp + 0x18]
lea edx, [esp + 0x24]
mov byte [esp + 0x2c0], 0xf
call fcn.00423930
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 0x49f408
push ecx
call fcn.00406370
add esp, 0x10
mov byte [esp + 0x2bc], 0xe
call fcn.004238e0
jmp 0x40a989
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x1c]
call fcn.00401f70
mov eax, dword [esp + 0x2d4]
cmp dword [eax - 0xc], 0
je 0x40a9ed
lea ecx, [esp + 0x2d4]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.0040ca30
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 0x40a9ed
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x2dc]
push 0x49f414
push ecx
call fcn.00405940
mov edi, dword [esp + 0x20]
add esp, 8
test al, al
je 0x40aa88
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.00402360
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.00402360
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.00402360
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov byte [esp + 0x2d0], 0xe
call fcn.0040afb0
add esp, 0x14
xor esi, esi
mov ebx, 5
cmp dword [esp + 0x2e8], esi
je 0x40aafb
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 0x40aafb
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 0x40ab4b
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x30], esp
mov esi, esp
push eax
call fcn.00402360
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.00402360
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov byte [esp + 0x2c4], 0xe
call fcn.0040ad70
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 0x40ab6f
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 0x40ab91
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 0x40abb9
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 0x40abe1
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 0x40ac0c
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 0x40ac36
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 0x40ac61
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 0x40ac8c
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 0x40acb7
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 0x40ace2
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 0x40ad0d
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 0x40ad3b
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.0045ff59
add esp, 0x2ac
ret