Function at 0x403490
Capabilities:
Create thread
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov ecx, dword [ebp + 0x10]
sub esp, 0x44
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [esp + 0xc]
push eax
mov dword [0x46e678], edi
call fcn.00403e30
mov eax, dword [esp + 0xc]
cmp dword [eax - 0xc], 0
jl 0x4034d6
push str._param1
push eax
call fcn.00445625
add esp, 8
test eax, eax
je 0x4034d6
sub eax, dword [esp + 0xc]
sar eax, 1
jns 0x403518
push 0x10
push 0x468ef0
push str.This_file_is_part_of_an_installer_and_not_meant_to_be_launched_separately.
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40350a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x44], esp
push 4
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], 0
push str.2242
mov byte [ecx + 4], 0
call fcn.00401b30
call fcn.004027d0
add esp, 0x1c
call fcn.00401c50
test al, al
jne 0x4034ea
call fcn.004033e0
lea ecx, [esp + 0x2c]
push ecx
push 0
push 0
push 0x404e60
push 0
mov ebx, 1
mov byte [0x46e6d7], bl
mov byte [0x46e6dc], 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x46e7e0], eax
lea eax, [ebx + 4]
mov dword [0x46d61c], ebx
lea ebx, [eax - 3]
call fcn.00404dd0
call fcn.00402a30
mov edx, dword [0x46db1c]
mov eax, dword [edx + 0xc]
mov ecx, 0x46db1c
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov ax, word [0x46e81c]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x44], esp
test al, al
je 0x403659
test ah, ah
jne 0x403629
push str.2041
call fcn.00401c10
call fcn.004027d0
add esp, 0x1c
lea ecx, [esp + 0x18]
push ecx
mov ecx, str.akNjYx8tFzxrQnxZBX9NaDNMeVkEeUhrCXM4GWYXZ3cHegJKThRxPi94HVtdLHg4NXM2V1syUjoyXF8wQT83VSxaaDtNNw0GC0Jb2QsNwEXWFZtez0kOR5eTFdxMiMwCGJWUlcRMyBaG1xVNG8DIVsEZh78Kw
call fcn.00403d30
lea ebx, [esp + 0x10]
call fcn.00403dd0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x403616
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x44], esp
push str.1838
jmp 0x4036e8
push str.2042
call fcn.00401c10
call fcn.004027d0
add esp, 0x1c
lea ecx, [esp + 0x1c]
push ecx
mov ecx, str.alNjYx89FzxrUnxZBW9NaDNceVkEaUhrCWM4GWYHZ3cHagJKTgRxPi9oHVtdPHg4NWMTVkPeCE2eC9yO3JcEVMXMXQMeVAZaUQWbBoteQJTQwp2Mi9mE0B7A3AoFWwcR3IVTDIQSi1lQ0cnBiAoUmhUd298Ow
call fcn.00403d30
lea ebx, [esp + 0x10]
call fcn.00403dd0
mov eax, dword [esp + 0x1c]
jmp 0x4036be
test ah, ah
jne 0x403690
push str.2043
call fcn.00401c10
call fcn.004027d0
add esp, 0x1c
lea ecx, [esp + 0x20]
push ecx
mov ecx, str.a5NjYx79FzxqknxZBK9NaDKceVkFqUhrCKM4GWfHZ3cGqgJKT8RxPi6oHVtc_Hg4NKMTVjPeCE3uHUrRNsdTimQiBI0ycdDqZUdGHIHRoSvHx2ftkOIhu6Zkx01gkrDYZ8SVLnECVf7X9QMZkgJA0Mg
call fcn.00403d30
lea ebx, [esp + 0x10]
call fcn.00403dd0
mov eax, dword [esp + 0x20]
jmp 0x4035fa
push str.2044
call fcn.00401c10
call fcn.004027d0
add esp, 0x1c
lea ecx, [esp + 0x24]
push ecx
mov ecx, str.ZRNjbxB9FzBkEnxVCi9NZDwceVULKUhnBiM4FWlHZ3sIKgJGQURxMiAoHVdSfHg0OhIXWFV1bgggF2MCU3QLZz4RVAlffDE0GQlCXXZnCzMFE2pfaXYYCwwVcGVjeR8CGilqYEVLDG1PKGMYIVw8bE5i0HQ
call fcn.00403d30
lea ebx, [esp + 0x10]
call fcn.00403dd0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
or ecx, 0xffffffff
lea edx, [eax + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4036da
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x44], esp
push str.1837
call fcn.00401c10
call fcn.004027d0
mov ebx, dword [esp + 0x2c]
add esp, 0x1c
push ecx
add ebx, 0xfffffff0
mov dword [esp + 0x2c], esp
mov eax, ebx
mov esi, esp
mov dword [esp + 0x2c], ebx
call fcn.004040e0
add eax, 0x10
mov dword [esi], eax
call fcn.00403190
add esp, 4
sub esp, 0x1c
cmp dword [0x46e67c], 0
mov esi, eax
mov ecx, esp
mov dword [esp + 0x4c], esp
je 0x403782
push str.1804
call fcn.00401c10
call fcn.004027d0
add esp, 0x1c
test esi, esi
jne 0x403772
call dword [0x46e668]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x4c], esp
test eax, eax
jne 0x40375f
push str.1806
jmp 0x403787
cmp eax, 1
jne 0x40376b
push str.1807
jmp 0x403787
push str.1808
jmp 0x403787
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x4c], esp
push str.1914
jmp 0x403787
push str.1805
call fcn.00401c10
call fcn.004027d0
add esp, 0x1c
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x4c], esp
push 4
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], 0
push str.1763
mov byte [ecx + 4], 0
call fcn.00401b30
call fcn.004027d0
add esp, 0x1c
push 0
push 0x402ad0
push 0
push 0x82
push edi
mov dword [0x46d61c], 3
call dword [sym.imp.USER32.dll_CreateDialogParamW]
mov esi, eax
test esi, esi
jne 0x403838
call fcn.00403320
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403806
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40350a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
fld qword [0x46e680]
fld qword [0x469630]
fmul st(1)
call fcn.00448690
fld qword [0x46e688]
fld qword [0x469628]
push eax
fmul st(1)
call fcn.00448690
fxch st(1)
fmul qword [0x469620]
push eax
call fcn.00448690
fmul qword [0x469618]
push eax
call fcn.00448690
push eax
push esi
call dword [0x46e664]
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, 0x258
mov ebx, 4
call fcn.00404dd0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x4c], esp
push str.1860
call fcn.00401c10
call fcn.004027d0
mov ecx, esp
mov dword [esp + 0x4c], esp
push str.1773
call fcn.00401c10
call fcn.004027d0
add esp, 0x1c
call dword [0x46e668]
mov ebx, eax
cmp ebx, 9
mov edi, 0x789
jge 0x4038e3
lea edi, [ebx + 0x780]
mov edx, dword [0x46db1c]
mov eax, dword [edx + 0xc]
mov ecx, 0x46db1c
call eax
push edi
add eax, 0x10
push 0x46949c
lea edi, [esp + 0x1c]
mov dword [esp + 0x1c], eax
call fcn.00401470
mov edi, dword [esp + 0x1c]
sub esp, 0x14
mov ecx, esp
mov dword [esp + 0x4c], esp
push edi
call fcn.00401c10
call fcn.004027d0
add esp, 0x1c
cmp ebx, 3
jle 0x403999
call fcn.00403320
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40394a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x28]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403967
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40350a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x4c], esp
push str.1764
call fcn.00401c10
call fcn.004027d0
mov ecx, esp
mov dword [esp + 0x4c], esp
push str.1861
call fcn.00401c10
call fcn.004027d0
add esp, 0x1c
push 0x32c8
mov byte [0x46e6d4], 1
call dword [0x46e66c]
test eax, eax
jne 0x403aa4
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x4c], esp
push str.1862
mov dword [0x46d61c], 5
call fcn.00401c10
call fcn.004027d0
mov ecx, esp
mov dword [esp + 0x4c], esp
push str.1834
call fcn.00401c10
call fcn.004027d0
mov ecx, esp
mov dword [esp + 0x4c], esp
push str.1841
call fcn.00401c10
call fcn.004027d0
add esp, 0x1c
mov eax, 0x4650
mov ebx, 8
call fcn.00404dd0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x4c], esp
push str.1912
call fcn.00401c10
call fcn.004027d0
mov ecx, esp
mov dword [esp + 0x4c], esp
push str.1913
call fcn.00401c10
call fcn.004027d0
add esp, 0x1c
mov byte [0x46e6d4], 0
call fcn.00403320
lea eax, [esp + 0x14]
call fcn.00401430
lea eax, [esp + 0x10]
call fcn.00401430
lea eax, [esp + 0xc]
call fcn.00401430
lea eax, [ebx - 7]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov edi, esi
mov byte [0x46e6d4], 0
call fcn.00402a80
mov ecx, dword [ebp + 0x14]
push ecx
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0
push 0xfa0
push 1
push esi
call dword [sym.imp.USER32.dll_SetTimer]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
xor eax, eax
push eax
push eax
push eax
lea edx, [esp + 0x40]
push edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
call esi
test eax, eax
je 0x403b31
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
lea eax, [esp + 0x34]
push eax
call edi
lea ecx, [esp + 0x34]
push ecx
call ebx
push 0
push 0
push 0
lea edx, [esp + 0x40]
push edx
call esi
test eax, eax
jne 0x403b12
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x4c], esp
push str.1862
mov dword [0x46d61c], 5
call fcn.00401c10
call fcn.004027d0
mov ecx, esp
mov dword [esp + 0x4c], esp
push str.1834
call fcn.00401c10
call fcn.004027d0
mov eax, dword [0x46d62c]
add esp, 0x1c
cmp eax, 1
jne 0x403b85
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x4c], esp
push str.1841
jmp 0x403bec
cmp eax, 2
jne 0x403b9a
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x4c], esp
push str.1842
jmp 0x403bec
cmp eax, 3
jne 0x403baf
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x4c], esp
push str.1843
jmp 0x403bec
cmp eax, 4
jne 0x403bc4
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x4c], esp
push str.1844
jmp 0x403bec
cmp eax, 5
jne 0x403bd9
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x4c], esp
push str.1845
jmp 0x403bec
cmp eax, 6
jne 0x403bf9
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x4c], esp
push str.1846
call fcn.00401c10
call fcn.004027d0
add esp, 0x1c
mov eax, dword [0x46e6d8]
cmp eax, 1
jne 0x403c13
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x4c], esp
push str.1901
jmp 0x403c50
cmp eax, 2
jne 0x403c28
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x4c], esp
push str.1902
jmp 0x403c50
cmp eax, 3
jne 0x403c3d
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x4c], esp
push str.1903
jmp 0x403c50
cmp eax, 4
jne 0x403c5d
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x4c], esp
push str.1904
call fcn.00401c10
call fcn.004027d0
add esp, 0x1c
cmp byte [0x46e6d6], 0
je 0x403c96
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x4c], esp
push str.1849
call fcn.00401c10
call fcn.004027d0
mov ecx, esp
mov dword [esp + 0x4c], esp
push str.1864
call fcn.00401c10
call fcn.004027d0
add esp, 0x1c
mov eax, 0x2bf20
mov ebx, 8
call fcn.00404dd0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x4c], esp
push str.1766
call fcn.00401c10
call fcn.004027d0
mov ecx, esp
mov dword [esp + 0x4c], esp
push str.1912
call fcn.00401c10
call fcn.004027d0
add esp, 0x1c
call dword [0x46e648]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x4c], esp
push str.1913
call fcn.00401c10
call fcn.004027d0
add esp, 0x1c
call fcn.00403320
lea eax, [esp + 0x14]
call fcn.00401430
lea eax, [esp + 0x10]
call fcn.00401430
lea eax, [esp + 0xc]
call fcn.00401430
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10