Function at 0x402d10
Capabilities:
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x449cd4
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.00402cc0
cmp eax, ebp
je 0x402e4d
mov eax, dword [0x455050]
mov dword [esp + 0x14], eax
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, 0x4553f8
test ecx, ecx
mov dword [esp + 0x460], ebp
jne 0x402d72
xor eax, eax
jmp 0x402d79
push 0x4553f8
call esi
push 0x4553f8
push eax
lea ecx, [esp + 0x1c]
call fcn.00404a30
mov edx, dword [0x455050]
mov dword [esp + 0x18], edx
mov eax, 0x4553e0
mov byte [esp + 0x460], 1
test eax, eax
je 0x402daa
push 0x4553e0
call esi
push 0x4553e0
push eax
lea ecx, [esp + 0x20]
call fcn.00404a30
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 0x402de7
push eax
push ebp
push ebp
push str.http:__down.360safe.com_safesetup_2000.exe
push str.open
push ebp
call fcn.00436050
add esp, 0x18
mov eax, dword [esp + 0x18]
mov edx, dword [0x455054]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x402e18
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x402e18
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.0042ac06
add esp, 4
mov eax, dword [esp + 0x14]
mov edx, dword [0x455054]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x402e43
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x402e43
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.0042ac06
add esp, 4
mov eax, 1
jmp 0x403917
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], 8
push eax
mov dword [esp + 0x34], 0x404
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
push 0x455350
push 0x455340
mov esi, dword [esp + 0x470]
push esi
call fcn.004029c0
push 0x45533c
push ebp
call fcn.00436943
add esp, 0x14
mov ecx, 0x45b378
push ebp
push esi
push ebp
call fcn.00403940
cmp eax, ebp
jl 0x402ed8
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0xc
mov dword [0x45b3fc], eax
mov dword [0x45b400], ebp
call fcn.0043649a
add esp, 4
cmp eax, ebp
je 0x402ec7
mov dword [eax], ebp
mov dword [eax + 4], ebp
mov dword [eax + 8], ebp
jmp 0x402ec9
xor eax, eax
cmp eax, ebp
mov dword [0x45b400], eax
je 0x402ed8
mov dword [0x45b404], ebp
call fcn.004026a0
mov al, byte [0x45c550]
test al, 1
jne 0x402f08
mov dl, al
mov ecx, 0x45c560
or dl, 1
mov byte [0x45c550], dl
call fcn.00428c20
push 0x404c10
call fcn.0043667e
add esp, 4
mov ecx, 0x45c560
call fcn.00429640
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], ebp
push ecx
push 0x455318
push 0x455340
mov ecx, 0x45b348
call fcn.00410320
test eax, eax
je 0x402f92
mov edx, dword [esp + 0x24]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x402f8b
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x402f5a
mov ecx, dword [esp + 0x24]
push 9
push ecx
jmp 0x402f61
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 0x403917
mov al, byte [0x45c598]
test al, 1
jne 0x402fbd
mov dl, al
mov ecx, 0x45c5a0
or dl, 1
mov byte [0x45c598], dl
call fcn.0042a530
push 0x403a10
call fcn.0043667e
add esp, 4
mov ecx, 0x45c5a0
call fcn.0042a5d0
call fcn.0040e900
mov ecx, eax
call fcn.0040e930
lea ecx, [esp + 0x34]
call fcn.0040e830
mov dword [esp + 0x460], 2
call fcn.00406a60
test eax, eax
jne 0x403020
push 0x40
push 0x96
push 0xa2
push ebp
call fcn.00418c40
add esp, 0x10
lea ecx, [esp + 0x34]
mov dword [esp + 0x460], 0xffffffff
call fcn.0040e8b0
xor eax, eax
jmp 0x403917
mov edx, dword [0x455050]
mov dword [esp + 0x10], edx
lea eax, [esp + 0x4c]
push pe_nt_image_headers32
push eax
push 0x8f
mov byte [esp + 0x46c], 3
call fcn.00404ba0
mov ecx, pe_nt_image_headers32
or ebx, 0xffffffff
sub ecx, eax
cmp ecx, 1
jle 0x40307d
lea edx, [esp + 0x4c]
test edx, edx
jne 0x403061
xor eax, eax
jmp 0x40306c
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.00404a30
jmp 0x4030ca
push 0x1ff
lea ecx, [esp + 0x14]
mov esi, 0x200
call fcn.004048a0
cmp eax, ebp
je 0x4030c0
push esi
push eax
push 0x8f
call fcn.00404ba0
mov edx, esi
sub edx, eax
cmp edx, 1
jg 0x4030c0
add esi, 0x100
lea ecx, [esp + 0x10]
lea eax, [esi - 1]
push eax
call fcn.004048a0
cmp eax, ebp
jne 0x403094
push ebx
lea ecx, [esp + 0x14]
call fcn.00404960
lea ecx, [esp + 0x10]
push ecx
call fcn.00401ea0
add esp, 4
lea edx, [esp + 0x4c]
mov edi, eax
push pe_nt_image_headers32
push edx
push 0x94
call fcn.00404ba0
mov ecx, pe_nt_image_headers32
sub ecx, eax
cmp ecx, 1
jle 0x403109
lea edx, [esp + 0x4c]
lea ecx, [esp + 0x10]
push edx
call fcn.00403e20
jmp 0x403156
push 0x1ff
lea ecx, [esp + 0x14]
mov esi, 0x200
call fcn.004048a0
cmp eax, ebp
je 0x40314c
push esi
push eax
push 0x94
call fcn.00404ba0
mov ecx, esi
sub ecx, eax
cmp ecx, 1
jg 0x40314c
add esi, 0x100
lea ecx, [esp + 0x10]
lea edx, [esi - 1]
push edx
call fcn.004048a0
cmp eax, ebp
jne 0x403120
push ebx
lea ecx, [esp + 0x14]
call fcn.00404960
cmp edi, ebp
je 0x403169
lea eax, [esp + 0x10]
push eax
call fcn.00401ea0
add esp, 4
mov edi, eax
lea ecx, [esp + 0x4c]
push pe_nt_image_headers32
push ecx
push 0x9b
call fcn.00404ba0
mov edx, pe_nt_image_headers32
sub edx, eax
cmp edx, 1
jle 0x403199
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x10]
push eax
call fcn.00403e20
jmp 0x4031e6
push 0x1ff
lea ecx, [esp + 0x14]
mov esi, 0x200
call fcn.004048a0
cmp eax, ebp
je 0x4031dc
push esi
push eax
push 0x9b
call fcn.00404ba0
mov ecx, esi
sub ecx, eax
cmp ecx, 1
jg 0x4031dc
add esi, 0x100
lea ecx, [esp + 0x10]
lea edx, [esi - 1]
push edx
call fcn.004048a0
cmp eax, ebp
jne 0x4031b0
push ebx
lea ecx, [esp + 0x14]
call fcn.00404960
cmp edi, ebp
je 0x4031ff
lea eax, [esp + 0x10]
push eax
call fcn.00401ea0
add esp, 4
cmp eax, ebp
jne 0x4032b1
mov al, byte [0x45c550]
test al, 1
jne 0x40322a
mov dl, al
mov ecx, 0x45c560
or dl, 1
mov byte [0x45c550], dl
call fcn.00428c20
push 0x404c10
call fcn.0043667e
add esp, 4
push 0x18
mov ecx, 0x45c560
call fcn.00428ef0
push 0x40
push 0x455310
push 0x455300
push 0x4552b8
push ebp
call fcn.00419150
add esp, 0x14
cmp eax, 1
jne 0x40326b
push eax
push ebp
push ebp
push str.http:__360.cn
push str.open
push ebp
call fcn.00436050
add esp, 0x18
mov eax, dword [esp + 0x10]
mov edx, dword [0x455054]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40329a
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x40329a
mov edx, dword [esp + 0x10]
lea eax, [edx - 0xc]
push eax
call fcn.0042ac06
add esp, 4
lea ecx, [esp + 0x34]
mov dword [esp + 0x460], ebx
call fcn.0040e8b0
xor eax, eax
jmp 0x403917
call fcn.0041c1f0
mov ecx, eax
call fcn.0041c3a0
test eax, eax
je 0x40388a
call fcn.0041c1f0
mov ecx, eax
call fcn.0041c790
test eax, eax
je 0x40388a
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.00405be0
add esp, 0xc
test eax, eax
jne 0x4034e2
mov al, byte [0x45c550]
test al, 1
jne 0x40334d
mov dl, al
mov ecx, 0x45c560
or dl, 1
mov byte [0x45c550], dl
call fcn.00428c20
push 0x404c10
call fcn.0043667e
add esp, 4
push 0x1a
mov ecx, 0x45c560
call fcn.00428ef0
lea edx, [esp + 0x24c]
lea eax, [esp + 0x1c]
push edx
push eax
call fcn.00405c40
add esp, 8
lea ecx, [esp + 0x28]
push 1
push ecx
lea ecx, [esp + 0x24]
mov byte [esp + 0x468], 4
call fcn.00404070
mov esi, eax
mov eax, dword [esi]
mov ecx, dword [esp + 0x1c]
cmp ecx, eax
mov byte [esp + 0x460], 5
je 0x4033da
cmp dword [ecx - 0xc], ebp
jge 0x4033ac
mov edx, dword [0x455054]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x4033b1
cmp dword [eax - 0xc], ebp
jge 0x4033c1
mov edx, dword [eax - 8]
push eax
push edx
lea ecx, [esp + 0x24]
call fcn.00404a30
jmp 0x4033da
lea ecx, [esp + 0x1c]
call fcn.00401880
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 [0x455054]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40340b
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40340b
mov edx, dword [esp + 0x28]
lea eax, [edx - 0xc]
push eax
call fcn.0042ac06
add esp, 4
mov eax, dword [0x455050]
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.004041e0
mov eax, dword [esp + 0x3c]
push 0x40
push 0x96
push eax
push ebp
call fcn.00418ed0
mov eax, dword [esp + 0x4c]
mov edx, dword [0x455054]
add esp, 0x20
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x403475
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x403475
mov edx, dword [esp + 0x2c]
lea eax, [edx - 0xc]
push eax
call fcn.0042ac06
add esp, 4
mov eax, dword [esp + 0x1c]
mov edx, dword [0x455054]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4034a0
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4034a0
mov edx, dword [esp + 0x1c]
lea eax, [edx - 0xc]
push eax
call fcn.0042ac06
add esp, 4
mov eax, dword [esp + 0x10]
mov edx, dword [0x455054]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4034cb
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4034cb
mov edx, dword [esp + 0x10]
lea eax, [edx - 0xc]
push eax
call fcn.0042ac06
add esp, 4
lea ecx, [esp + 0x34]
mov dword [esp + 0x460], ebx
call fcn.0040e8b0
xor eax, eax
jmp 0x403917
lea ecx, [esp + 0x3c]
call fcn.00405080
mov eax, dword [esp + 0x44]
mov byte [esp + 0x460], 7
cmp dword [eax - 8], ebp
je 0x403536
mov al, byte [0x45c550]
test al, 1
jne 0x403527
mov dl, al
mov ecx, 0x45c560
or dl, 1
mov byte [0x45c550], dl
call fcn.00428c20
push 0x404c10
call fcn.0043667e
add esp, 4
lea ecx, [esp + 0x44]
push ecx
mov ecx, 0x45c560
call fcn.00429340
mov ecx, 0x45b4f0
call fcn.004209e0
mov ecx, 0x45b4f0
call fcn.00420540
call fcn.00406be0
test eax, eax
jne 0x403801
mov eax, dword [0x45b56c]
cmp dword [eax - 0xc], ebp
jl 0x403571
mov dword [esp + 0x18], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x403585
mov edx, dword [0x455050]
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], edx
call fcn.00403e20
mov eax, dword [0x455050]
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x4c]
push pe_nt_image_headers32
mov bl, 0xa
push eax
push 0x9c
mov byte [esp + 0x46c], bl
call fcn.00404ba0
mov ecx, pe_nt_image_headers32
sub ecx, eax
cmp ecx, 1
jle 0x4035cb
lea edx, [esp + 0x4c]
lea ecx, [esp + 0x14]
push edx
call fcn.00403e20
jmp 0x403619
push 0x1ff
lea ecx, [esp + 0x18]
mov esi, 0x200
call fcn.004048a0
cmp eax, ebp
je 0x40360e
push esi
push eax
push 0x9c
call fcn.00404ba0
mov ecx, esi
sub ecx, eax
cmp ecx, 1
jg 0x40360e
add esi, 0x100
lea ecx, [esp + 0x14]
lea edx, [esi - 1]
push edx
call fcn.004048a0
cmp eax, ebp
jne 0x4035e2
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call fcn.00404960
mov eax, dword [esp + 0x14]
push eax
call fcn.004368f1
add esp, 4
lea ecx, [esp + 0x4c]
mov dword [0x45b59c], eax
push pe_nt_image_headers32
push ecx
push 0x9d
call fcn.00404ba0
mov edx, pe_nt_image_headers32
sub edx, eax
cmp edx, 1
jle 0x40365b
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x20]
push eax
call fcn.00403e20
jmp 0x4036a9
push 0x1ff
lea ecx, [esp + 0x24]
mov esi, 0x200
call fcn.004048a0
cmp eax, ebp
je 0x40369e
push esi
push eax
push 0x9d
call fcn.00404ba0
mov ecx, esi
sub ecx, eax
cmp ecx, 1
jg 0x40369e
add esi, 0x100
lea ecx, [esp + 0x20]
lea edx, [esi - 1]
push edx
call fcn.004048a0
cmp eax, ebp
jne 0x403672
push 0xffffffffffffffff
lea ecx, [esp + 0x24]
call fcn.00404960
mov eax, dword [esp + 0x20]
push eax
call fcn.004368f1
mov dword [0x45b5a0], eax
mov eax, dword [0x45b59c]
mov ecx, dword [esp + 0x1c]
shl eax, 0x14
cdq
push edx
push eax
push ecx
call fcn.00405be0
add esp, 0x10
test eax, eax
jne 0x4037cb
mov al, byte [0x45c550]
test al, 1
jne 0x403703
mov dl, al
mov ecx, 0x45c560
or dl, 1
mov byte [0x45c550], dl
call fcn.00428c20
push 0x404c10
call fcn.0043667e
add esp, 4
push 0x1b
mov ecx, 0x45c560
call fcn.00428ef0
mov edx, dword [0x455050]
mov dword [esp + 0x28], edx
mov eax, dword [0x45b59c]
lea ecx, [esp + 0x28]
push eax
push 0x99
push ecx
mov byte [esp + 0x46c], 0xb
call fcn.004041e0
mov edx, dword [esp + 0x34]
push 0x40
push 0x96
push edx
push ebp
call fcn.00418ed0
add esp, 0x1c
lea ecx, [esp + 0x28]
mov byte [esp + 0x460], bl
call fcn.004017f0
lea ecx, [esp + 0x20]
mov byte [esp + 0x460], 9
call fcn.004017f0
lea ecx, [esp + 0x14]
mov byte [esp + 0x460], 8
call fcn.004017f0
lea ecx, [esp + 0x18]
mov byte [esp + 0x460], 7
call fcn.004017f0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x460], 3
call fcn.004051d0
lea ecx, [esp + 0x10]
mov byte [esp + 0x460], 2
call fcn.004017f0
lea ecx, [esp + 0x34]
mov dword [esp + 0x460], 0xffffffff
call fcn.0040e8b0
xor eax, eax
jmp 0x403917
lea ecx, [esp + 0x20]
mov byte [esp + 0x460], 9
call fcn.004017f0
lea ecx, [esp + 0x14]
mov byte [esp + 0x460], 8
call fcn.004017f0
lea ecx, [esp + 0x18]
mov byte [esp + 0x460], 7
call fcn.004017f0
or ebx, 0xffffffff
mov eax, dword [esp + 0x474]
mov ecx, dword [esp + 0x470]
push eax
push ecx
call fcn.00402a20
add esp, 8
mov ecx, 0x45b348
mov esi, eax
call fcn.00410540
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x45b378
call fcn.00403c50
call dword [sym.imp.ole32.dll_CoUninitialize]
call fcn.00402830
call fcn.00404bd0
mov ecx, eax
call fcn.00429620
lea ecx, [esp + 0x3c]
mov byte [esp + 0x460], 3
call fcn.004051d0
lea ecx, [esp + 0x10]
mov byte [esp + 0x460], 2
call fcn.004017f0
lea ecx, [esp + 0x34]
mov dword [esp + 0x460], ebx
call fcn.0040e8b0
mov eax, esi
jmp 0x403917
mov al, byte [0x45c550]
test al, 1
jne 0x4038b5
mov dl, al
mov ecx, 0x45c560
or dl, 1
mov byte [0x45c550], dl
call fcn.00428c20
push 0x404c10
call fcn.0043667e
add esp, 4
push 0x19
mov ecx, 0x45c560
call fcn.00428ef0
push 0x40
push 0x80
push 0x8d
push ebp
call fcn.00418c40
mov eax, dword [esp + 0x20]
mov ecx, dword [0x455054]
add esp, 0x10
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x403905
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x403905
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.0042ac06
add esp, 4
lea ecx, [esp + 0x34]
mov dword [esp + 0x460], ebx
call fcn.0040e8b0
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