Function at 0x402420
Capabilities:
Accept command line arguments
Check if file exists
Enumerate gui resources
Enumerate process modules
Extract resource via kernel32 functions
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1498
call fcn.00403230
mov eax, dword [0x41e010]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 0x1468]
push eax
push esi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x1464], eax
lea eax, [ebp - 0x418]
push 0x20a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x402bbc
xor eax, eax
mov dword [ebp - 0x1450], 0
lea ecx, [ebp - 0x418]
mov dword [ebp - 0x144c], 7
mov word [ebp - 0x1460], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402491
sub ecx, edx
lea eax, [ebp - 0x418]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x1460]
call fcn.004022d0
mov ecx, esi
mov dword [ebp - 0x1420], 0
xor eax, eax
mov dword [ebp - 0x141c], 7
mov word [ebp - 0x1430], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4024d5
sub ecx, edx
push ebx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x1430]
call fcn.004022d0
cmp dword [ebp - 0x1420], 0
mov edx, dword [ebp - 0x141c]
sete bl
cmp edx, 8
jb 0x40253c
mov ecx, dword [ebp - 0x1430]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402532
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402bd9
push edx
push ecx
call fcn.004031dc
add esp, 8
mov eax, dword [ebp - 0x1468]
xor ecx, ecx
test bl, bl
mov dword [ebp - 0x1474], ecx
push edi
cmovne eax, ecx
xor ebx, ebx
xor esi, esi
mov dword [ebp - 0x1468], eax
xor edi, edi
mov dword [ebp - 0x146c], ebx
mov dword [ebp - 0x147c], ebx
mov dword [ebp - 0x1478], esi
test eax, eax
jle 0x402676
nop word [eax + eax]
mov eax, dword [ebp - 0x1464]
mov dword [ebp - 0x1420], 0
mov dword [ebp - 0x141c], 7
mov edx, dword [eax + edi*4]
mov ecx, edx
xor eax, eax
mov word [ebp - 0x1430], ax
lea ebx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4025b0
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x1430]
call fcn.004022d0
cmp esi, dword [ebp - 0x1474]
je 0x402604
movups xmm0, xmmword [ebp - 0x1430]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x1420]
movq qword [esi + 0x10], xmm0
add esi, 0x18
mov dword [ebp - 0x1478], esi
jmp 0x40265d
lea eax, [ebp - 0x1430]
push eax
push esi
lea ecx, [ebp - 0x147c]
call fcn.00401970
mov edx, dword [ebp - 0x141c]
cmp edx, 8
jb 0x402657
mov ecx, dword [ebp - 0x1430]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40264d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402bd9
push edx
push ecx
call fcn.004031dc
add esp, 8
mov esi, dword [ebp - 0x1478]
inc edi
cmp edi, dword [ebp - 0x1468]
jl 0x402580
mov eax, dword [ebp - 0x147c]
mov dword [ebp - 0x146c], eax
lea eax, [ebp - 0x1448]
push eax
call fcn.00401ca0
add esp, 4
cmp dword [ebp - 0x1438], 0
je 0x40290b
cmp dword [ebp - 0x1434], 8
lea eax, [ebp - 0x1448]
cmovae eax, dword [ebp - 0x1448]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40290b
and eax, 0x10
je 0x40290b
push 0xb
xor eax, eax
mov dword [ebp - 0x1420], 0
push str.Acrobat.exe
lea ecx, [ebp - 0x1430]
mov dword [ebp - 0x141c], 7
mov word [ebp - 0x1430], ax
call fcn.004022d0
push 1
push 0x41227c
lea ecx, [ebp - 0x1448]
call fcn.00402120
cmp dword [ebp - 0x141c], 8
lea eax, [ebp - 0x1430]
push dword [ebp - 0x1420]
cmovae eax, dword [ebp - 0x1430]
lea ecx, [ebp - 0x1448]
push eax
call fcn.00402120
lea eax, [ebp - 0x1464]
push eax
push 0x1000
lea eax, [ebp - 0x1418]
push eax
call sub.KERNEL32.dll_K32EnumProcesses
test eax, eax
je 0x402832
xor ebx, ebx
test dword [ebp - 0x1464], 0xfffffffc
jbe 0x402832
nop dword [eax + eax]
mov eax, dword [0x41230c]
movups xmm0, xmmword [str._unknown_]
push 0x1f4
mov dword [ebp - 0x1fc], eax
lea eax, [ebp - 0x1f8]
push 0
push eax
movups xmmword [ebp - 0x20c], xmm0
call fcn.00405050
add esp, 0xc
push dword [ebp + ebx*4 - 0x1418]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x402819
lea eax, [ebp - 0x1498]
push eax
push 4
lea eax, [ebp - 0x1470]
push eax
push edi
call sub.KERNEL32.dll_K32EnumProcessModules
test eax, eax
je 0x4027db
push 0x104
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x1470]
push edi
call sub.KERNEL32.dll_K32GetModuleBaseNameW
mov ecx, str.Acrobat.exe
lea eax, [ebp - 0x20c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40280c
test dx, dx
je 0x402808
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40280c
add eax, 4
add ecx, 4
test dx, dx
jne 0x4027e6
xor eax, eax
jmp 0x402811
sbb eax, eax
or eax, 1
test eax, eax
je 0x4028a4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x1464]
inc ebx
shr eax, 2
cmp ebx, eax
jb 0x402760
cmp dword [ebp - 0x141c], 8
lea ecx, [ebp - 0x1430]
push 0
cmovae ecx, dword [ebp - 0x1430]
lea eax, [ebp - 0x1448]
cmp dword [ebp - 0x1434], 8
push ecx
cmovae eax, dword [ebp - 0x1448]
push eax
push 1
call fcn.00406cf4
add esp, 0x10
mov edx, dword [ebp - 0x141c]
cmp edx, 8
jb 0x40290b
mov ecx, dword [ebp - 0x1430]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402901
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402bcf
jmp 0x402901
push edi
call dword [sym.imp.KERNEL32.dll_GetProcessId]
mov dword [ebp - 0x1484], eax
lea eax, [ebp - 0x1484]
push eax
push 0x4023e0
mov dword [ebp - 0x1480], 0
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebp - 0x1480]
test eax, eax
je 0x402868
push eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x4028f0
push 9
push dword [ebp - 0x1480]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp - 0x1480]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x402868
push edx
push ecx
call fcn.004031dc
add esp, 8
xor eax, eax
mov dword [ebp - 0x1420], 0
push eax
push 0x412328
lea ecx, [ebp - 0x1430]
mov dword [ebp - 0x141c], 7
mov word [ebp - 0x1430], ax
call fcn.004022d0
lea eax, [ebp - 0x1430]
push eax
lea ecx, [ebp - 0x1494]
call fcn.00401050
mov edx, dword [ebp - 0x141c]
cmp edx, 8
jb 0x40298b
mov ecx, dword [ebp - 0x1430]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402981
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402bd4
push edx
push ecx
call fcn.004031dc
add esp, 8
lea ecx, [ebp - 0x1494]
call fcn.00401570
test al, al
je 0x402ab8
cmp dword [ebp - 0x144c], 8
lea ecx, [ebp - 0x1460]
mov eax, dword [ebp - 0x1450]
cmovae ecx, dword [ebp - 0x1460]
add eax, eax
push eax
push ecx
push str.CALS_DdeDropletFile
lea ecx, [ebp - 0x1494]
call fcn.00401510
mov edi, dword [ebp - 0x146c]
mov ecx, esi
sub ecx, edi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
je 0x402a19
nop dword [eax]
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x4029fa
mov ecx, dword [edi]
mov eax, dword [edi + 0x10]
add eax, eax
push eax
push ecx
push str.CALS_DdeFileName
lea ecx, [ebp - 0x1494]
call fcn.00401510
add edi, 0x18
sub ebx, 1
jne 0x4029f0
mov ebx, dword [sym.imp.KERNEL32.dll_FindResourceW]
push 0x3e7
push 0x65
push 0
call ebx
mov edi, eax
test edi, edi
je 0x402a70
push edi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x1470], eax
test eax, eax
je 0x402a70
push edi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 0x1470]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x402a70
push edi
push eax
push str.CALS_DdeProfile
lea ecx, [ebp - 0x1494]
call fcn.00401510
push 0x3e7
push 0x66
push 0
call ebx
mov edi, eax
test edi, edi
je 0x402ab8
push edi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x402ab8
push edi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push ebx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x402ab8
push edi
push eax
push str.CALS_DropletDataStruct
lea ecx, [ebp - 0x1494]
call fcn.00401510
lea ecx, [ebp - 0x1494]
call fcn.00401470
mov edx, dword [ebp - 0x1434]
pop edi
cmp edx, 8
jb 0x402b04
mov ecx, dword [ebp - 0x1448]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402afa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402bd9
push edx
push ecx
call fcn.004031dc
add esp, 8
mov ebx, dword [ebp - 0x146c]
xor eax, eax
mov dword [ebp - 0x1438], 0
mov dword [ebp - 0x1434], 7
mov word [ebp - 0x1448], ax
test ebx, ebx
je 0x402b7f
lea ecx, [ebp - 0x147c]
push ecx
push esi
push ebx
call fcn.00401900
mov ecx, dword [ebp - 0x1474]
mov eax, 0x2aaaaaab
sub ecx, ebx
add esp, 0xc
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, ebx
shl ecx, 3
cmp ecx, 0x1000
jb 0x402b75
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402bd9
push ecx
push ebx
call fcn.004031dc
add esp, 8
mov edx, dword [ebp - 0x144c]
pop ebx
cmp edx, 8
jb 0x402bbc
mov ecx, dword [ebp - 0x1460]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402bb2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402bd9
push edx
push ecx
call fcn.004031dc
add esp, 8
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.004031ef
mov esp, ebp
pop ebp
ret 0x10
call fcn.00406aaa
call fcn.00406aaa
call fcn.00406aaa
int3