Function at 0x10024000
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9b4
mov eax, dword [0x102519c8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
lea eax, [ebp - 0x334]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
xor ebx, ebx
mov dword [ebp - 0x9b0], 0
mov dword [ebp - 0x9ac], ebx
xor esi, esi
mov dword [ebp - 0x9a8], ebx
lea esp, [esp]
movzx eax, word [ebp - 0x32e]
push eax
movzx eax, word [ebp - 0x332]
push eax
movzx eax, word [ebp - 0x334]
push eax
push str.memo_04hd_02hd_02hd.dat
lea eax, [ebp - 0x104]
push 0x80
push eax
call fcn.1000aa70
add esp, 0x18
mov dword [ebp - 0x314], 0
xor eax, eax
mov dword [ebp - 0x310], 7
lea ecx, [ebp - 0x104]
mov word [ebp - 0x324], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10024097
sub ecx, edx
lea eax, [ebp - 0x104]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x324]
call fcn.100070c0
cmp dword [ebp - 0x9a8], ebx
je 0x1002410f
mov eax, dword [ebp - 0x324]
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov dword [ebx], eax
mov eax, dword [ebp - 0x320]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x31c]
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x318]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x314]
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 0x310]
mov dword [ebx + 0x14], eax
add ebx, 0x18
mov dword [ebp - 0x9ac], ebx
jmp 0x10024168
lea eax, [ebp - 0x324]
push eax
push ebx
lea ecx, [ebp - 0x9b0]
call fcn.1001df20
mov edx, dword [ebp - 0x310]
cmp edx, 8
jb 0x10024162
mov ecx, dword [ebp - 0x324]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10024158
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002446f
push edx
push ecx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 8
mov ebx, dword [ebp - 0x9ac]
inc esi
cmp esi, 3
jl 0x10024040
push 0
mov eax, 0x5c
mov dword [ebp - 0x33c], 0xffffffff
mov word [ebp - 0x340], ax
lea eax, [ebp - 0x30c]
push 0x1a
push eax
push 0
mov dword [ebp - 0x338], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x10024449
push str.360safe_antiadwamemo.dat
push 0x104
lea eax, [ebp - 0x30c]
push eax
call fcn.10026a30
lea eax, [ebp - 0x30c]
push eax
lea ecx, [ebp - 0x9a0]
call fcn.10024810
test eax, eax
je 0x10024449
push edi
mov edi, edi
cmp dword [ebp - 0x338], 0
je 0x10024227
mov eax, dword [ebp - 0x9a0]
shr eax, 4
and eax, 1
je 0x10024229
cmp word [ebp - 0x974], 0x2e
jne 0x10024229
mov cx, word [ebp - 0x972]
test cx, cx
je 0x100243c5
cmp cx, 0x2e
jne 0x10024229
cmp word [ebp - 0x970], 0
je 0x100243c5
jmp 0x10024229
xor eax, eax
test eax, eax
jne 0x100243c5
call fcn.10002d70
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
cmp dword [ebp - 0x338], 0
lea esi, [eax + 0x10]
mov dword [ebp - 0x9a4], esi
je 0x10024288
lea ecx, [ebp - 0x974]
lea edx, [ecx + 2]
jmp 0x10024260
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10024260
sub ecx, edx
lea eax, [ebp - 0x974]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x9a4]
call fcn.10003740
mov esi, dword [ebp - 0x9a4]
mov ecx, esi
mov dword [ebp - 0x314], 0
xor eax, eax
mov dword [ebp - 0x310], 7
mov word [ebp - 0x324], ax
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100242b0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x324]
call fcn.100070c0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x100242e4
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x9b0]
mov ecx, dword [ebp - 0x324]
mov dword [ebp - 0x9a4], ecx
cmp esi, ebx
je 0x10024349
lea ebx, [ebx]
cmp dword [ebp - 0x310], 8
lea eax, [ebp - 0x324]
jb 0x10024311
mov eax, ecx
cmp dword [esi + 0x14], 8
mov edi, esi
jb 0x1002431b
mov edi, dword [esi]
mov edx, dword [esi + 0x10]
cmp edx, dword [ebp - 0x314]
jne 0x1002440f
test edx, edx
je 0x10024345
sub edi, eax
mov cx, word [edi + eax]
cmp cx, word [eax]
jne 0x10024409
add eax, 2
sub edx, 1
jne 0x10024330
cmp esi, ebx
jne 0x10024385
lea eax, [ebp - 0x9b4]
push eax
lea ecx, [ebp - 0x9a0]
call fcn.10024c60
push 0
push dword [eax]
call fcn.100d9c10
mov edx, dword [ebp - 0x9b4]
add esp, 8
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10024385
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x310]
cmp eax, 8
jb 0x100243c5
mov edx, dword [ebp - 0x9a4]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100243bb
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002446f
push ecx
push edx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 8
mov edi, dword [ebp - 0x33c]
cmp edi, 0xffffffff
je 0x10024448
cmp dword [ebp - 0x338], 0
je 0x10024448
call fcn.10003180
mov esi, dword [eax + 0x154]
test esi, esi
je 0x100243ef
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x18
call fcn.10003680
add esp, 4
test eax, eax
je 0x1002441f
lea ecx, [ebp - 0x9a0]
push ecx
push edi
call eax
jmp 0x1002442d
mov ecx, dword [ebp - 0x9a4]
add esi, 0x18
cmp esi, ebx
jne 0x10024300
jmp 0x10024349
lea eax, [ebp - 0x9a0]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov edi, eax
test esi, esi
je 0x1002443a
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x338], edi
test edi, edi
jne 0x100241e0
pop edi
lea ecx, [ebp - 0x9a0]
call fcn.10023f90
lea ecx, [ebp - 0x9b0]
call fcn.10021060
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.101f99c6
mov esp, ebp
pop ebp
ret
call fcn.101e6c40
int3