Function at 0x41341d
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aad1f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x178
mov dword [ebp - 0x17c], ecx
mov eax, dword [ebp - 0x17c]
cmp dword [eax + 0x428], 0
je 0x4134f7
push 0x4c2a9c
mov ecx, dword [ebp - 0x17c]
push ecx
call fcn.0040ba78
add esp, 8
cmp dword [0x53e6c0], 0
jne 0x4134f7
mov dword [0x53e6c0], 1
push 0x44
push 0x4c2ab0
push 0x4c2ab4
mov edx, dword [ebp - 0x17c]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 6
jne 0x4134f7
lea ecx, [ebp - 0x120]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push str.360akcheck.txt
lea edx, [ebp - 0x120]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea eax, [ebp - 0x120]
push eax
call fcn.0046de80
mov ecx, eax
call fcn.0046f517
test eax, eax
je 0x4134f7
lea ecx, [ebp - 0x120]
push ecx
push str.akcheck
call fcn.00451159
mov ecx, eax
call fcn.004511ff
push 0x4c2af8
mov edx, dword [ebp - 0x17c]
push edx
call fcn.0040ba78
add esp, 8
mov eax, dword [ebp - 0x17c]
cmp dword [eax + 0x428], 0
je 0x4135c3
push 1
mov ecx, dword [ebp - 0x17c]
call fcn.00413ef5
mov dword [ebp - 0x124], 0
jmp 0x413546
mov ecx, dword [ebp - 0x124]
add ecx, 1
mov dword [ebp - 0x124], ecx
cmp dword [ebp - 0x124], 8
jge 0x4135c3
mov edx, dword [ebp - 0x17c]
add edx, 0x558
push edx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebp - 0x17c]
add ecx, 0x540
call fcn.004318f0
test eax, eax
je 0x41358c
mov eax, dword [ebp - 0x17c]
mov ecx, dword [eax + 0x58c]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x4135a1
mov edx, dword [ebp - 0x17c]
add edx, 0x558
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x4135c3
mov eax, dword [ebp - 0x17c]
add eax, 0x558
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x413537
push 0x4c2b10
mov ecx, dword [ebp - 0x17c]
push ecx
call fcn.0040ba78
add esp, 8
mov ecx, dword [ebp - 0x17c]
add ecx, 0x414
call fcn.004318f0
test eax, eax
jbe 0x413656
mov ecx, dword [ebp - 0x17c]
add ecx, 0x5a0
call fcn.00416be0
mov ecx, dword [ebp - 0x17c]
call fcn.00414451
mov ecx, dword [ebp - 0x17c]
add ecx, 0x5a0
call fcn.004318f0
test eax, eax
jbe 0x413645
mov ecx, dword [ebp - 0x17c]
call fcn.00414d35
cmp eax, 2
jne 0x41363a
mov ecx, dword [ebp - 0x17c]
call fcn.004149a3
jmp 0x413645
mov ecx, dword [ebp - 0x17c]
call fcn.00414711
mov ecx, dword [ebp - 0x17c]
add ecx, 0x5a0
call fcn.00416be0
push 0x4c2b28
mov edx, dword [ebp - 0x17c]
push edx
call fcn.0040ba78
add esp, 8
mov ecx, dword [ebp - 0x17c]
add ecx, 0x414
call fcn.004318f0
test eax, eax
je 0x413684
call fcn.0044858b
push 0x4c2b44
mov eax, dword [ebp - 0x17c]
push eax
call fcn.0040ba78
add esp, 8
mov ecx, dword [ebp - 0x17c]
add ecx, 0x414
call fcn.004318f0
cmp eax, 0xa
jb 0x4136b8
mov dword [0x53e6b4], 1
mov ecx, dword [ebp - 0x17c]
call fcn.00412d92
cmp eax, 1
jne 0x4136d2
mov dword [0x53e6b4], 1
push 0x4c2b60
mov ecx, dword [ebp - 0x17c]
push ecx
call fcn.0040ba78
add esp, 8
call fcn.0045f715
mov ecx, eax
call fcn.0045e5d1
push 0x4c2b7c
mov edx, dword [ebp - 0x17c]
push edx
call fcn.0040ba78
add esp, 8
push 0x4c2b9c
mov eax, dword [ebp - 0x17c]
push eax
call fcn.0040ba78
add esp, 8
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x17c]
add ecx, 0x414
call fcn.004172b0
lea edx, [ebp - 0x164]
push edx
mov ecx, dword [ebp - 0x17c]
add ecx, 0x414
call fcn.00436710
push eax
lea ecx, [ebp - 0x18]
call fcn.00448ed0
and eax, 0xff
test eax, eax
je 0x413a2f
lea ecx, [ebp - 0x18]
call fcn.00432be0
mov dword [ebp - 0x128], eax
push 0x4c2bbc
mov eax, dword [ebp - 0x128]
add eax, 0x108
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x413797
mov dword [0x53e6b4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0x32
jge 0x413810
mov edx, dword [ebp - 0x128]
cmp dword [edx + 0x16c], 0
je 0x4137ed
mov eax, dword [ebp - 0x128]
add eax, 4
push eax
push 4
mov ecx, dword [ebp - 0x128]
mov ecx, dword [ecx + 0x16c]
mov edx, dword [ebp - 0x128]
mov eax, dword [edx + 0x16c]
mov edx, dword [eax]
call dword [edx + 4]
push eax
call fcn.00451159
mov ecx, eax
call fcn.0045183d
jmp 0x413810
mov eax, dword [ebp - 0x128]
add eax, 4
push eax
mov ecx, dword [ebp - 0x128]
add ecx, 0x108
push ecx
call fcn.00451159
mov ecx, eax
call fcn.0045183d
mov edx, dword [ebp - 0x128]
cmp dword [edx + 0x170], 0
jne 0x413841
mov eax, dword [ebp - 0x128]
mov dword [eax], 0xffffff9d
push 0
lea ecx, [ebp - 0x168]
push ecx
lea ecx, [ebp - 0x18]
call fcn.00417310
jmp 0x413736
mov edx, dword [ebp - 0x128]
add edx, 4
push edx
push 0x4c2bc4
mov eax, dword [ebp - 0x17c]
push eax
call fcn.0040ba78
add esp, 0xc
mov ecx, dword [ebp - 0x128]
cmp dword [ecx], 0
jne 0x413880
push 0
lea edx, [ebp - 0x16c]
push edx
lea ecx, [ebp - 0x18]
call fcn.00417310
jmp 0x413736
mov eax, dword [ebp - 0x128]
cmp dword [eax + 0x16c], 0
je 0x4138fd
push 0x4c2bd8
push 0
mov ecx, dword [ebp - 0x128]
mov ecx, dword [ecx + 0x16c]
mov edx, dword [ebp - 0x128]
mov eax, dword [edx + 0x16c]
mov edx, dword [eax]
call dword [edx + 4]
push eax
call fcn.00402980
add esp, 8
test eax, eax
jne 0x4138fd
mov eax, dword [ebp - 0x128]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 0x128]
add edx, 4
push edx
mov eax, dword [ebp - 0x128]
mov ecx, dword [eax + 0x16c]
mov edx, dword [ebp - 0x128]
mov eax, dword [edx + 0x16c]
mov edx, dword [eax]
call dword [edx + 0x1c]
mov ecx, dword [ebp - 0x128]
mov dword [ecx], eax
jmp 0x413992
mov edx, dword [ebp - 0x128]
cmp dword [edx], 0x64
jge 0x413933
push 1
mov eax, dword [ebp - 0x128]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 0x128]
add edx, 4
push edx
call fcn.00424610
mov ecx, eax
call fcn.004248c8
mov ecx, dword [ebp - 0x128]
mov dword [ecx], eax
jmp 0x413992
mov edx, dword [ebp - 0x128]
cmp dword [edx + 0x16c], 0
je 0x41397c
mov eax, dword [ebp - 0x128]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 0x128]
add edx, 4
push edx
mov eax, dword [ebp - 0x128]
mov ecx, dword [eax + 0x16c]
mov edx, dword [ebp - 0x128]
mov eax, dword [edx + 0x16c]
mov edx, dword [eax]
call dword [edx + 0x1c]
mov ecx, dword [ebp - 0x128]
mov dword [ecx], eax
jmp 0x413992
push 0
lea edx, [ebp - 0x170]
push edx
lea ecx, [ebp - 0x18]
call fcn.00417310
jmp 0x413736
mov eax, dword [ebp - 0x128]
cmp dword [eax], 3
jne 0x4139bd
push 0
push 0x4c2be4
push str.ak360Kill
call fcn.0041ae36
add esp, 0xc
mov dword [0x53e6c4], 1
jmp 0x413a09
mov ecx, dword [ebp - 0x128]
cmp dword [ecx], 0xfffffffe
jne 0x4139dd
cmp dword [0x53e6b4], 0
jne 0x4139dd
mov dword [0x53e6b4], 1
jmp 0x413a09
mov edx, dword [ebp - 0x128]
cmp dword [edx], 0
jg 0x413a09
mov eax, dword [ebp - 0x128]
cmp dword [eax], 0xfffffffe
je 0x413a09
push 0
lea ecx, [ebp - 0x174]
push ecx
lea ecx, [ebp - 0x18]
call fcn.00417310
jmp 0x413736
mov edx, dword [ebp - 0x18]
push edx
lea eax, [ebp - 0x178]
push eax
mov ecx, dword [ebp - 0x17c]
add ecx, 0x414
call fcn.004390b0
mov ecx, dword [eax]
mov dword [ebp - 0x18], ecx
jmp 0x413736
mov ecx, dword [ebp - 0x17c]
call fcn.00413d89
push 0x4c2bf8
mov edx, dword [ebp - 0x17c]
push edx
call fcn.0040ba78
add esp, 8
mov ecx, dword [ebp - 0x17c]
call fcn.00414d35
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jne 0x413b59
push 0x408
mov ecx, dword [ebp - 0x17c]
add ecx, 0x350
call fcn.00402ad0
push eax
lea ecx, [ebp - 0x12c]
call fcn.00416510
push 1
lea ecx, [ebp - 0x12c]
call fcn.004164e0
mov eax, dword [ebp - 0x17c]
add eax, 0x34c
test eax, eax
je 0x413ab8
mov ecx, dword [ebp - 0x17c]
add ecx, 0x350
mov dword [ebp - 0x180], ecx
jmp 0x413ac2
mov dword [ebp - 0x180], 0
push 0x408
mov ecx, dword [ebp - 0x17c]
add ecx, 0x350
call fcn.00402ad0
push eax
push 0x408
push 0x111
mov ecx, dword [ebp - 0x180]
call fcn.0041f4d0
push eax
call fcn.00408270
add esp, 0x10
mov edx, dword [ebp - 0x17c]
add edx, 0x34c
test edx, edx
je 0x413b1a
mov eax, dword [ebp - 0x17c]
add eax, 0x350
mov dword [ebp - 0x184], eax
jmp 0x413b24
mov dword [ebp - 0x184], 0
push 0x40a
mov ecx, dword [ebp - 0x17c]
add ecx, 0x350
call fcn.00402ad0
push eax
push 0x40a
push 0x111
mov ecx, dword [ebp - 0x184]
call fcn.0041f4d0
push eax
call fcn.00408270
add esp, 0x10
cmp dword [0x5552a4], 5
jb 0x413b6c
mov dword [0x53e6b4], 1
cmp dword [0x53e6b4], 0
je 0x413b89
push 0
push 0x4c2c18
push str.ak360Kill_r
call fcn.0041ae36
add esp, 0xc
cmp dword [0x53e6c4], 0
jne 0x413ba8
cmp dword [0x53e6b4], 0
jne 0x413ba8
cmp dword [0x53e6b8], 0
je 0x413c85
call fcn.00480ebb
test eax, eax
je 0x413bcd
push 0x40
push 0x4c2c30
push 0x4c2c38
mov ecx, dword [ebp - 0x17c]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [ebp - 0x130], 0
cmp dword [0x53e6b8], 0
je 0x413c37
mov eax, dword [ebp - 0x17c]
mov ecx, dword [eax + 4]
push ecx
push 0x4c2c68
push 0x4c2c74
lea ecx, [ebp - 0x15c]
call fcn.00418bf0
mov dword [ebp - 4], 0
push 0
mov edx, dword [ebp - 0x17c]
mov eax, dword [edx + 4]
push eax
lea ecx, [ebp - 0x15c]
call fcn.00417160
mov dword [ebp - 0x130], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x15c]
call fcn.00418c69
jmp 0x413c59
push 0x44
push 0x4c2cb8
push 0x4c2cbc
mov ecx, dword [ebp - 0x17c]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x130], 6
je 0x413c6b
cmp dword [ebp - 0x130], 1
jne 0x413c83
push 1
push str.akReboot
call fcn.00451159
mov ecx, eax
call fcn.0045251a
call fcn.004359c7
jmp 0x413cb6
call fcn.0041b3a6
mov dword [ebp - 0x160], eax
cmp dword [ebp - 0x160], 0
jl 0x413cb6
push 0
push 0
mov eax, dword [ebp - 0x160]
push eax
mov ecx, dword [ebp - 0x17c]
mov edx, dword [ecx + 4]
push edx
call fcn.0041a311
add esp, 0x10
call fcn.0042cc7c
test eax, eax
jne 0x413cdb
push 1
push 0x43b
mov ecx, dword [ebp - 0x17c]
add ecx, 4
call fcn.00402ad0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret