Function at 0x4caa00
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5425ec
mov eax, dword fs:[0]
push eax
sub esp, 0x9a8
mov eax, dword [0x58cfe0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x224]
mov esi, dword [ebp + 0xc]
push eax
mov dword [ebp - 0x998], edi
mov dword [ebp - 0x224], 8
mov dword [ebp - 0x220], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
push esi
push edi
call fcn.0050170f
push 0x58f69c
push 0x58f698
push 0x58f694
push 0x58f690
push 0x58f68c
push 0x58f688
push 0x58f684
push 0x58f680
call fcn.0049e5c0
add esp, 0x20
cmp dword [0x58f684], 2
jg 0x4caaae
mov eax, 1
jmp 0x4cb788
cmp dword [0x58f688], 0
je 0x4caad7
push str.setup_x64.exe
call fcn.004cb7b0
add esp, 4
mov esi, eax
call fcn.004fbda1
xor eax, eax
test esi, esi
sete al
jmp 0x4cb788
lea ecx, [ebp - 0x490]
call fcn.00438ec0
mov dword [ebp - 4], 0
call fcn.004e817d
mov ecx, eax
test ecx, ecx
jne 0x4caafe
push 0x80004005
call fcn.00403650
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x9a8], eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x310]
push 0x90
push 0
push eax
call fcn.00509680
add esp, 0xc
lea ecx, [ebp - 0x310]
call fcn.004c2300
mov byte [ebp - 4], 3
lea eax, [ebp - 0x448]
push 0x90
push 0
push eax
call fcn.00509680
add esp, 0xc
lea ecx, [ebp - 0x448]
call fcn.004c2300
mov byte [ebp - 4], 4
mov dword [ebp - 0x98c], 0
mov dword [ebp - 0x21c], 0
call fcn.004e817d
mov ecx, eax
test ecx, ecx
jne 0x4cab85
push 0x80004005
call fcn.00403650
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x21c], eax
mov byte [ebp - 4], 6
mov dword [ebp - 0x9a4], 0
mov dword [ebp - 0x99c], 1
call fcn.004e817d
mov ecx, eax
test ecx, ecx
jne 0x4cabc2
push 0x80004005
call fcn.00403650
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x9a0], esi
mov byte [ebp - 4], 8
lea eax, [ebp - 0x730]
push 0x2a0
push 0
push eax
call fcn.00509680
add esp, 0xc
lea ecx, [ebp - 0x730]
call fcn.004a2570
mov byte [ebp - 4], 9
call fcn.004e817d
mov ecx, eax
test ecx, ecx
jne 0x4cac10
push 0x80004005
call fcn.00403650
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x9ac], edi
mov byte [ebp - 4], 0xb
xorps xmm0, xmm0
lea ecx, [ebp - 0x280]
mov dword [ebp - 0x994], 0
movups xmmword [ebp - 0x280], xmm0
call fcn.0047ab50
mov byte [ebp - 4], 0xc
push 2
push 0
mov dword [ebp - 0x9b0], 0xffffffff
mov dword [ebp - 0x9b4], 0xffffffff
call dword [sym.imp.ole32.dll_CoInitializeEx]
push 0
push str.pdfFactory
push 0x80
push 0x58f378
call fcn.004823d0
add esp, 0x10
mov dword [0x58e8f0], 1
call fcn.004b2e40
test eax, eax
je 0x4cb370
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x98c]
push eax
call fcn.004b8d50
add esp, 8
test eax, eax
je 0x4cacbd
push 0
push dword [ebp - 0x98c]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp - 0x21c]
call fcn.004b9580
add esp, 4
test eax, eax
je 0x4cb370
push 0x38
lea eax, [ebp - 0x348]
push 0
push eax
call fcn.00509680
add esp, 0xc
lea ecx, [ebp - 0x348]
push 0
call fcn.0046f8c0
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x270]
push 0x38
push 0
push eax
call fcn.00509680
add esp, 0xc
lea ecx, [ebp - 0x270]
push 0
call fcn.0046f950
mov byte [ebp - 4], 0xe
xor eax, eax
cmp dword [ebp - 0x33c], eax
setne al
mov dword [ebp - 0x9b0], eax
xor eax, eax
cmp dword [ebp - 0x264], eax
setne al
mov dword [ebp - 0x9b4], eax
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x270], 0x546dcc
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x270]
call fcn.00467ce0
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x348], 0x546dc8
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x348]
call fcn.00467ce0
push 0
lea ecx, [ebp - 0x448]
call fcn.004c2430
mov ecx, dword [ebp - 0x3ec]
test ecx, ecx
je 0x4cadb8
xor eax, eax
cmp ecx, 2
sete al
push eax
call fcn.004c2e80
add esp, 4
mov dword [ebp - 0x2b0], 0
mov dword [ebp - 0x99c], 0
jmp 0x4cb370
cmp dword [ebp - 0x3e8], 1
jne 0x4cae8d
lea eax, [ebp - 0x218]
push eax
call fcn.004b8cd0
add esp, 4
test eax, eax
je 0x4cae8d
push dword [ebp - 0x98c]
call dword [sym.imp.USER32.dll_IsWindow]
mov edi, dword [sym.imp.KERNEL32.dll_GetCommandLineW]
test eax, eax
jne 0x4cae0d
push eax
push 0xffffffffffffffff
push str._quiet
call edi
push eax
call fcn.0049c330
add esp, 0x10
test eax, eax
jne 0x4cae8d
push 0x258
lea eax, [ebp - 0x988]
push 0
push eax
call fcn.00509680
add esp, 0xc
lea eax, [ebp - 0x218]
lea ecx, [ebp - 0x988]
push eax
call fcn.004a1830
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x988]
push str.Options
push str.Setup
call fcn.004a1be0
push eax
mov dword [ebp - 0x990], eax
call fcn.004180e0
add esp, 4
test eax, eax
jne 0x4cae7e
push dword [ebp - 0x990]
call edi
push eax
lea eax, [ebp - 0x9a8]
push 0x54b6b4
push eax
call fcn.00407a60
add esp, 0x10
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x988]
call fcn.004a18f0
push dword [ebp - 0x9a8]
lea ecx, [ebp - 0x310]
call fcn.004c2430
mov eax, dword [0x58fd94]
mov ecx, 1
cmp dword [ebp - 0x2ac], 0xffffffff
push 0x104
cmove eax, ecx
mov dword [0x58fd94], eax
lea eax, [ebp - 0x218]
push eax
push 0
call fcn.004a5410
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x990]
push eax
call fcn.004babe0
add esp, 0x14
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x9ac]
push eax
call fcn.00406a00
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x990]
call fcn.00403400
mov edi, dword [ebp - 0x9ac]
push 0
push edi
call fcn.00415760
add esp, 8
test eax, eax
je 0x4caf37
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x58f678], eax
test eax, eax
jne 0x4caf37
push edi
push str.Missing_or_invalid_resource_DLL_n_s.
call fcn.00489f90
add esp, 8
jmp 0x4cb370
push 0x38
lea eax, [ebp - 0x270]
push 0
push eax
call fcn.00509680
add esp, 0xc
lea ecx, [ebp - 0x270]
push 0
call fcn.0046f8c0
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x270]
push 0
push dword [0x550890]
call fcn.004686c0
movzx eax, ax
mov dword [ebp - 0x990], eax
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x270], 0x546dc8
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x270]
call fcn.00467ce0
push dword [ebp - 0x290]
call fcn.004180e0
add esp, 4
test eax, eax
jne 0x4cafd4
push dword [ebp - 0x290]
mov eax, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
call eax
mov dword [0x58f678], eax
test eax, eax
jne 0x4cb01d
push dword [ebp - 0x290]
push str.Missing_or_invalid_resource_DLL_n_s.
call fcn.00489f90
add esp, 8
jmp 0x4cb370
push dword [ebp - 0x28c]
call fcn.004180e0
add esp, 4
test eax, eax
jne 0x4cb014
push dword [ebp - 0x28c]
mov eax, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
call eax
mov dword [0x58f678], eax
test eax, eax
jne 0x4cb01d
push dword [ebp - 0x28c]
push str.Missing_or_invalid_resource_DLL_n_s.
call fcn.00489f90
add esp, 8
jmp 0x4cb370
cmp dword [0x58f678], 0
je 0x4cb038
push dword [ebp - 0x998]
call fcn.00498e20
mov ax, word [0x58fd90]
add esp, 4
mov word [ebp - 0x990], ax
lea eax, [ebp - 0x218]
push eax
call fcn.004a8900
push 0x104
lea eax, [ebp - 0x218]
push eax
push dword [0x550938]
push eax
call fcn.0048f340
push 0
lea eax, [ebp - 0x218]
push reloc.OLEAUT32.dll_SysReAllocString
push eax
call fcn.00491d20
mov ecx, dword [ebp - 0x288]
add esp, 0x20
cmp dword [ecx - 0xc], 0
je 0x4cb094
mov eax, dword [ebp - 0x284]
test eax, eax
jle 0x4cb094
push 1
push eax
push ecx
call fcn.004028d0
add esp, 0xc
push dword [ebp - 0x998]
call fcn.004986a0
add esp, 4
test eax, eax
je 0x4cb370
cmp dword [ebp - 0x2a8], 0
je 0x4cb168
xorps xmm0, xmm0
mov dword [ebp - 0x228], 0
lea ecx, [ebp - 0x238]
movups xmmword [ebp - 0x238], xmm0
call fcn.004c1040
mov byte [ebp - 4], 0x16
lea eax, [ebp - 0x218]
push eax
call fcn.004a8900
push 0x104
lea eax, [ebp - 0x218]
push eax
push str.fp.dll
push eax
call fcn.0048f340
push 0
push dword [0x58fca0]
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x238]
push eax
call fcn.0046b5a0
add esp, 0x24
test eax, eax
jle 0x4cb132
push 1
lea eax, [ebp - 0x238]
push 1
push eax
call fcn.004adac0
add esp, 0xc
push dword [ebp - 0x294]
call fcn.004b4500
add esp, 4
mov dword [ebp - 0x99c], 0
mov dword [ebp - 0x2ac], 0xffffffff
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x238]
call fcn.004c1070
jmp 0x4cb370
push 0
push 0
call fcn.00472de0
add esp, 8
test eax, eax
jg 0x4cb18a
push 0x2f4b
call fcn.00489f40
add esp, 4
jmp 0x4cb370
push 0
lea ecx, [ebp - 0x280]
call fcn.0047b1b0
mov eax, dword [ebp - 0x2b0]
cmp eax, 2
jne 0x4cb23a
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0
call fcn.004a5410
push 0
lea eax, [ebp - 0x218]
push eax
push 0x590ad0
call fcn.004a9d90
test eax, eax
mov ecx, 1
mov eax, 0
cmovne eax, ecx
mov dword [ebp - 0x998], eax
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [0x58f678]
call fcn.004a5410
push 0
lea eax, [ebp - 0x218]
push eax
push 0x590ad0
call fcn.004a9d90
add esp, 0x30
test eax, eax
jne 0x4cb21c
mov eax, dword [ebp - 0x998]
test eax, eax
je 0x4cb234
call fcn.004ca7b0
test eax, eax
je 0x4cb234
mov dword [ebp - 0x2ac], 0xffffffff
jmp 0x4cb370
mov eax, dword [ebp - 0x2b0]
sub eax, 1
je 0x4cb256
sub eax, 1
jne 0x4cb27a
push 0x58f378
lea ecx, [ebp - 0x9a0]
call fcn.004054b0
jmp 0x4cb274
push 0x54fc30
push 0x58f378
lea eax, [ebp - 0x9a0]
push 0x54b6b4
push eax
call fcn.00407a60
add esp, 0x10
mov esi, dword [ebp - 0x9a0]
push 0x1a18
call fcn.004e6b1f
add esp, 4
mov dword [ebp - 0x998], eax
mov byte [ebp - 4], 0x19
test eax, eax
je 0x4cb2b4
push 0x1a18
push 0
push eax
call fcn.00509680
mov ecx, dword [ebp - 0x998]
add esp, 0xc
push 0
call fcn.004c40d0
jmp 0x4cb2b6
xor eax, eax
mov dword [ebp - 0x994], eax
mov byte [ebp - 4], 0xc
mov ecx, eax
push 0
push esi
call fcn.004f81e2
mov ecx, dword [ebp - 0x994]
lea eax, [ebp - 0x310]
push eax
call fcn.004c44b0
test eax, eax
je 0x4cb370
cmp dword [ebp - 0x2b0], 1
jne 0x4cb2fe
push dword [ebp - 0x990]
mov ecx, dword [ebp - 0x994]
call fcn.004c4700
push 0x18
call fcn.004e6b1f
add esp, 4
mov dword [ebp - 0x990], eax
mov byte [ebp - 4], 0x1a
test eax, eax
je 0x4cb32a
xorps xmm0, xmm0
mov ecx, eax
movups xmmword [eax], xmm0
movq qword [eax + 0x10], xmm0
call fcn.004613b0
jmp 0x4cb32c
xor eax, eax
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x994]
mov dword [0x592f90], eax
mov eax, dword [ecx]
call dword [eax + 0x168]
mov ecx, dword [ebp - 0x994]
call fcn.004c4ae0
mov dword [ebp - 0x9a4], eax
xor edx, edx
mov eax, dword [ebp - 0x994]
mov ecx, 1
cmp dword [eax + 0x1974], edx
cmovne ecx, edx
mov dword [ebp - 0x99c], ecx
mov eax, dword [0x592f90]
mov dword [ebp - 0x990], eax
test eax, eax
je 0x4cb396
mov ecx, eax
call fcn.004613e0
push 0x18
push dword [ebp - 0x990]
call fcn.00507268
add esp, 8
cmp dword [ebp - 0x2b0], 2
mov dword [0x592f90], 0
jne 0x4cb432
cmp dword [ebp - 0x2a4], 2
jne 0x4cb432
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0
call fcn.004a5410
cmp dword [ebp - 0x9a4], 0
lea eax, [ebp - 0x218]
je 0x4cb40c
add esp, 0xc
lea ecx, [ebp - 0x730]
push eax
call fcn.004a2650
push dword [ebp - 0x290]
call fcn.004180e0
add esp, 4
test eax, eax
jne 0x4cb432
push dword [ebp - 0x290]
lea ecx, [ebp - 0x730]
call fcn.004a2650
jmp 0x4cb432
push eax
call fcn.00415310
push dword [ebp - 0x290]
call fcn.004180e0
add esp, 0x14
test eax, eax
jne 0x4cb432
push dword [ebp - 0x290]
call fcn.00415310
add esp, 4
push dword [ebp - 0x98c]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4cb450
push 4
push dword [ebp - 0x98c]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0x994]
test ecx, ecx
je 0x4cb461
mov eax, dword [ecx]
push 1
call dword [eax + 4]
cmp dword [ebp - 0x2b0], 0
je 0x4cb477
cmp dword [ebp - 0x99c], 0
je 0x4cb680
push 0x38
lea eax, [ebp - 0x270]
push 0
push eax
call fcn.00509680
add esp, 0xc
lea ecx, [ebp - 0x270]
push 0
call fcn.0046f8c0
mov byte [ebp - 4], 0x1b
xor eax, eax
cmp dword [ebp - 0x264], eax
push 0x38
setne al
mov dword [ebp - 0x990], eax
lea eax, [ebp - 0x348]
push 0
push eax
call fcn.00509680
add esp, 0xc
lea ecx, [ebp - 0x348]
push 0
call fcn.0046f950
mov byte [ebp - 4], 0x1c
xor eax, eax
cmp dword [ebp - 0x33c], eax
push 0x38
setne al
mov dword [ebp - 0x998], eax
lea eax, [ebp - 0x3b8]
push 0
push eax
call fcn.00509680
add esp, 0xc
lea ecx, [ebp - 0x3b8]
call fcn.00467c80
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x270]
call fcn.00467da0
lea ecx, [ebp - 0x348]
call fcn.00467da0
cmp dword [ebp - 0x9b0], 0
jne 0x4cb5a8
cmp dword [ebp - 0x990], 0
je 0x4cb5a8
push 0x38
lea eax, [ebp - 0x380]
push 0
push eax
call fcn.00509680
add esp, 0xc
lea ecx, [ebp - 0x380]
push 1
call fcn.0046f8c0
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x380]
push 1
call fcn.00467dc0
push dword [0x58c108]
lea eax, [ebp - 0x3b8]
push reloc.OLEAUT32.dll_SysReAllocString
push eax
call fcn.00469210
add esp, 0xc
test eax, eax
je 0x4cb58b
push 2
lea ecx, [ebp - 0x3b8]
call fcn.00467dc0
mov byte [ebp - 4], 0x1d
mov dword [ebp - 0x380], 0x546dc8
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x380]
call fcn.00467ce0
cmp dword [ebp - 0x9b4], 0
jne 0x4cb637
cmp dword [ebp - 0x998], 0
je 0x4cb637
push 0x38
lea eax, [ebp - 0x380]
push 0
push eax
call fcn.00509680
add esp, 0xc
lea ecx, [ebp - 0x380]
push 1
call fcn.0046f950
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x380]
push 1
call fcn.00467dc0
push dword [0x58c108]
lea eax, [ebp - 0x3b8]
push SysReAllocString
push eax
call fcn.00469210
add esp, 0xc
test eax, eax
je 0x4cb61a
push 2
lea ecx, [ebp - 0x3b8]
call fcn.00467dc0
mov byte [ebp - 4], 0x1d
mov dword [ebp - 0x380], 0x546dcc
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x380]
call fcn.00467ce0
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x3b8]
call fcn.00467ce0
mov byte [ebp - 4], 0x1b
mov dword [ebp - 0x348], 0x546dcc
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x348]
call fcn.00467ce0
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x270], 0x546dc8
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x270]
call fcn.00467ce0
call fcn.00498660
call dword [sym.imp.ole32.dll_CoUninitialize]
call fcn.004fbda1
cmp dword [ebp - 0x9a4], 0
je 0x4cb69e
call fcn.00473210
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x280]
call fcn.0047abc0
mov byte [ebp - 4], 9
lea edx, [edi - 0x10]
or edi, 0xffffffff
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4cb6cb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 8
mov dword [ebp - 0x730], 0x54fa3c
mov byte [ebp - 4], 0x25
lea ecx, [ebp - 0x4d4]
call fcn.00467ce0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x72c]
call fcn.004a18f0
mov byte [ebp - 4], 6
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4cb712
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
mov eax, edi
mov edx, dword [ebp - 0x21c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4cb733
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x448]
call fcn.004c3ec0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x310]
call fcn.004c3ec0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x9a8]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x4cb770
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x490]
call fcn.00438f00
mov eax, dword [ebp - 0x99c]
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.00507257
mov esp, ebp
pop ebp
ret 0x10