Function at 0x404290
Capabilities:
Accept command line arguments
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51457e
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x55a144]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x218], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x220]
push eax
mov dword [ebp - 0x220], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x214], eax
test eax, eax
je 0x40444e
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
xor esi, esi
cmp dword [ebp - 0x220], esi
jle 0x40441a
mov edx, dword [eax + esi*4]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x404350
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.00402410
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x14], eax
je 0x4043a8
movups xmm0, xmmword [ebp - 0x40]
mov dword [eax + 0x10], 0
xor ecx, ecx
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x30]
movq qword [eax + 0x10], xmm0
mov eax, 7
mov dword [ebp - 0x2c], eax
add dword [ebp - 0x18], 0x18
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], cx
jmp 0x4043b8
lea ecx, [ebp - 0x40]
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.00404bf0
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 0
cmp eax, 8
jb 0x4043f3
mov ecx, dword [ebp - 0x40]
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4043e9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40498d
push edx
push ecx
call fcn.004f14e5
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
inc esi
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x214]
mov dword [ebp - 0x2c], 7
cmp esi, dword [ebp - 0x220]
jl 0x404322
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov esi, dword [ebp - 0x218]
lea ecx, [ebp - 0x1c]
lea edi, [esi + 4]
mov edx, edi
mov dword [ebp - 0x214], edi
call fcn.00401fb0
cmp dword [edi], 0
jne 0x404470
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00404a60
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f110c
mov esp, ebp
pop ebp
ret 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00404a60
cmp dword [esi + 0x1c], 8
lea ecx, [esi + 8]
jb 0x40448b
mov ecx, dword [esi + 8]
mov edx, str.2345PdfEditor
call fcn.004119e0
test al, al
jne 0x4044b7
cmp dword [esi + 0x1c], 8
lea ecx, [esi + 8]
jb 0x4044a5
mov ecx, dword [esi + 8]
mov edx, str.2345PdfReader
call fcn.004119e0
test al, al
je 0x4048ca
push 0x2f
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x28]
push str.RC_LOGIN_2DC8A925_747B_4E46_878C_A1BF2E2D1B62
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00402410
mov dword [ebp - 4], 2
mov edx, dword [ebp - 0x14]
mov eax, edx
mov ecx, dword [ebp - 0x18]
sub eax, ecx
cmp eax, 1
jb 0x404532
cmp edx, 8
lea esi, [ebp - 0x28]
push 2
cmovae esi, dword [ebp - 0x28]
lea edi, [ecx + 1]
push 0x53c428
mov dword [ebp - 0x18], edi
lea eax, [esi + ecx*2]
push eax
call fcn.004f3f40
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
lea esi, [ebp - 0x28]
mov edi, dword [ebp - 0x214]
jmp 0x404552
push 1
push 0x53c428
mov byte [ebp - 0x214], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x214]
push 1
call fcn.00404dc0
mov esi, eax
mov edx, dword [esi + 0x14]
mov ecx, edx
mov eax, dword [esi + 0x10]
sub ecx, eax
cmp ecx, 0xd
jb 0x404595
lea ecx, [eax + 0xd]
mov dword [ebp - 0x214], ecx
mov dword [esi + 0x10], ecx
cmp edx, 8
jb 0x404574
mov esi, dword [esi]
push 0x1a
lea eax, [esi + eax*2]
push str.2345PdfReader
push eax
call fcn.004f3f40
mov eax, dword [ebp - 0x214]
add esp, 0xc
xor ecx, ecx
mov word [esi + eax*2], cx
jmp 0x4045b2
push 0xd
push str.2345PdfReader
mov byte [ebp - 0x214], 0
mov ecx, esi
push dword [ebp - 0x214]
push 0xd
call fcn.00404dc0
mov edx, dword [ebp - 0x14]
mov eax, edx
mov ecx, dword [ebp - 0x18]
sub eax, ecx
cmp dword [edi], 1
jne 0x4045ea
cmp eax, 7
jb 0x4045d2
push 0xe
lea edi, [ecx + 7]
push 0x53c42c
jmp 0x4045f9
push 7
push 0x53c42c
mov byte [ebp - 0x214], 0
push dword [ebp - 0x214]
push 7
jmp 0x404630
cmp eax, 6
jb 0x40461a
push 0xc
lea edi, [ecx + 6]
push str._Login
cmp edx, 8
mov dword [ebp - 0x18], edi
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
lea eax, [esi + ecx*2]
push eax
call fcn.004f3f40
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x404638
push 6
push str._Login
mov byte [ebp - 0x214], 0
push dword [ebp - 0x214]
push 6
lea ecx, [ebp - 0x28]
call fcn.00404dc0
lea ecx, [ebp - 0x28]
call fcn.00411c90
push dword [ebp - 0x21c]
call fcn.0046b4f0
add esp, 4
xor eax, eax
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x21c], esp
push 0xd
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push str.2345PdfEditor
mov word [ecx], ax
call fcn.00402410
mov byte [ebp - 4], 3
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x210]
call fcn.004051b0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x218]
add ecx, 8
cmp dword [ecx + 0x14], 8
jb 0x4046a2
mov ecx, dword [ecx]
mov edx, str.2345PdfReader
call fcn.004119e0
sub esp, 0x18
mov dword [ebp - 0x21c], esp
mov ecx, esp
push 0xd
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
test al, al
je 0x4046e0
xor eax, eax
push str.2345PdfReader
mov word [ecx], ax
call fcn.00402410
mov byte [ebp - 4], 5
jmp 0x4046f3
xor eax, eax
push str.2345PdfEditor
mov word [ecx], ax
call fcn.00402410
mov byte [ebp - 4], 6
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x210]
call fcn.004072e0
push 5
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x40]
push 0x53c44c
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.00402410
mov byte [ebp - 4], 7
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x210]
call fcn.00406590
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x404784
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40477a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40498d
push edx
push ecx
call fcn.004f14e5
add esp, 8
mov edx, dword [ebp - 0x218]
xor eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp dword [edx], eax
jne 0x4047ff
push 8
call fcn.004f111d
add esp, 4
mov dword [ebp - 0x21c], eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.00418730
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x218]
mov esi, dword [edx]
mov dword [edx], eax
test esi, esi
je 0x4047ff
mov eax, dword [esi]
test eax, eax
je 0x4047e8
push eax
call edi
mov dword [esi], 0
push 8
push esi
mov word [esi + 4], 0
call fcn.004f14e5
mov edx, dword [ebp - 0x218]
add esp, 8
mov esi, dword [edx]
mov ecx, dword [esi]
test ecx, ecx
je 0x4048d1
cmp byte [esi + 5], 0
je 0x4048d1
test ecx, ecx
je 0x404822
push ecx
call edi
mov dword [esi], 0
mov word [esi + 4], 0
lea eax, [ebp - 0x7c]
cmp dword [ebp - 0x68], 8
mov esi, dword [sym.imp.USER32.dll_FindWindowW]
cmovae eax, dword [ebp - 0x7c]
push 0
push eax
call esi
push 0
test eax, eax
jne 0x404858
cmp dword [ebp - 0x50], 8
lea eax, [ebp - 0x64]
cmovae eax, dword [ebp - 0x64]
push eax
call esi
test eax, eax
je 0x404866
push 0
push 0
push 0x7e8
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x210]
call fcn.00405520
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4048b6
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4048ac
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404992
push edx
push ecx
call fcn.004f14e5
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
xor eax, eax
jmp 0x404453
mov eax, dword [edx + 4]
cmp eax, 2
jne 0x40490e
cmp byte [ebp - 0x140], 0
jne 0x4048f9
mov edx, dword [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x210]
call fcn.0040d9f0
add esp, 4
jmp 0x404866
push 0x17ec
push 0x407c90
call dword [sym.imp.USER32.dll_EnumWindows]
jmp 0x404866
cmp eax, 3
jne 0x40496f
cmp byte [ebp - 0x140], 0
jne 0x404940
mov edx, dword [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x210]
call fcn.0040d9f0
add esp, 4
cmp byte [ebp - 0x140], 0
je 0x404866
mov al, byte [ebp - 0x43]
jmp 0x404950
mov al, byte [ebp - 0x43]
test al, al
je 0x404958
cmp dword [ebp - 0x178], 0
jne 0x404958
test al, al
jne 0x404866
mov edx, dword [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x210]
call fcn.0040e400
add esp, 4
jmp 0x404866
cmp eax, 1
jne 0x404866
push 0x1788
push 0x407c90
call dword [sym.imp.USER32.dll_EnumWindows]
jmp 0x404866
call fcn.004f74d9
call fcn.004f74d9
int3