joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4171a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c1578
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x64b9b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x18]
push eax
call fcn.00416e40
push 0x621c28
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00407900
push str.pluginWndMgr.tpi
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.00407900
add esp, 8
mov byte [ebp - 4], 3
or edi, 0xffffffff
mov edx, dword [ebp - 0x14]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41721d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
mov eax, edi
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41723b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41728b
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x41728b
push str.CreateTrayClient
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push ecx
push 1
call eax
mov esi, eax
test esi, esi
je 0x41728b
mov ecx, dword [esi]
push 0
push esi
call dword [ecx + 0xc]
mov ecx, dword [esi]
push esi
call dword [ecx + 0x14]
mov esi, 1
jmp 0x41728d
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x4172ac
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4172c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c1578
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x64b9b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x18]
push eax
call fcn.00416e40
push 0x621c28
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00407900
push str.Utilsxrtnctrl.dll
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.00407900
add esp, 8
mov byte [ebp - 4], 3
or ebx, 0xffffffff
mov edx, dword [ebp - 0x14]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41733e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
mov eax, ebx
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41735c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor esi, esi
test eax, eax
je 0x4173bf
mov edi, dword [ebp - 0x10]
test edi, edi
je 0x4173c7
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4173c4
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x41739c
push str.CreateMiniInterface
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41739c
call eax
mov esi, eax
xor eax, eax
test esi, esi
setne al
test eax, eax
je 0x4173c4
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
test eax, eax
je 0x4173c4
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 8]
mov esi, 1
mov edi, dword [ebp - 0x10]
jmp 0x4173c9
mov edi, dword [ebp - 0x10]
xor esi, esi
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x4173e5
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4174e0
Capabilities:
Check if file exists
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c15f1
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x64b9b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.005949a0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.DataRecovery_360.exe
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x218]
push eax
call ebx
test eax, eax
je 0x417702
call fcn.00402810
mov ecx, eax
test ecx, ecx
jne 0x417583
push 0x80004005
call fcn.004022b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24c], eax
lea eax, [ebp - 0x250]
mov dword [ebp - 4], 0
push eax
call fcn.00416e40
push str.DataRecovery_360.exe
push 0x621c28
mov byte [ebp - 4], 1
push dword [eax]
lea eax, [ebp - 0x24c]
push str._s_s_s
push eax
call fcn.004043e0
mov byte [ebp - 4], 0
or edi, 0xffffffff
mov edx, dword [ebp - 0x250]
add esp, 0x14
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4175ec
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x24c]
push esi
call ebx
mov ebx, eax
neg ebx
sbb ebx, ebx
add ebx, 1
jne 0x4176d2
push esi
lea eax, [ebp - 0x248]
push eax
call fcn.004177f0
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.004177f0
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x230]
lea eax, [ebp - 0x248]
cmovae ecx, dword [ebp - 0x230]
cmp dword [ebp - 0x234], 8
push ecx
cmovae eax, dword [ebp - 0x248]
push eax
call fcn.00417910
test eax, eax
mov eax, dword [ebp - 0x21c]
sets bl
cmp eax, 8
jb 0x41767a
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00408b70
xor eax, eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x220], 0
cmp eax, 8
jb 0x4176b5
inc eax
lea ecx, [ebp - 0x248]
push eax
push dword [ebp - 0x248]
call fcn.00408b70
xor eax, eax
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
test ebx, ebx
je 0x4176e6
push 0
push esi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x417702
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0057b967
mov esp, ebp
pop ebp
ret
Function at 0x417740
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
test esi, esi
jne 0x417755
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x14
push edi
push 0
push esi
mov dword [ebp - 4], 0
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp + 8], eax
inc eax
push eax
call fcn.005981d6
add esp, 4
mov edi, eax
push edi
push dword [ebp + 8]
push 0
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x4177db
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 4]
push eax
push 0x621c28
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x4177db
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
push edi
movzx ecx, word [edx + 0xa]
mov dword [eax], ecx
mov eax, dword [ebp + 0x10]
movzx ecx, word [edx + 8]
mov dword [eax], ecx
mov eax, dword [ebp + 0x14]
movzx ecx, word [edx + 0xe]
mov dword [eax], ecx
mov eax, dword [ebp + 0x18]
movzx ecx, word [edx + 0xc]
mov dword [eax], ecx
call fcn.005981d1
add esp, 4
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
push edi
call fcn.005981d1
add esp, 4
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14

Function at 0x4177f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x64b9b0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x218], 0
test edi, edi
je 0x4178d4
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4178d4
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x214]
push eax
push edi
call fcn.00417740
test eax, eax
jne 0x417872
push str.0.0.0.0
mov ecx, esi
call fcn.00407b10
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057b967
mov esp, ebp
pop ebp
ret 8
push 0x200
lea eax, [ebp - 0x204]
push 0
push eax
call fcn.005949a0
push dword [ebp - 0x208]
lea eax, [ebp - 0x204]
push dword [ebp - 0x20c]
push dword [ebp - 0x210]
push dword [ebp - 0x214]
push str._d._d._d._d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x24
lea eax, [ebp - 0x204]
mov ecx, esi
push eax
call fcn.00407b10
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057b967
mov esp, ebp
pop ebp
ret 8
push 7
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
push str.0.0.0.0
mov word [esi], ax
call fcn.00407f80
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.0057b967
mov esp, ebp
pop ebp
ret 8

