Function at 0x401f90
Capabilities:
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x44c394
push eax
mov dword fs:[0], esp
sub esp, 0x448
push ebx
push ebp
push esi
xor ebp, ebp
push edi
push ebp
call dword [sym.imp.ole32.dll_CoInitialize]
push ebp
push ebp
push ebp
push ebp
call dword [sym.imp.USER32.dll_DefWindowProcW]
call fcn.00401f40
cmp eax, ebp
je 0x4020cd
mov eax, dword [0x457050]
mov dword [esp + 0x14], eax
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, 0x4572a8
test ecx, ecx
mov dword [esp + 0x460], ebp
jne 0x401ff2
xor eax, eax
jmp 0x401ff9
push 0x4572a8
call esi
push 0x4572a8
push eax
lea ecx, [esp + 0x1c]
call fcn.00403d70
mov edx, dword [0x457050]
mov dword [esp + 0x18], edx
mov eax, 0x457290
mov byte [esp + 0x460], 1
test eax, eax
je 0x40202a
push 0x457290
call esi
push 0x457290
push eax
lea ecx, [esp + 0x20]
call fcn.00403d70
push 0x41
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push ecx
push edx
push ebp
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 1
jne 0x402067
push eax
push ebp
push ebp
push str.http:__down.360safe.com_safesetup_2000.exe
push str.open
push ebp
call fcn.00438790
add esp, 0x18
mov eax, dword [esp + 0x18]
mov edx, dword [0x457054]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x402098
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x402098
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.0042d34c
add esp, 4
mov eax, dword [esp + 0x14]
mov edx, dword [0x457054]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4020c3
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4020c3
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.0042d34c
add esp, 4
mov eax, 1
jmp 0x402b97
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], 8
push eax
mov dword [esp + 0x34], 0x404
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
push str.Q360InstallerMainWnd
push 0x4571f0
mov esi, dword [esp + 0x470]
push esi
call fcn.00401c40
push 0x4571ec
push ebp
call fcn.00438f28
add esp, 0x14
mov ecx, 0x45d408
push ebp
push esi
push ebp
call fcn.00402bc0
cmp eax, ebp
jl 0x402158
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0xc
mov dword [0x45d48c], eax
mov dword [0x45d490], ebp
call fcn.00438f1a
add esp, 4
cmp eax, ebp
je 0x402147
mov dword [eax], ebp
mov dword [eax + 4], ebp
mov dword [eax + 8], ebp
jmp 0x402149
xor eax, eax
cmp eax, ebp
mov dword [0x45d490], eax
je 0x402158
mov dword [0x45d494], ebp
call fcn.00401920
mov al, byte [0x45e818]
test al, 1
jne 0x402188
mov dl, al
mov ecx, 0x45e820
or dl, 1
mov byte [0x45e818], dl
call fcn.004296b0
push 0x403fc0
call fcn.00438860
add esp, 4
mov ecx, 0x45e820
call fcn.0042a0d0
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], ebp
push ecx
push str.360Installer.exe
push 0x4571f0
mov ecx, 0x45d3d8
call fcn.00423730
test eax, eax
je 0x402212
mov edx, dword [esp + 0x24]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40220b
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x4021da
mov ecx, dword [esp + 0x24]
push 9
push ecx
jmp 0x4021e1
mov edx, dword [esp + 0x24]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
push 3
mov eax, dword [esp + 0x28]
push ebp
push ebp
push ebp
push ebp
push 0xffffffffffffffff
push eax
call esi
push 3
push ebp
mov ecx, dword [esp + 0x2c]
push ebp
push ebp
push ebp
push 0xfffffffffffffffe
push ecx
call esi
xor eax, eax
jmp 0x402b97
mov al, byte [0x45e858]
test al, 1
jne 0x40223d
mov dl, al
mov ecx, 0x45e860
or dl, 1
mov byte [0x45e858], dl
call fcn.0042a6d0
push 0x402c90
call fcn.00438860
add esp, 4
mov ecx, 0x45e860
call fcn.0042a770
call fcn.0042b1b0
mov ecx, eax
call fcn.0042b1e0
lea ecx, [esp + 0x34]
call fcn.00422730
mov dword [esp + 0x460], 2
call fcn.00421430
test eax, eax
jne 0x4022a0
push 0x40
push 0x96
push 0xa2
push ebp
call fcn.0040a1b0
add esp, 0x10
lea ecx, [esp + 0x34]
mov dword [esp + 0x460], 0xffffffff
call fcn.004227b0
xor eax, eax
jmp 0x402b97
mov edx, dword [0x457050]
mov dword [esp + 0x10], edx
lea eax, [esp + 0x4c]
push 0x100
push eax
push 0x8f
mov byte [esp + 0x46c], 3
call fcn.00403f50
mov ecx, 0x100
or ebx, 0xffffffff
sub ecx, eax
cmp ecx, 1
jle 0x4022fd
lea edx, [esp + 0x4c]
test edx, edx
jne 0x4022e1
xor eax, eax
jmp 0x4022ec
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [esp + 0x4c]
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.00403d70
jmp 0x40234a
push 0x1ff
lea ecx, [esp + 0x14]
mov esi, 0x200
call fcn.00403b50
cmp eax, ebp
je 0x402340
push esi
push eax
push 0x8f
call fcn.00403f50
mov edx, esi
sub edx, eax
cmp edx, 1
jg 0x402340
add esi, 0x100
lea ecx, [esp + 0x10]
lea eax, [esi - 1]
push eax
call fcn.00403b50
cmp eax, ebp
jne 0x402314
push ebx
lea ecx, [esp + 0x14]
call fcn.00403c10
lea ecx, [esp + 0x10]
push ecx
call fcn.00401120
add esp, 4
lea edx, [esp + 0x4c]
mov edi, eax
push 0x100
push edx
push 0x94
call fcn.00403f50
mov ecx, 0x100
sub ecx, eax
cmp ecx, 1
jle 0x402389
lea edx, [esp + 0x4c]
lea ecx, [esp + 0x10]
push edx
call fcn.004030d0
jmp 0x4023d6
push 0x1ff
lea ecx, [esp + 0x14]
mov esi, 0x200
call fcn.00403b50
cmp eax, ebp
je 0x4023cc
push esi
push eax
push 0x94
call fcn.00403f50
mov ecx, esi
sub ecx, eax
cmp ecx, 1
jg 0x4023cc
add esi, 0x100
lea ecx, [esp + 0x10]
lea edx, [esi - 1]
push edx
call fcn.00403b50
cmp eax, ebp
jne 0x4023a0
push ebx
lea ecx, [esp + 0x14]
call fcn.00403c10
cmp edi, ebp
je 0x4023e9
lea eax, [esp + 0x10]
push eax
call fcn.00401120
add esp, 4
mov edi, eax
lea ecx, [esp + 0x4c]
push 0x100
push ecx
push 0x9b
call fcn.00403f50
mov edx, 0x100
sub edx, eax
cmp edx, 1
jle 0x402419
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x10]
push eax
call fcn.004030d0
jmp 0x402466
push 0x1ff
lea ecx, [esp + 0x14]
mov esi, 0x200
call fcn.00403b50
cmp eax, ebp
je 0x40245c
push esi
push eax
push 0x9b
call fcn.00403f50
mov ecx, esi
sub ecx, eax
cmp ecx, 1
jg 0x40245c
add esi, 0x100
lea ecx, [esp + 0x10]
lea edx, [esi - 1]
push edx
call fcn.00403b50
cmp eax, ebp
jne 0x402430
push ebx
lea ecx, [esp + 0x14]
call fcn.00403c10
cmp edi, ebp
je 0x40247f
lea eax, [esp + 0x10]
push eax
call fcn.00401120
add esp, 4
cmp eax, ebp
jne 0x402531
mov al, byte [0x45e818]
test al, 1
jne 0x4024aa
mov dl, al
mov ecx, 0x45e820
or dl, 1
mov byte [0x45e818], dl
call fcn.004296b0
push 0x403fc0
call fcn.00438860
add esp, 4
push 0x18
mov ecx, 0x45e820
call fcn.00429980
push 0x40
push 0x4571c0
push 0x4571b0
push 0x457168
push ebp
call fcn.0040a6c0
add esp, 0x14
cmp eax, 1
jne 0x4024eb
push eax
push ebp
push ebp
push str.http:__360.cn
push str.open
push ebp
call fcn.00438790
add esp, 0x18
mov eax, dword [esp + 0x10]
mov edx, dword [0x457054]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40251a
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x40251a
mov edx, dword [esp + 0x10]
lea eax, [edx - 0xc]
push eax
call fcn.0042d34c
add esp, 4
lea ecx, [esp + 0x34]
mov dword [esp + 0x460], ebx
call fcn.004227b0
xor eax, eax
jmp 0x402b97
call fcn.00425510
mov ecx, eax
call fcn.004256c0
test eax, eax
je 0x402b0a
call fcn.00425510
mov ecx, eax
call fcn.00425ab0
test eax, eax
je 0x402b0a
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x24e]
mov word [esp + 0x24c], bp
rep stosd dword es:[edi], eax
lea eax, [esp + 0x24c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push ebp
lea ecx, [esp + 0x250]
push 0xc800000
push ecx
call fcn.004205b0
add esp, 0xc
test eax, eax
jne 0x402762
mov al, byte [0x45e818]
test al, 1
jne 0x4025cd
mov dl, al
mov ecx, 0x45e820
or dl, 1
mov byte [0x45e818], dl
call fcn.004296b0
push 0x403fc0
call fcn.00438860
add esp, 4
push 0x1a
mov ecx, 0x45e820
call fcn.00429980
lea edx, [esp + 0x24c]
lea eax, [esp + 0x1c]
push edx
push eax
call fcn.00420610
add esp, 8
lea ecx, [esp + 0x28]
push 1
push ecx
lea ecx, [esp + 0x24]
mov byte [esp + 0x468], 4
call fcn.00403320
mov esi, eax
mov eax, dword [esi]
mov ecx, dword [esp + 0x1c]
cmp ecx, eax
mov byte [esp + 0x460], 5
je 0x40265a
cmp dword [ecx - 0xc], ebp
jge 0x40262c
mov edx, dword [0x457054]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x402631
cmp dword [eax - 0xc], ebp
jge 0x402641
mov edx, dword [eax - 8]
push eax
push edx
lea ecx, [esp + 0x24]
call fcn.00403d70
jmp 0x40265a
lea ecx, [esp + 0x1c]
call fcn.00403e30
mov esi, dword [esi]
mov dword [esp + 0x1c], esi
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [esp + 0x28]
mov edx, dword [0x457054]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40268b
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40268b
mov edx, dword [esp + 0x28]
lea eax, [edx - 0xc]
push eax
call fcn.0042d34c
add esp, 4
mov eax, dword [0x457050]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x1c]
push 0xc8
push ecx
lea edx, [esp + 0x34]
push 0x95
push edx
mov byte [esp + 0x470], 6
call fcn.00403490
mov eax, dword [esp + 0x3c]
push 0x40
push 0x96
push eax
push ebp
call fcn.0040a440
mov eax, dword [esp + 0x4c]
mov edx, dword [0x457054]
add esp, 0x20
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4026f5
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4026f5
mov edx, dword [esp + 0x2c]
lea eax, [edx - 0xc]
push eax
call fcn.0042d34c
add esp, 4
mov eax, dword [esp + 0x1c]
mov edx, dword [0x457054]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x402720
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x402720
mov edx, dword [esp + 0x1c]
lea eax, [edx - 0xc]
push eax
call fcn.0042d34c
add esp, 4
mov eax, dword [esp + 0x10]
mov edx, dword [0x457054]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40274b
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40274b
mov edx, dword [esp + 0x10]
lea eax, [edx - 0xc]
push eax
call fcn.0042d34c
add esp, 4
lea ecx, [esp + 0x34]
mov dword [esp + 0x460], ebx
call fcn.004227b0
xor eax, eax
jmp 0x402b97
lea ecx, [esp + 0x3c]
call fcn.0041fcc0
mov eax, dword [esp + 0x44]
mov byte [esp + 0x460], 7
cmp dword [eax - 8], ebp
je 0x4027b6
mov al, byte [0x45e818]
test al, 1
jne 0x4027a7
mov dl, al
mov ecx, 0x45e820
or dl, 1
mov byte [0x45e818], dl
call fcn.004296b0
push 0x403fc0
call fcn.00438860
add esp, 4
lea ecx, [esp + 0x44]
push ecx
mov ecx, 0x45e820
call fcn.00429dd0
mov ecx, 0x45d550
call fcn.00427030
mov ecx, 0x45d550
call fcn.00426b70
call fcn.004215b0
test eax, eax
jne 0x402a81
mov eax, dword [0x45d5cc]
cmp dword [eax - 0xc], ebp
jl 0x4027f1
mov dword [esp + 0x18], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x402805
mov edx, dword [0x457050]
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], edx
call fcn.004030d0
mov eax, dword [0x457050]
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x4c]
push 0x100
mov bl, 0xa
push eax
push 0x9c
mov byte [esp + 0x46c], bl
call fcn.00403f50
mov ecx, 0x100
sub ecx, eax
cmp ecx, 1
jle 0x40284b
lea edx, [esp + 0x4c]
lea ecx, [esp + 0x14]
push edx
call fcn.004030d0
jmp 0x402899
push 0x1ff
lea ecx, [esp + 0x18]
mov esi, 0x200
call fcn.00403b50
cmp eax, ebp
je 0x40288e
push esi
push eax
push 0x9c
call fcn.00403f50
mov ecx, esi
sub ecx, eax
cmp ecx, 1
jg 0x40288e
add esi, 0x100
lea ecx, [esp + 0x14]
lea edx, [esi - 1]
push edx
call fcn.00403b50
cmp eax, ebp
jne 0x402862
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call fcn.00403c10
mov eax, dword [esp + 0x14]
push eax
call fcn.00438ec8
add esp, 4
lea ecx, [esp + 0x4c]
mov dword [0x45d5fc], eax
push 0x100
push ecx
push 0x9d
call fcn.00403f50
mov edx, 0x100
sub edx, eax
cmp edx, 1
jle 0x4028db
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x20]
push eax
call fcn.004030d0
jmp 0x402929
push 0x1ff
lea ecx, [esp + 0x24]
mov esi, 0x200
call fcn.00403b50
cmp eax, ebp
je 0x40291e
push esi
push eax
push 0x9d
call fcn.00403f50
mov ecx, esi
sub ecx, eax
cmp ecx, 1
jg 0x40291e
add esi, 0x100
lea ecx, [esp + 0x20]
lea edx, [esi - 1]
push edx
call fcn.00403b50
cmp eax, ebp
jne 0x4028f2
push 0xffffffffffffffff
lea ecx, [esp + 0x24]
call fcn.00403c10
mov eax, dword [esp + 0x20]
push eax
call fcn.00438ec8
mov dword [0x45d600], eax
mov eax, dword [0x45d5fc]
mov ecx, dword [esp + 0x1c]
shl eax, 0x14
cdq
push edx
push eax
push ecx
call fcn.004205b0
add esp, 0x10
test eax, eax
jne 0x402a4b
mov al, byte [0x45e818]
test al, 1
jne 0x402983
mov dl, al
mov ecx, 0x45e820
or dl, 1
mov byte [0x45e818], dl
call fcn.004296b0
push 0x403fc0
call fcn.00438860
add esp, 4
push 0x1b
mov ecx, 0x45e820
call fcn.00429980
mov edx, dword [0x457050]
mov dword [esp + 0x28], edx
mov eax, dword [0x45d5fc]
lea ecx, [esp + 0x28]
push eax
push 0x99
push ecx
mov byte [esp + 0x46c], 0xb
call fcn.00403490
mov edx, dword [esp + 0x34]
push 0x40
push 0x96
push edx
push ebp
call fcn.0040a440
add esp, 0x1c
lea ecx, [esp + 0x28]
mov byte [esp + 0x460], bl
call fcn.00403ce0
lea ecx, [esp + 0x20]
mov byte [esp + 0x460], 9
call fcn.00403ce0
lea ecx, [esp + 0x14]
mov byte [esp + 0x460], 8
call fcn.00403ce0
lea ecx, [esp + 0x18]
mov byte [esp + 0x460], 7
call fcn.00403ce0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x460], 3
call fcn.0041fe10
lea ecx, [esp + 0x10]
mov byte [esp + 0x460], 2
call fcn.00403ce0
lea ecx, [esp + 0x34]
mov dword [esp + 0x460], 0xffffffff
call fcn.004227b0
xor eax, eax
jmp 0x402b97
lea ecx, [esp + 0x20]
mov byte [esp + 0x460], 9
call fcn.00403ce0
lea ecx, [esp + 0x14]
mov byte [esp + 0x460], 8
call fcn.00403ce0
lea ecx, [esp + 0x18]
mov byte [esp + 0x460], 7
call fcn.00403ce0
or ebx, 0xffffffff
mov eax, dword [esp + 0x474]
mov ecx, dword [esp + 0x470]
push eax
push ecx
call fcn.00401ca0
add esp, 8
mov ecx, 0x45d3d8
mov esi, eax
call fcn.00423950
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x45d408
call fcn.00402f00
call dword [sym.imp.ole32.dll_CoUninitialize]
call fcn.00401ab0
call fcn.00403f80
mov ecx, eax
call fcn.0042a0b0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x460], 3
call fcn.0041fe10
lea ecx, [esp + 0x10]
mov byte [esp + 0x460], 2
call fcn.00403ce0
lea ecx, [esp + 0x34]
mov dword [esp + 0x460], ebx
call fcn.004227b0
mov eax, esi
jmp 0x402b97
mov al, byte [0x45e818]
test al, 1
jne 0x402b35
mov dl, al
mov ecx, 0x45e820
or dl, 1
mov byte [0x45e818], dl
call fcn.004296b0
push 0x403fc0
call fcn.00438860
add esp, 4
push 0x19
mov ecx, 0x45e820
call fcn.00429980
push 0x40
push 0x80
push 0x8d
push ebp
call fcn.0040a1b0
mov eax, dword [esp + 0x20]
mov ecx, dword [0x457054]
add esp, 0x10
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x402b85
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x402b85
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.0042d34c
add esp, 4
lea ecx, [esp + 0x34]
mov dword [esp + 0x460], ebx
call fcn.004227b0
mov eax, ebx
mov ecx, dword [esp + 0x458]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x454
ret 0x10