Function at 0x4022b0
Capabilities:
Accept command line arguments
Delete directory
Delete file
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x407756
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x33c
mov dl, byte [0x40a3b0]
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x35]
mov byte [esp + 0x34], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x139]
mov byte [esp + 0x138], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 4]
stosb byte es:[edi], al
call fcn.00401000
lea ecx, [esp + 0x10]
mov dword [esp + 0x348], 0
call fcn.004029a0
push 0x40a3c0
lea ecx, [esp + 0x14]
mov byte [esp + 0x34c], 1
call fcn.00402770
push 0
push 0x4ff
call dword [sym.imp.KERNEL32.dll_SetProcessShutdownParameters]
push str.ASM_SFX_Extractor_Started
mov ecx, 0x40a3b8
call fcn.00402920
lea eax, [esp + 0x23c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x23c]
push ecx
lea ecx, [esp + 8]
call fcn.00401a00
test eax, eax
jne 0x402380
push 0xffffffffffffffff
call fcn.0040323f
push ebp
lea edx, [esp + 0x38]
push esi
push edx
lea ecx, [esp + 0x10]
call fcn.00401050
mov esi, dword [sym.imp.KERNEL32.dll_GetCommandLineA]
call esi
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x140]
push ecx
push 0x4092ec
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
call esi
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x140]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x140]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x140]
push ecx
push eax
lea ecx, [esp + 0x44]
push str.ASMCMD.DAT
push ecx
lea ecx, [esp + 0x1c]
call fcn.004011c0
push str.Extracting_Payload
mov ecx, 0x40a3b8
call fcn.00402920
lea edx, [esp + 0x244]
lea eax, [esp + 0x3c]
push edx
push eax
lea ecx, [esp + 0x14]
call fcn.004015c0
lea ecx, [esp + 0x3c]
push str.ASMEXP.DAT
lea edx, [esp + 0x248]
push ecx
push edx
lea ecx, [esp + 0x18]
call fcn.00401ac0
push str.Starting_ASMSetup.exe
mov ecx, 0x40a3b8
call fcn.00402920
lea eax, [esp + 0x244]
lea ecx, [esp + 0x3c]
push eax
lea edx, [esp + 0x3c]
push ecx
push edx
lea ecx, [esp + 0x18]
call fcn.004012d0
push str.Starting_Extract_File_Cleanup
mov ecx, 0x40a3b8
call fcn.00402920
lea edi, [esp + 0x3c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x140]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x140]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.ASMCMD.dat
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
and ecx, 3
lea eax, [esp + 0x140]
rep movsb byte es:[edi], byte [esi]
push eax
call ebp
lea edi, [esp + 0x3c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x140]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x140]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.ASMEXP.dat
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x140]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call ebp
lea ecx, [esp + 0x244]
lea edx, [esp + 0x3c]
push ecx
push edx
lea ecx, [esp + 0x14]
call fcn.004017e0
lea edi, [esp + 0x3c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + ecx + 0x3b], al
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push str.ASM_SFX_Extractor_Completed
mov ecx, 0x40a3b8
call fcn.00402920
lea ecx, [esp + 0x18]
mov byte [esp + 0x350], 0
call fcn.004029f0
lea ecx, [esp + 0xc]
mov dword [esp + 0x350], 0xffffffff
call fcn.00401040
mov ecx, dword [esp + 0x348]
pop esi
pop ebp
xor eax, eax
pop edi
mov dword fs:[0], ecx
add esp, 0x348
ret