Function at 0x4187c0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
lea ecx, [ebp + 8]
call fcn.004032f0
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 0
jne 0x4187dc
lea edx, [eax - 0x10]
jmp 0x4187f3
push 1
push 0
push 0
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x418808
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
pop ebp
ret 4
Function at 0x418840
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c171f
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x64b9b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 5
push dword [ecx - 0xb8]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [0x665ef4], 0
jne 0x4188a1
push 0x4c
call fcn.0057bbbe
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.0041a750
mov dword [ebp - 4], 0xffffffff
mov dword [0x665ef4], eax
call fcn.0041b2a0
push 0x61e1b4
push 0x620c08
push str.new_mininews_show
push 0
call fcn.0047e230
add esp, 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4194f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c1896
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x64b9b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebx + 0x104]
mov esi, dword [esi + 0x17c]
mov dword [ebp - 0x18], esi
test esi, esi
je 0x419533
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov dword [ebp - 4], 0
test esi, esi
je 0x419635
cmp dword [0x665ef4], 0
jne 0x41956c
push 0x4c
call fcn.0057bbbe
add esp, 4
mov dword [ebp - 0x14], eax
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.0041a750
mov byte [ebp - 4], 0
mov dword [0x665ef4], eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 4
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 0
push str.showtype
push str.SoftwareQiLu_Inc.mininews_masterpdf_v2
push reloc.WS2_32.dll_accept
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4195a8
cmp dword [ebp - 0x10], 4
jne 0x4195a8
mov edi, dword [ebp - 0x14]
jmp 0x4195aa
xor edi, edi
mov eax, dword [esi + 0x8c]
cmp eax, 0x2711
jne 0x4195ec
cmp dword [0x665ef4], 0
jne 0x4195e1
push 0x4c
call fcn.0057bbbe
add esp, 4
mov dword [ebp - 0x1c], eax
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0041a750
mov byte [ebp - 4], 0
mov dword [0x665ef4], eax
xor eax, eax
cmp edi, 1
setne al
push eax
jmp 0x419630
cmp eax, 0x2712
jne 0x419607
call fcn.00417a10
mov eax, 2
xor ecx, ecx
cmp edi, eax
cmove eax, ecx
push eax
jmp 0x419630
cmp eax, 0x2713
jne 0x419635
cmp edi, 3
je 0x419629
mov ecx, dword [ebx + 0x38]
call fcn.0041c640
cmp eax, 1
jne 0x419635
call fcn.00417a10
push 3
jmp 0x419630
call fcn.00417a10
push 0
call fcn.0041b0d0
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x419646
mov eax, dword [esi]
push esi
call dword [eax + 8]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x41cdd0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x228
mov eax, dword [0x64b9b0]
xor eax, esp
mov dword [esp + 0x224], eax
mov eax, dword [ecx + 4]
mov edx, dword [ebp + 8]
or eax, 0x2001f
push esi
push edi
push eax
push edx
push dword [ecx]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], edx
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
call fcn.00411a10
mov esi, eax
test esi, esi
jne 0x41cec7
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [esp + 0x20]
push eax
push esi
push esi
push esi
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x100
push eax
lea eax, [esp + 0x3c]
push eax
push esi
push dword [esp + 0x28]
call edi
test eax, eax
jne 0x41ce99
nop dword [eax]
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x10]
call fcn.0041cdd0
mov esi, eax
test esi, esi
jne 0x41cec7
lea eax, [esp + 0x20]
mov dword [esp + 8], 0x100
push eax
push esi
push esi
push esi
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x3c]
push eax
push esi
push dword [esp + 0x28]
call edi
test eax, eax
je 0x41ce60
mov eax, dword [esp + 0xc]
test eax, eax
je 0x41ceb0
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], 0
push dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x14], 0
call fcn.00411900
mov esi, eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x41ced6
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x22c]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.0057b967
mov esp, ebp
pop ebp
ret 4
Function at 0x41d330
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c1d76
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x64b9b0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
push 0x60
push 0
mov byte [ebp - 4], 1
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x41d3dc
push 2
push eax
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x41d3dc
call fcn.0040e3f0
mov esi, eax
jmp 0x41d4cc
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x41d3ff
call fcn.0040e3f0
jmp 0x41d4bf
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x41d41d
call fcn.0040e3f0
jmp 0x41d4bf
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x41c], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x41d43e
mov esi, 0x8007000e
jmp 0x41d4c1
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.00420110
jmp 0x41d468
mov dword [ebp - 4], 1
cmp dword [ebp - 0x418], 0
jne 0x41d47f
mov esi, 0x8007000e
jmp 0x41d4c1
push esi
push dword [ebp - 0x418]
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x41d49f
call fcn.0040e3f0
jmp 0x41d4bf
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.0041e190
mov esi, eax
test edi, edi
je 0x41d4cc
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x41d4f0
lea ecx, [ebp - 0x418]
call fcn.004202b0
nop word [eax + eax]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0057b967
mov esp, ebp
pop ebp
ret 0x10
Function at 0x41f600
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c1efb
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x64b9b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov al, byte [0x665f00]
test al, al
jne 0x41f72d
push 0x104
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.005949a0
add esp, 0xc
lea eax, [ebp - 0x118]
push 1
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x41f728
push str.config_systemprofile
lea ecx, [ebp - 0x148]
call fcn.00403220
lea eax, [ebp - 0x118]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x130]
call fcn.00403220
push dword [ebp - 0x138]
cmp dword [ebp - 0x134], 0x10
lea eax, [ebp - 0x148]
push ecx
cmovae eax, dword [ebp - 0x148]
lea ecx, [ebp - 0x130]
push eax
call fcn.00403f30
movzx ecx, byte [0x665f00]
cmp eax, 0xffffffff
mov eax, dword [ebp - 0x11c]
mov edx, 1
cmovne ecx, edx
mov byte [0x665f00], cl
cmp eax, 0x10
jb 0x41f6ef
inc eax
lea ecx, [ebp - 0x130]
push eax
push dword [ebp - 0x130]
call fcn.00403810
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x11c], 0xf
mov dword [ebp - 0x120], 0
mov byte [ebp - 0x130], 0
cmp eax, 0x10
jb 0x41f728
inc eax
lea ecx, [ebp - 0x148]
push eax
push dword [ebp - 0x148]
call fcn.00403810
mov al, byte [0x665f00]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0057b967
mov esp, ebp
pop ebp
ret
Function at 0x41fa80
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x64b9b0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x400
lea eax, [ebp - 0x404]
mov esi, ecx
push 0
push eax
call fcn.005949a0
add esp, 0xc
lea eax, [ebp - 0x404]
push 0x200
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.RecoveryHelper_360.exe
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 1
push 0
push dword [esi]
lea eax, [ebp - 0x404]
push eax
push str.runas
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, 0x20
cmp ecx, eax
mov ecx, dword [ebp - 4]
pop esi
sbb eax, eax
xor ecx, ebp
neg eax
call fcn.0057b967
mov esp, ebp
pop ebp
ret

