joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402300
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4c6d18
mov eax, dword fs:[0]
push eax
sub esp, 0x628
mov eax, dword [0x4ed20c]
xor eax, esp
mov dword [esp + 0x624], eax
push ebx
push ebp
push edi
mov eax, dword [0x4ed20c]
xor eax, esp
push eax
lea eax, [esp + 0x638]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esi], ebx
mov eax, 7
mov dword [esi + 0x20], eax
mov dword [esi + 0x1c], ebx
mov dword [esp + 0x10], esi
mov word [esi + 0xc], bx
lea edi, [esi + 0x24]
mov dword [esp + 0x640], ebx
mov dword [edi + 0x18], eax
mov dword [edi + 0x14], ebx
mov word [edi + 4], bx
mov dword [esi + 0x58], eax
mov dword [esi + 0x54], ebx
mov word [esi + 0x44], bx
lea ecx, [esi + 0x5c]
mov byte [esp + 0x640], 2
push ebx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push 0x4dc2bc
mov byte [ecx + 4], bl
call fcn.00401810
push ebx
mov byte [esp + 0x644], 3
call fcn.00477abb
push eax
call fcn.00479c36
push 0x20a
lea eax, [esp + 0x22]
push ebx
push eax
mov word [esp + 0x28], bx
call fcn.00474d50
add esp, 0x14
lea ecx, [esp + 0x14]
push ecx
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
add eax, 0xffffffff
cmp eax, 0x103
ja 0x402461
push 0x410
lea edx, [esp + 0x226]
push ebx
push edx
mov word [esp + 0x22a], bx
mov word [esp + 0x22c], bx
call fcn.00474d50
add esp, 0xc
push 0x208
lea eax, [esp + 0x224]
push eax
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp eax, 0x208
ja 0x40243e
cmp eax, ebx
je 0x40243e
lea edx, [esp + 0x220]
push edx
mov ecx, edi
mov word [esp + eax*2 + 0x224], bx
call fcn.00403660
jmp 0x402461
lea eax, [esp + 0x14]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x402445
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x18]
push eax
mov ecx, edi
call fcn.00401a60
mov eax, dword [esi + 0x38]
cmp eax, ebx
je 0x402498
lea ebp, [eax - 1]
cmp ebp, dword [edi + 0x14]
jbe 0x402475
call fcn.004753e6
cmp dword [edi + 0x18], 8
jb 0x402480
mov eax, dword [edi + 4]
jmp 0x402483
lea eax, [edi + 4]
cmp word [eax + ebp*2], 0x5c
je 0x402498
push 1
push 0x4dc2c0
mov ecx, edi
call fcn.00403b40
cmp dword [esi + 0x38], ebx
jne 0x4024ab
push 3
push 0x4dc2c4
mov ecx, edi
call fcn.00401a60
mov eax, esi
mov dword [esi + 4], ebx
mov ecx, dword [esp + 0x638]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x624]
xor ecx, esp
call fcn.00474a3e
add esp, 0x634
ret
Function at 0x403e90
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4c6db8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, dword [0x4ed20c]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x40]
xor edi, edi
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], edi
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], edi
mov word [esp + 0x20], di
call fcn.00401d40
mov edx, dword [esp + 0x44]
mov eax, edx
mov dword [esp + 0x34], edi
lea esi, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x403ef0
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x18]
call fcn.00403b40
mov esi, dword [esp + 0x3c]
push 0xffffffffffffffff
push edi
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push eax
mov ecx, esi
mov word [esi + 4], di
call fcn.00401d40
cmp dword [esp + 0x28], 8
jb 0x403f3b
mov ecx, dword [esp + 0x14]
push ecx
call fcn.004546a0
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x2c
ret

Function at 0x404ca0
Capabilities:
Get http content length

Disassembly:
mov eax, dword [eax + 4]
sub esp, 8
test eax, eax
je 0x404cdf
push 0
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 8]
push edx
push 0x20000005
push eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x404cdf
mov eax, dword [esp]
xor edx, edx
add esp, 8
ret
xor eax, eax
xor edx, edx
add esp, 8
ret
Function at 0x407be0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0x4c8e80
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
cmp dword [edx], 0
jne 0x407c06
xor eax, eax
jmp 0x407ccc
push str.GetNativeSystemInfo
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
push 0x4c8eb0
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
push str.Wow64DisableWow64FsRedirection
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0x18], eax
push 0x4c8ee0
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0x14], eax
push str.GetSystemWow64DirectoryW
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], eax
push str.advapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 4], 0
jne 0x407c97
xor eax, eax
jmp 0x407ccc
push 0x4c8f38
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0x20], eax
push str.Wow64RevertWow64FsRedirection
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0x1c], eax
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x410140
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
call fcn.00424dc0
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
call fcn.004250e0
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
call fcn.004249e0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
call fcn.00425070
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], eax
call fcn.00424f90
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x18], eax
call fcn.00425000
mov edx, dword [ebp - 4]
mov dword [edx + 0x1c], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [eax + 4], edx
mov eax, dword [ebp - 4]
add eax, 0x1a0
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 4]
add ecx, 0x1b8
push ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edx, dword [ebp - 4]
add edx, 0x1a8
push edx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [ebp - 4]
add eax, 0x1e8
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 4]
add ecx, 0x1c8
push ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edx, dword [ebp - 4]
add edx, 0x1d8
push edx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [ebp - 4]
mov ecx, dword [0x4ef010]
mov dword [eax + 0x190], ecx
mov esp, ebp
pop ebp
ret

