Function at 0x401f90
Capabilities:
Create process on windows
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x44c7d4
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 0x4020cb
mov eax, dword [0x458050]
mov dword [esp + 0x14], eax
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, 0x4582a8
test ecx, ecx
mov dword [esp + 0x460], ebp
jne 0x401ff2
xor eax, eax
jmp 0x401ff9
push 0x4582a8
call esi
push 0x4582a8
push eax
lea ecx, [esp + 0x1c]
call fcn.00403e10
mov edx, dword [0x458050]
mov dword [esp + 0x18], edx
mov eax, 0x458290
mov byte [esp + 0x460], 1
test eax, eax
je 0x40202a
push 0x458290
call esi
push 0x458290
push eax
lea ecx, [esp + 0x20]
call fcn.00403e10
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 0x402065
push eax
push ebp
push ebp
push str.http:__down.360safe.com_safesetup_2000.exe
push str.open
push ebp
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [esp + 0x18]
mov edx, dword [0x458054]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x402096
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x402096
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.0042d78e
add esp, 4
mov eax, dword [esp + 0x14]
mov edx, dword [0x458054]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4020c1
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4020c1
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.0042d78e
add esp, 4
mov eax, 1
jmp 0x402b93
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 0x4581f0
mov esi, dword [esp + 0x470]
push esi
call fcn.00401c40
push 0x4581ec
push ebp
call fcn.00439378
add esp, 0x14
mov ecx, 0x45e498
push ebp
push esi
push ebp
call fcn.00402bb0
cmp eax, ebp
jl 0x402156
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0xc
mov dword [0x45e51c], eax
mov dword [0x45e520], ebp
call fcn.0043936a
add esp, 4
cmp eax, ebp
je 0x402145
mov dword [eax], ebp
mov dword [eax + 4], ebp
mov dword [eax + 8], ebp
jmp 0x402147
xor eax, eax
cmp eax, ebp
mov dword [0x45e520], eax
je 0x402156
mov dword [0x45e524], ebp
call fcn.00401920
mov al, byte [0x45f8b0]
test al, 1
jne 0x402186
mov dl, al
mov ecx, 0x45f8c0
or dl, 1
mov byte [0x45f8b0], dl
call fcn.00429af0
push 0x403fb0
call fcn.00438cb0
add esp, 4
mov ecx, 0x45f8c0
call fcn.0042a510
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], ebp
push ecx
push str.360Installer.exe
push 0x4581f0
mov ecx, 0x45e468
call fcn.00423bd0
test eax, eax
je 0x402210
mov edx, dword [esp + 0x24]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x402209
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x4021d8
mov ecx, dword [esp + 0x24]
push 9
push ecx
jmp 0x4021df
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 0x402b93
mov al, byte [0x45f8f8]
test al, 1
jne 0x40223b
mov dl, al
mov ecx, 0x45f900
or dl, 1
mov byte [0x45f8f8], dl
call fcn.0042ab10
push 0x402c80
call fcn.00438cb0
add esp, 4
mov ecx, 0x45f900
call fcn.0042abb0
call fcn.0042b5f0
mov ecx, eax
call fcn.0042b620
lea ecx, [esp + 0x34]
call fcn.00422bd0
mov dword [esp + 0x460], 2
call fcn.004214d0
test eax, eax
jne 0x40229e
push 0x40
push 0x96
push 0xa2
push ebp
call fcn.0040a1a0
add esp, 0x10
lea ecx, [esp + 0x34]
mov dword [esp + 0x460], 0xffffffff
call fcn.00422c50
xor eax, eax
jmp 0x402b93
mov edx, dword [0x458050]
mov dword [esp + 0x10], edx
lea eax, [esp + 0x4c]
push 0x100
push eax
push 0x8f
mov byte [esp + 0x46c], 3
call fcn.00403f40
mov ecx, 0x100
or ebx, 0xffffffff
sub ecx, eax
cmp ecx, 1
jle 0x4022fb
lea edx, [esp + 0x4c]
test edx, edx
jne 0x4022df
xor eax, eax
jmp 0x4022ea
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.00403e10
jmp 0x402348
push 0x1ff
lea ecx, [esp + 0x14]
mov esi, 0x200
call fcn.00403bf0
cmp eax, ebp
je 0x40233e
push esi
push eax
push 0x8f
call fcn.00403f40
mov edx, esi
sub edx, eax
cmp edx, 1
jg 0x40233e
add esi, 0x100
lea ecx, [esp + 0x10]
lea eax, [esi - 1]
push eax
call fcn.00403bf0
cmp eax, ebp
jne 0x402312
push ebx
lea ecx, [esp + 0x14]
call fcn.00403cb0
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.00403f40
mov ecx, 0x100
sub ecx, eax
cmp ecx, 1
jle 0x402387
lea edx, [esp + 0x4c]
lea ecx, [esp + 0x10]
push edx
call fcn.004030c0
jmp 0x4023d4
push 0x1ff
lea ecx, [esp + 0x14]
mov esi, 0x200
call fcn.00403bf0
cmp eax, ebp
je 0x4023ca
push esi
push eax
push 0x94
call fcn.00403f40
mov ecx, esi
sub ecx, eax
cmp ecx, 1
jg 0x4023ca
add esi, 0x100
lea ecx, [esp + 0x10]
lea edx, [esi - 1]
push edx
call fcn.00403bf0
cmp eax, ebp
jne 0x40239e
push ebx
lea ecx, [esp + 0x14]
call fcn.00403cb0
cmp edi, ebp
je 0x4023e7
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.00403f40
mov edx, 0x100
sub edx, eax
cmp edx, 1
jle 0x402417
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x10]
push eax
call fcn.004030c0
jmp 0x402464
push 0x1ff
lea ecx, [esp + 0x14]
mov esi, 0x200
call fcn.00403bf0
cmp eax, ebp
je 0x40245a
push esi
push eax
push 0x9b
call fcn.00403f40
mov ecx, esi
sub ecx, eax
cmp ecx, 1
jg 0x40245a
add esi, 0x100
lea ecx, [esp + 0x10]
lea edx, [esi - 1]
push edx
call fcn.00403bf0
cmp eax, ebp
jne 0x40242e
push ebx
lea ecx, [esp + 0x14]
call fcn.00403cb0
cmp edi, ebp
je 0x40247d
lea eax, [esp + 0x10]
push eax
call fcn.00401120
add esp, 4
cmp eax, ebp
jne 0x40252d
mov al, byte [0x45f8b0]
test al, 1
jne 0x4024a8
mov dl, al
mov ecx, 0x45f8c0
or dl, 1
mov byte [0x45f8b0], dl
call fcn.00429af0
push 0x403fb0
call fcn.00438cb0
add esp, 4
push 0x18
mov ecx, 0x45f8c0
call fcn.00429dc0
push 0x40
push 0x4581c0
push 0x4581b0
push 0x458168
push ebp
call fcn.0040a6b0
add esp, 0x14
cmp eax, 1
jne 0x4024e7
push eax
push ebp
push ebp
push str.http:__360.cn
push str.open
push ebp
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [esp + 0x10]
mov edx, dword [0x458054]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x402516
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x402516
mov edx, dword [esp + 0x10]
lea eax, [edx - 0xc]
push eax
call fcn.0042d78e
add esp, 4
lea ecx, [esp + 0x34]
mov dword [esp + 0x460], ebx
call fcn.00422c50
xor eax, eax
jmp 0x402b93
call fcn.004259e0
mov ecx, eax
call fcn.00425b90
test eax, eax
je 0x402b06
call fcn.004259e0
mov ecx, eax
call fcn.00425f80
test eax, eax
je 0x402b06
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.00420650
add esp, 0xc
test eax, eax
jne 0x40275e
mov al, byte [0x45f8b0]
test al, 1
jne 0x4025c9
mov dl, al
mov ecx, 0x45f8c0
or dl, 1
mov byte [0x45f8b0], dl
call fcn.00429af0
push 0x403fb0
call fcn.00438cb0
add esp, 4
push 0x1a
mov ecx, 0x45f8c0
call fcn.00429dc0
lea edx, [esp + 0x24c]
lea eax, [esp + 0x1c]
push edx
push eax
call fcn.004206b0
add esp, 8
lea ecx, [esp + 0x28]
push 1
push ecx
lea ecx, [esp + 0x24]
mov byte [esp + 0x468], 4
call fcn.004033c0
mov esi, eax
mov eax, dword [esi]
mov ecx, dword [esp + 0x1c]
cmp ecx, eax
mov byte [esp + 0x460], 5
je 0x402656
cmp dword [ecx - 0xc], ebp
jge 0x402628
mov edx, dword [0x458054]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x40262d
cmp dword [eax - 0xc], ebp
jge 0x40263d
mov edx, dword [eax - 8]
push eax
push edx
lea ecx, [esp + 0x24]
call fcn.00403e10
jmp 0x402656
lea ecx, [esp + 0x1c]
call fcn.00403ed0
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 [0x458054]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x402687
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x402687
mov edx, dword [esp + 0x28]
lea eax, [edx - 0xc]
push eax
call fcn.0042d78e
add esp, 4
mov eax, dword [0x458050]
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.00403530
mov eax, dword [esp + 0x3c]
push 0x40
push 0x96
push eax
push ebp
call fcn.0040a430
mov eax, dword [esp + 0x4c]
mov edx, dword [0x458054]
add esp, 0x20
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4026f1
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4026f1
mov edx, dword [esp + 0x2c]
lea eax, [edx - 0xc]
push eax
call fcn.0042d78e
add esp, 4
mov eax, dword [esp + 0x1c]
mov edx, dword [0x458054]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40271c
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40271c
mov edx, dword [esp + 0x1c]
lea eax, [edx - 0xc]
push eax
call fcn.0042d78e
add esp, 4
mov eax, dword [esp + 0x10]
mov edx, dword [0x458054]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x402747
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x402747
mov edx, dword [esp + 0x10]
lea eax, [edx - 0xc]
push eax
call fcn.0042d78e
add esp, 4
lea ecx, [esp + 0x34]
mov dword [esp + 0x460], ebx
call fcn.00422c50
xor eax, eax
jmp 0x402b93
lea ecx, [esp + 0x3c]
call fcn.0041fd60
mov eax, dword [esp + 0x44]
mov byte [esp + 0x460], 7
cmp dword [eax - 8], ebp
je 0x4027b2
mov al, byte [0x45f8b0]
test al, 1
jne 0x4027a3
mov dl, al
mov ecx, 0x45f8c0
or dl, 1
mov byte [0x45f8b0], dl
call fcn.00429af0
push 0x403fb0
call fcn.00438cb0
add esp, 4
lea ecx, [esp + 0x44]
push ecx
mov ecx, 0x45f8c0
call fcn.0042a210
mov ecx, 0x45e5e8
call fcn.00427470
mov ecx, 0x45e5e8
call fcn.00426fc0
call fcn.00421650
test eax, eax
jne 0x402a7d
mov eax, dword [0x45e664]
cmp dword [eax - 0xc], ebp
jl 0x4027ed
mov dword [esp + 0x18], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x402801
mov edx, dword [0x458050]
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], edx
call fcn.004030c0
mov eax, dword [0x458050]
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.00403f40
mov ecx, 0x100
sub ecx, eax
cmp ecx, 1
jle 0x402847
lea edx, [esp + 0x4c]
lea ecx, [esp + 0x14]
push edx
call fcn.004030c0
jmp 0x402895
push 0x1ff
lea ecx, [esp + 0x18]
mov esi, 0x200
call fcn.00403bf0
cmp eax, ebp
je 0x40288a
push esi
push eax
push 0x9c
call fcn.00403f40
mov ecx, esi
sub ecx, eax
cmp ecx, 1
jg 0x40288a
add esi, 0x100
lea ecx, [esp + 0x14]
lea edx, [esi - 1]
push edx
call fcn.00403bf0
cmp eax, ebp
jne 0x40285e
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call fcn.00403cb0
mov eax, dword [esp + 0x14]
push eax
call fcn.00439318
add esp, 4
lea ecx, [esp + 0x4c]
mov dword [0x45e694], eax
push 0x100
push ecx
push 0x9d
call fcn.00403f40
mov edx, 0x100
sub edx, eax
cmp edx, 1
jle 0x4028d7
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x20]
push eax
call fcn.004030c0
jmp 0x402925
push 0x1ff
lea ecx, [esp + 0x24]
mov esi, 0x200
call fcn.00403bf0
cmp eax, ebp
je 0x40291a
push esi
push eax
push 0x9d
call fcn.00403f40
mov ecx, esi
sub ecx, eax
cmp ecx, 1
jg 0x40291a
add esi, 0x100
lea ecx, [esp + 0x20]
lea edx, [esi - 1]
push edx
call fcn.00403bf0
cmp eax, ebp
jne 0x4028ee
push 0xffffffffffffffff
lea ecx, [esp + 0x24]
call fcn.00403cb0
mov eax, dword [esp + 0x20]
push eax
call fcn.00439318
mov dword [0x45e698], eax
mov eax, dword [0x45e694]
mov ecx, dword [esp + 0x1c]
shl eax, 0x14
cdq
push edx
push eax
push ecx
call fcn.00420650
add esp, 0x10
test eax, eax
jne 0x402a47
mov al, byte [0x45f8b0]
test al, 1
jne 0x40297f
mov dl, al
mov ecx, 0x45f8c0
or dl, 1
mov byte [0x45f8b0], dl
call fcn.00429af0
push 0x403fb0
call fcn.00438cb0
add esp, 4
push 0x1b
mov ecx, 0x45f8c0
call fcn.00429dc0
mov edx, dword [0x458050]
mov dword [esp + 0x28], edx
mov eax, dword [0x45e694]
lea ecx, [esp + 0x28]
push eax
push 0x99
push ecx
mov byte [esp + 0x46c], 0xb
call fcn.00403530
mov edx, dword [esp + 0x34]
push 0x40
push 0x96
push edx
push ebp
call fcn.0040a430
add esp, 0x1c
lea ecx, [esp + 0x28]
mov byte [esp + 0x460], bl
call fcn.00403d80
lea ecx, [esp + 0x20]
mov byte [esp + 0x460], 9
call fcn.00403d80
lea ecx, [esp + 0x14]
mov byte [esp + 0x460], 8
call fcn.00403d80
lea ecx, [esp + 0x18]
mov byte [esp + 0x460], 7
call fcn.00403d80
lea ecx, [esp + 0x3c]
mov byte [esp + 0x460], 3
call fcn.0041feb0
lea ecx, [esp + 0x10]
mov byte [esp + 0x460], 2
call fcn.00403d80
lea ecx, [esp + 0x34]
mov dword [esp + 0x460], 0xffffffff
call fcn.00422c50
xor eax, eax
jmp 0x402b93
lea ecx, [esp + 0x20]
mov byte [esp + 0x460], 9
call fcn.00403d80
lea ecx, [esp + 0x14]
mov byte [esp + 0x460], 8
call fcn.00403d80
lea ecx, [esp + 0x18]
mov byte [esp + 0x460], 7
call fcn.00403d80
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, 0x45e468
mov esi, eax
call fcn.00423df0
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x45e498
call fcn.00402ef0
call dword [sym.imp.ole32.dll_CoUninitialize]
call fcn.00401ab0
call fcn.00403f70
mov ecx, eax
call fcn.0042a4f0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x460], 3
call fcn.0041feb0
lea ecx, [esp + 0x10]
mov byte [esp + 0x460], 2
call fcn.00403d80
lea ecx, [esp + 0x34]
mov dword [esp + 0x460], ebx
call fcn.00422c50
mov eax, esi
jmp 0x402b93
mov al, byte [0x45f8b0]
test al, 1
jne 0x402b31
mov dl, al
mov ecx, 0x45f8c0
or dl, 1
mov byte [0x45f8b0], dl
call fcn.00429af0
push 0x403fb0
call fcn.00438cb0
add esp, 4
push 0x19
mov ecx, 0x45f8c0
call fcn.00429dc0
push 0x40
push 0x80
push 0x8d
push ebp
call fcn.0040a1a0
mov eax, dword [esp + 0x20]
mov ecx, dword [0x458054]
add esp, 0x10
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x402b81
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x402b81
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.0042d78e
add esp, 4
lea ecx, [esp + 0x34]
mov dword [esp + 0x460], ebx
call fcn.00422c50
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