Function at 0x4026a0
Capabilities:
Accept command line arguments
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x571750
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x5ddf64]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0x10]
lea ecx, [ebp - 0xe8]
sub esp, 8
mov dword [ebp - 0xf0], ebx
push 0x40
push str.wWinMain
push 0x5e96e0
push dword [0x5e93ec]
call fcn.00409ea9
mov eax, dword [0x5e93dc]
test eax, eax
jne 0x40270a
call fcn.0040a548
mov eax, dword [0x5e93dc]
cmp eax, 2
jne 0x402732
cmp dword [0x5e93e0], 0
jne 0x402722
call fcn.0040a548
mov eax, dword [0x5e93dc]
cmp dword [0x5e93e0], 0x258
je 0x402a74
test eax, eax
jne 0x402740
call fcn.0040a548
mov eax, dword [0x5e93dc]
cmp eax, 2
jne 0x402799
cmp dword [0x5e93e0], 0
jne 0x402753
call fcn.0040a548
cmp dword [0x5e93e0], 0x258
jne 0x402799
mov ax, word [0x5e93d8]
test ax, ax
jne 0x402775
call fcn.0040a548
mov ax, word [0x5e93d8]
cmp ax, 3
je 0x402a74
test ax, ax
jne 0x40278f
call fcn.0040a548
mov ax, word [0x5e93d8]
cmp ax, 2
je 0x402a74
cmp dword [0x5e93e0], 0
jne 0x4027a7
call fcn.0040a548
mov eax, dword [0x5e93e0]
test eax, eax
je 0x4027bb
cmp eax, 0x258
jb 0x402a74
call fcn.0040a4fd
test eax, eax
jne 0x402a74
mov eax, dword [0x5e93e0]
test eax, eax
jne 0x4027df
call fcn.0040a548
mov eax, dword [0x5e93e0]
test eax, eax
je 0x4027ea
cmp eax, 0x1f5
jb 0x402a74
lea eax, [ebp - 0xec]
xor bl, bl
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, eax
test edi, edi
je 0x402881
push 0x5b8714
lea ecx, [ebp - 0x70]
call fcn.00402ea0
push str.FromHTA
lea ecx, [ebp - 0x40]
call fcn.00402ea0
xor esi, esi
cmp dword [ebp - 0xec], esi
jle 0x402862
nop word [eax + eax]
push dword [edi + esi*4]
lea ecx, [ebp - 0x70]
call fcn.00402cf0
test eax, eax
jne 0x402859
push dword [edi + esi*4 + 4]
inc esi
lea ecx, [ebp - 0x40]
call fcn.00402cf0
test eax, eax
movzx ebx, bl
mov eax, 1
cmove ebx, eax
inc esi
cmp esi, dword [ebp - 0xec]
jl 0x402830
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea ecx, [ebp - 0x40]
call fcn.00402de0
lea ecx, [ebp - 0x70]
call fcn.00402de0
test bl, bl
jne 0x402a09
lea ecx, [ebp - 0x28]
call fcn.0040a9be
push str.launcher
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x40]
call fcn.00403990
add esp, 4
lea ecx, [ebp - 0x28]
push eax
call fcn.00402e20
lea ecx, [ebp - 0x40]
call fcn.00402de0
mov dword [ebp - 4], 0xa0
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x40]
cmovae eax, dword [ebp - 0x28]
push eax
mov dword [ebp - 4], 0xffffffff
call fcn.00402ea0
lea ecx, [ebp - 0x40]
call fcn.0040aafc
lea ecx, [ebp - 0x40]
mov bl, al
call fcn.00402de0
test bl, bl
je 0x402a01
mov dword [ebp - 4], 0xa3
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x40]
cmovae eax, dword [ebp - 0x28]
push eax
mov dword [ebp - 4], 0xffffffff
call fcn.00402ea0
push str.launcher.hta
lea ecx, [ebp - 0x40]
call fcn.00402d90
push 0x3c
lea eax, [ebp - 0x12c]
push 0
push eax
call fcn.00548f10
add esp, 0xc
mov dword [ebp - 0x12c], 0x3c
mov dword [ebp - 0x128], 0x40
mov dword [ebp - 0x120], str.open
mov dword [ebp - 0x11c], str.mshta.exe
mov dword [ebp - 4], 0xa6
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
cmovae eax, dword [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x110], 5
mov dword [ebp - 4], 0xa9
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x114], eax
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
lea eax, [ebp - 0xe8]
je 0x4029e1
push str.HTA_application_launched_successfully
push 0x81
push 0x80
push eax
call fcn.0040a185
add esp, 0x10
lea ecx, [ebp - 0x40]
call fcn.00402de0
lea ecx, [ebp - 0x28]
call fcn.00402de0
xor esi, esi
jmp 0x402ca8
push str.Failed_to_launch_HTA_application
push 0x87
push 0x80
push eax
call fcn.0040a185
add esp, 0x10
lea ecx, [ebp - 0x40]
call fcn.00402de0
lea ecx, [ebp - 0x28]
call fcn.00402de0
push dword [ebp - 0xf0]
lea ecx, [ebp - 0x70]
call fcn.00402ea0
push str.HP_DQEX5.exe
lea ecx, [ebp - 0x40]
call fcn.00402ea0
sub esp, 0xc
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x58]
push eax
call fcn.0040a9be
mov edx, eax
lea ecx, [ebp - 0x28]
call fcn.0040a69f
add esp, 0xc
lea edx, [ebp - 0x70]
mov ecx, eax
call fcn.0040c71b
add esp, 4
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.00402de0
lea ecx, [ebp - 0x58]
call fcn.00402de0
lea ecx, [ebp - 0x40]
call fcn.00402de0
lea ecx, [ebp - 0x70]
call fcn.00402de0
jmp 0x402ca8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x14], 7
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
mov dword [ebp - 0x18], 0
cmovae eax, dword [ebp - 0x28]
mov dword [ebp - 4], 0x19
xor ecx, ecx
mov word [eax], cx
mov dword [ebp - 4], 0xffffffff
cmp word [ebx], cx
je 0x402ad5
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402ac6
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x28]
call fcn.004030b0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x44], 7
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
mov dword [ebp - 0x48], 0
cmovae eax, dword [ebp - 0x58]
xor ecx, ecx
mov dword [ebp - 4], 0x33
mov word [eax], cx
lea ecx, [ebp - 0x58]
push 0xc
push str.HP_DQEX5.exe
mov dword [ebp - 4], 0xffffffff
call fcn.004030b0
sub esp, 0xc
lea eax, [ebp - 0x58]
lea ecx, [ebp - 0x40]
push eax
call fcn.0040a9be
mov edx, eax
lea ecx, [ebp - 0x70]
call fcn.0040a69f
add esp, 0xc
lea edx, [ebp - 0x28]
mov ecx, eax
call fcn.0040c71b
add esp, 4
mov esi, eax
mov dword [ebp - 4], 0x34
cmp dword [ebp - 0x5c], 8
jb 0x402b87
mov byte [ebp - 4], 0x34
mov ecx, dword [ebp - 0x70]
mov byte [ebp - 4], 0x34
mov eax, dword [ebp - 0x5c]
inc eax
push eax
push ecx
lea ecx, [ebp - 0x70]
call fcn.00403340
mov byte [ebp - 4], 0x34
mov dword [ebp - 0x5c], 7
mov byte [ebp - 4], 0x34
lea eax, [ebp - 0x70]
cmp dword [ebp - 0x5c], 8
mov dword [ebp - 0x60], 0
cmovae eax, dword [ebp - 0x70]
xor ecx, ecx
mov byte [ebp - 4], 0x4e
mov word [eax], cx
mov dword [ebp - 4], 0x4f
cmp dword [ebp - 0x2c], 8
jb 0x402bd7
mov byte [ebp - 4], 0x4f
mov ecx, dword [ebp - 0x40]
mov byte [ebp - 4], 0x4f
mov eax, dword [ebp - 0x2c]
inc eax
push eax
push ecx
lea ecx, [ebp - 0x40]
call fcn.00403340
mov byte [ebp - 4], 0x4f
mov dword [ebp - 0x2c], 7
mov byte [ebp - 4], 0x4f
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
mov dword [ebp - 0x30], 0
cmovae eax, dword [ebp - 0x40]
xor ecx, ecx
mov byte [ebp - 4], 0x69
mov word [eax], cx
mov dword [ebp - 4], 0x6a
cmp dword [ebp - 0x44], 8
jb 0x402c27
mov byte [ebp - 4], 0x6a
mov ecx, dword [ebp - 0x58]
mov byte [ebp - 4], 0x6a
mov eax, dword [ebp - 0x44]
inc eax
push eax
push ecx
lea ecx, [ebp - 0x58]
call fcn.00403340
mov byte [ebp - 4], 0x6a
mov dword [ebp - 0x44], 7
mov byte [ebp - 4], 0x6a
lea eax, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
mov dword [ebp - 0x48], 0
cmovae eax, dword [ebp - 0x58]
xor ecx, ecx
mov byte [ebp - 4], 0x84
mov word [eax], cx
mov dword [ebp - 4], 0x85
cmp dword [ebp - 0x14], 8
jb 0x402c77
mov byte [ebp - 4], 0x85
mov ecx, dword [ebp - 0x28]
mov byte [ebp - 4], 0x85
mov eax, dword [ebp - 0x14]
inc eax
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.00403340
mov byte [ebp - 4], 0x85
mov dword [ebp - 0x14], 7
mov byte [ebp - 4], 0x85
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
mov dword [ebp - 0x18], 0
cmovae eax, dword [ebp - 0x28]
mov byte [ebp - 4], 0x9f
xor ecx, ecx
mov word [eax], cx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe8]
call fcn.00409f12
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005456ba
mov esp, ebp
pop ebp
ret 0x10