Function at 0x410210
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
add eax, 0x40
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x78
call fcn.00403640
push str.Skin_
mov ecx, dword [ebp - 4]
add ecx, 0x78
call fcn.00403690
mov ecx, dword [ebp - 4]
add ecx, 0x78
call fcn.00401800
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x410263
mov ecx, dword [ebp - 4]
add ecx, 0x78
call fcn.00401800
push eax
call fcn.00412ac0
add esp, 4
mov esp, ebp
pop ebp
ret

Function at 0x410270
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4ed20c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x214], ecx
mov word [ebp - 0x210], 0
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.00474d50
add esp, 0xc
push str.AllSkin
mov ecx, dword [ebp - 0x214]
add ecx, 0x40
call fcn.00401800
push eax
push 0x4ca8e4
lea ecx, [ebp - 0x210]
push ecx
call fcn.00474c76
add esp, 0x10
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4102f0
lea eax, [ebp - 0x210]
push eax
call fcn.00412ac0
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00474a3e
mov esp, ebp
pop ebp
ret
Function at 0x410300
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4ed20c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x214], ecx
mov word [ebp - 0x210], 0
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.00474d50
add esp, 0xc
push 0x4ca8f0
mov ecx, dword [ebp - 0x214]
add ecx, 0x24
call fcn.00401800
push eax
push 0x4ca8f8
lea ecx, [ebp - 0x210]
push ecx
call fcn.00474c76
add esp, 0x10
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x410380
push 0
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push str.Dict
mov ecx, dword [ebp - 0x214]
add ecx, 0x24
call fcn.00401800
push eax
push 0x4ca910
lea ecx, [ebp - 0x210]
push ecx
call fcn.00474c76
add esp, 0x10
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4103c8
push 0
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00474a3e
mov esp, ebp
pop ebp
ret

Function at 0x4103e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4ed20c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x214], ecx
push 0x4ca91c
mov ecx, dword [ebp - 0x214]
add ecx, 0x40
call fcn.00401800
push eax
push 0x4ca92c
lea eax, [ebp - 0x210]
push eax
call fcn.00474c76
add esp, 0x10
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x410441
lea edx, [ebp - 0x210]
push edx
call fcn.00412ac0
add esp, 4
push 0x4ca938
lea eax, [ebp - 0x210]
push eax
call fcn.004751e8
add esp, 8
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [ebp - 0x214]
add ecx, 0x5c
call fcn.00403660
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00474a3e
mov esp, ebp
pop ebp
ret

Function at 0x410480
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4ed20c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x214], ecx
push 0x4ca950
mov ecx, dword [ebp - 0x214]
add ecx, 0x40
call fcn.00401800
push eax
push 0x4ca960
lea eax, [ebp - 0x210]
push eax
call fcn.00474c76
add esp, 0x10
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4104e1
lea edx, [ebp - 0x210]
push edx
call fcn.00412ac0
add esp, 4
push str.Related.ini
lea eax, [ebp - 0x210]
push eax
call fcn.004751e8
add esp, 8
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [ebp - 0x214]
add ecx, 0xe8
call fcn.00403660
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00474a3e
mov esp, ebp
pop ebp
ret
Function at 0x410600
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4ed20c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x214], ecx
push str.UseData
mov ecx, dword [ebp - 0x214]
add ecx, 0x40
call fcn.00401800
push eax
push 0x4caa0c
lea eax, [ebp - 0x210]
push eax
call fcn.00474c76
add esp, 0x10
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x410661
lea edx, [ebp - 0x210]
push edx
call fcn.00412ac0
add esp, 4
lea eax, [ebp - 0x210]
push eax
mov ecx, dword [ebp - 0x214]
add ecx, 0x158
call fcn.00403660
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00474a3e
mov esp, ebp
pop ebp
ret
Function at 0x410df0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x860
mov eax, dword [0x4ed20c]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x860], ecx
mov word [ebp - 0x650], 0
push 0x206
push 0
lea eax, [ebp - 0x64e]
push eax
call fcn.00474d50
add esp, 0xc
mov word [ebp - 0x440], 0
push 0x206
push 0
lea ecx, [ebp - 0x43e]
push ecx
call fcn.00474d50
add esp, 0xc
mov dword [ebp - 0x85c], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x85c], eax
mov dword [ebp - 0x444], 0
mov dword [ebp - 0x238], 0
push 0x228
push 0
lea edx, [ebp - 0x234]
push edx
call fcn.00474d50
add esp, 0xc
mov word [ebp - 0x858], 0
push 0x206
push 0
lea eax, [ebp - 0x856]
push eax
call fcn.00474d50
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x444], eax
cmp dword [ebp - 0x444], 0xffffffff
jne 0x410ec3
jmp 0x410f5e
mov dword [ebp - 0x238], 0x22c
lea ecx, [ebp - 0x238]
push ecx
mov edx, dword [ebp - 0x444]
push edx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x410f21
mov eax, dword [ebp - 0x230]
cmp eax, dword [ebp - 0x85c]
jne 0x410f0a
lea ecx, [ebp - 0x214]
push ecx
lea edx, [ebp - 0x440]
push edx
call fcn.00475212
add esp, 8
jmp 0x410f21
lea eax, [ebp - 0x238]
push eax
mov ecx, dword [ebp - 0x444]
push ecx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x410ee4
cmp dword [ebp - 0x444], 0xffffffff
je 0x410f37
mov edx, dword [ebp - 0x444]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x440]
push eax
call fcn.00476f12
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
mov ecx, dword [ebp - 0x860]
add ecx, 0x174
call fcn.00403660
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00474a3e
mov esp, ebp
pop ebp
ret

Function at 0x4118b0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x4ed20c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x12c], ecx
push 0x11c
push 0
lea eax, [ebp - 0x128]
push eax
call fcn.00474d50
add esp, 0xc
mov dword [ebp - 0x128], 0x11c
lea ecx, [ebp - 0x128]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x124], 6
jne 0x411921
cmp dword [ebp - 0x120], 0
je 0x411911
cmp dword [ebp - 0x120], 1
jne 0x411921
movzx edx, byte [ebp - 0xe]
cmp edx, 1
jne 0x411921
mov eax, 1
jmp 0x411923
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00474a3e
mov esp, ebp
pop ebp
ret

Function at 0x411940
Capabilities:
Check if file exists
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str.USERPROFILE
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x411985
push str.AppDataLocalLow
mov edx, dword [ebp + 8]
push edx
call fcn.004751e8
add esp, 8
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x411981
xor al, al
jmp 0x411987
mov al, 1
jmp 0x411987
xor al, al
mov esp, ebp
pop ebp
ret 8
Function at 0x411990
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x4ed20c]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x28], ecx
push str.Shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x4119bb
xor al, al
jmp 0x411a29
push str.SHGetKnownFolderPath
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x4119d7
xor al, al
jmp 0x411a29
lea ecx, [ebp - 0x18]
push ecx
push str.A520A1A4_1780_4FF6_BD18_167343C5AF16
call dword [sym.imp.ole32.dll_CLSIDFromString]
lea edx, [ebp - 4]
push edx
push 0
push 0x400
lea eax, [ebp - 0x18]
push eax
call dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jge 0x411a05
xor al, al
jmp 0x411a29
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00475212
add esp, 8
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x411a27
xor al, al
jmp 0x411a29
mov al, 1
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00474a3e
mov esp, ebp
pop ebp
ret 8

Function at 0x411a90
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4ed20c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x218], ecx
mov word [ebp - 0x210], 0
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.00474d50
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [ebp - 0x218]
call fcn.00411a40
movzx edx, al
test edx, edx
jne 0x411b19
push 0
push 0x1a
lea eax, [ebp - 0x210]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x210]
push ecx
call fcn.00474e12
add esp, 4
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
jne 0x411b19
jmp 0x411b8a
push 0x4cacd0
lea edx, [ebp - 0x210]
push edx
call fcn.004751e8
add esp, 8
push 0x4cacd4
lea eax, [ebp - 0x210]
push eax
call fcn.004751e8
add esp, 8
push 0x4cacf0
lea ecx, [ebp - 0x210]
push ecx
call fcn.004751e8
add esp, 8
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x411b75
lea eax, [ebp - 0x210]
push eax
call fcn.00412ac0
add esp, 4
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [ebp - 0x218]
add ecx, 0x40
call fcn.00403660
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00474a3e
mov esp, ebp
pop ebp
ret
Function at 0x411ba0
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4ed20c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x218], ecx
mov word [ebp - 0x210], 0
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.00474d50
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [ebp - 0x218]
call fcn.00411a40
movzx edx, al
test edx, edx
jne 0x411c29
push 0
push 0x1a
lea eax, [ebp - 0x210]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x210]
push ecx
call fcn.00474e12
add esp, 4
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
jne 0x411c29
jmp 0x411c9a
push 0x4cacf4
lea edx, [ebp - 0x210]
push edx
call fcn.004751e8
add esp, 8
push 0x4cacf8
lea eax, [ebp - 0x210]
push eax
call fcn.004751e8
add esp, 8
push 0x4cad20
lea ecx, [ebp - 0x210]
push ecx
call fcn.004751e8
add esp, 8
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x411c85
lea eax, [ebp - 0x210]
push eax
call fcn.00412ac0
add esp, 4
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [ebp - 0x218]
add ecx, 0x24
call fcn.00403660
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00474a3e
mov esp, ebp
pop ebp
ret

Function at 0x411cb0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x62c
mov eax, dword [0x4ed20c]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x62c], ecx
mov word [ebp - 0x420], 0
push 0x206
push 0
lea eax, [ebp - 0x41e]
push eax
call fcn.00474d50
add esp, 0xc
push 0x4cad24
lea ecx, [ebp - 0x420]
push ecx
call fcn.00475212
add esp, 8
push 0x4cad38
lea edx, [ebp - 0x420]
push edx
call fcn.004751e8
add esp, 8
mov ecx, dword [ebp - 0x62c]
add ecx, 0x40
call fcn.00401800
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.00475212
add esp, 8
mov ecx, dword [ebp - 0x62c]
add ecx, 0x24
call fcn.00401800
push eax
lea ecx, [ebp - 0x628]
push ecx
call fcn.00475212
add esp, 8
lea edx, [ebp - 4]
push edx
push 2
push 0
lea eax, [ebp - 0x420]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
jne 0x411db3
push 0x104
lea ecx, [ebp - 0x210]
push ecx
push 1
push 0
push 0x4cad58
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x104
lea eax, [ebp - 0x628]
push eax
push 1
push 0
push 0x4cad70
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00474a3e
mov esp, ebp
pop ebp
ret
Function at 0x412650
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c23e6
mov eax, dword fs:[0]
push eax
sub esp, 0x6b0
mov eax, dword [0x4ed20c]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x454], 0
push 0x228
push 0
lea eax, [ebp - 0x450]
push eax
call fcn.00474d50
add esp, 0xc
mov word [ebp - 0x224], 0
push 0x206
push 0
lea ecx, [ebp - 0x222]
push ecx
call fcn.00474d50
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x4126e1
xor eax, eax
jmp 0x412862
mov dword [ebp - 0x454], 0x22c
lea edx, [ebp - 0x454]
push edx
mov eax, dword [ebp - 0x14]
push eax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x412853
lea ecx, [ebp - 0x430]
push ecx
lea edx, [ebp - 0x224]
push edx
call fcn.00475212
add esp, 8
lea eax, [ebp - 0x224]
push eax
call fcn.004773be
add esp, 4
mov dword [ebp - 0x458], eax
lea ecx, [ebp - 0x224]
push ecx
call fcn.00412600
add esp, 4
movzx edx, al
test edx, edx
je 0x41283b
mov word [ebp - 0x664], 0
push 0x206
push 0
lea eax, [ebp - 0x662]
push eax
call fcn.00474d50
add esp, 0xc
mov ecx, dword [ebp - 0x44c]
push ecx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x668], eax
push 0x104
lea edx, [ebp - 0x664]
push edx
push 0
mov eax, dword [ebp - 0x668]
push eax
call sub.PSAPI.DLL_GetModuleFileNameExW
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x6a4], esp
lea edx, [ebp - 0x664]
push edx
call fcn.00401600
mov dword [ebp - 0x6ac], eax
mov eax, dword [ebp - 0x6ac]
mov dword [ebp - 0x6b0], eax
mov dword [ebp - 4], 0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x6a8], esp
lea edx, [ebp - 0x224]
push edx
call fcn.00401600
mov dword [ebp - 0x6b4], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6a0]
call fcn.00420080
mov dword [ebp - 0x6b8], eax
mov eax, dword [ebp - 0x6b8]
mov dword [ebp - 0x6bc], eax
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x6bc]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0041cf30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6a0]
call fcn.0041c830
mov eax, 1
jmp 0x412862
lea edx, [ebp - 0x454]
push edx
mov eax, dword [ebp - 0x14]
push eax
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x412703
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00474a3e
mov esp, ebp
pop ebp
ret