Function at 0x41fb20
Capabilities:
Query service status
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x64b9b0]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0x20000000
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
jne 0x41fb55
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057b967
mov esp, ebp
pop ebp
ret
push esi
push 0x34
push str.RecoveryServer
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
jne 0x41fbb3
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push str._enableServer
lea ecx, [ebp - 0x24]
call fcn.004032f0
lea ecx, [ebp - 0x24]
call fcn.0041fa80
mov edx, dword [ebp - 0x24]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41fba1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
pop esi
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057b967
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x41fbec
cmp dword [ebp - 0x1c], 1
jne 0x41fbec
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
cmp eax, 1
jne 0x41fbec
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
mov ecx, dword [ebp - 4]
xor eax, eax
cmp dword [ebp - 0x1c], 4
pop esi
sete al
xor ecx, ebp
pop edi
call fcn.0057b967
mov esp, ebp
pop ebp
ret
Function at 0x41fc20
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
xor edx, edx
lea ecx, [ebp - 4]
call fcn.00470220
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41fc41
lea esi, [eax + 1]
jmp 0x41fc5e
push dword [ebp - 4]
push 1
push str.Activate
push str.dataRecovery
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
neg esi
sbb esi, esi
neg esi
mov eax, dword [ebp - 4]
or ecx, 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x41fc79
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4210d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x64b9b0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
cmp dword [esi], 0
je 0x4211e8
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.005949a0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push dword [esi]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4211e8
lea ecx, [ebp - 0x20c]
call fcn.004707e0
test eax, eax
je 0x4211e8
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x4211e8
push dword [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4211e8
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x210], 0
push ecx
push 1
call eax
mov esi, eax
mov dword [ebp - 0x214], esi
test esi, esi
je 0x4211e8
push dword [edi + 0x10]
mov eax, dword [esi]
push esi
call dword [eax + 0xc]
mov eax, dword [edi + 8]
lea ecx, [edi + 4]
mov edx, dword [ecx]
cmp edx, eax
je 0x4211c5
cmp dword [edx], esi
je 0x4211c1
add edx, 4
cmp edx, eax
jne 0x4211b6
cmp edx, eax
jne 0x4211d1
lea eax, [ebp - 0x214]
push eax
call fcn.004218d0
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057b967
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0057b967
mov esp, ebp
pop ebp
ret 4