joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1004a910
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10053875
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x1006c8c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x20], edi
movzx eax, byte [edx]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 1]
xor ecx, eax
movzx eax, byte [edx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, ebx
push eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x14]
push edx
push eax
call fcn.1004a860
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1004a99a
mov dword [edi], eax
mov byte [edi + 4], 0
jmp 0x1004aae1
cmp dword [ebx + 8], 0xfffffff
je 0x1004aaf7
lea eax, [ebx + 4]
mov dword [ebp - 0x28], eax
push 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0
call fcn.1004e62b
mov ecx, dword [ebp - 0x18]
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
mov ecx, dword [ecx]
mov dword [esi + 8], ecx
mov dword [esi + 0xc], 0
mov eax, dword [ebx + 8]
inc eax
movss xmm3, dword [ebx]
mov dword [ebp - 4], 1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10058d90]
mov eax, dword [ebx + 0x1c]
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x10058d90]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x1004aa94
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x14], xmm0
fld qword [ebp - 0x14]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
fstp qword [ebp - 0x14]
movsd xmm0, qword [ebp - 0x14]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.1004ecf0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x1004aa76
cmp eax, 0x200
jae 0x1004aa74
shl eax, 3
cmp eax, ecx
jae 0x1004aa76
mov eax, ecx
push eax
mov ecx, ebx
call fcn.1004b330
push dword [ebp - 0x1c]
lea eax, [esi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.1004a860
mov edx, dword [eax]
jmp 0x1004aa97
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 4]
inc dword [ebx + 8]
mov edi, dword [ebp - 0x28]
mov dword [esi + 4], eax
mov dword [esi], edx
mov dword [eax], esi
mov dword [edx + 4], esi
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x18]
and eax, dword [ebp - 0x1c]
mov ebx, dword [ecx + eax*8]
cmp ebx, dword [edi]
jne 0x1004aac2
mov dword [ecx + eax*8], esi
jmp 0x1004aad4
cmp ebx, edx
jne 0x1004aacb
mov dword [ecx + eax*8], esi
jmp 0x1004aad8
mov edx, dword [ebp - 0x18]
cmp dword [ecx + eax*8 + 4], edx
jne 0x1004aad8
mov dword [ecx + eax*8 + 4], esi
mov edi, dword [ebp - 0x20]
mov dword [edi], esi
mov byte [edi + 4], 1
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__
int3
Function at 0x1004d520
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x1004d52e
mov al, 1
pop ebp
ret
cmp eax, 1
jne 0x1004d544
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
setne al
pop ebp
ret
cmp eax, 2
jne 0x1004d558
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setne al
pop ebp
ret

Function at 0x1004dde0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
mov eax, dword [ebp + 0xc]
sub eax, 0
je 0x1004de1f
sub eax, 1
jne 0x1004de30
push eax
push eax
push dword [ebp + 8]
push 0x1004dc50
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x1004de30
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop ebp
ret 0xc
call fcn.10027e40
call fcn.1004dbf0
mov ecx, eax
call fcn.10007950
mov eax, 1
pop ebp
ret 0xc

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x46a118
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x415788]
call fcn.00405054
xor eax, eax
push ebp
push 0x46a25c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x477f4c], 0
jne 0x46a16b
mov ecx, dword [0x478090]
mov dl, 1
mov eax, dword [0x4079bc]
call fcn.0040c6bc
call fcn.004040f8
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00403240
mov eax, ebx
call fcn.00404f24
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x46a26c
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00405fd8
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404f34
test eax, eax
jle 0x46a203
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.KERNEL32.DLL_GetComputerNameA
test eax, eax
je 0x46a1fc
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404944
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.0040492c
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408850
test eax, eax
jne 0x46a1fc
mov ebx, 0x15
jmp 0x46a208
mov ebx, 0x10
jmp 0x46a208
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x477f4c]
call fcn.0046a070
mov eax, dword [ebp - 8]
call fcn.0046a070
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00405ff0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a263
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004046e0
lea eax, [ebp - 0x10]
mov edx, dword [0x415788]
call fcn.00405124
ret
Function at 0x46b92c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec8
push ebx
xor edx, edx
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x46baf7
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebx + 0x40], 0
je 0x46b967
cmp byte [ebx + 0x41], 0
jne 0x46b967
xor eax, eax
mov dword [ebp - 0x24], eax
jmp 0x46b993
cmp byte [ebx + 0x41], 1
jne 0x46b981
lea eax, [ebp - 0x24]
push eax
push 0x12
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.0046a070
jmp 0x46b993
lea eax, [ebp - 0x24]
push eax
push 0x11
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.0046a070
xor edx, edx
push ebp
push 0x46bad2
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebx + 0x48]
mov edx, 0x104
call fcn.00404d08
mov eax, dword [ebx + 0x48]
call fcn.00404b7c
mov dword [ebp - 0x20], eax
cmp dword [ebx + 0x44], 0
je 0x46b9cc
mov eax, dword [ebx + 0x44]
call fcn.00404b7c
mov dword [ebp - 0x1c], eax
jmp 0x46b9d1
xor eax, eax
mov dword [ebp - 0x1c], eax
cmp byte [ebx + 0x41], 1
jne 0x46b9e0
mov dword [ebp - 0x18], 0x1000
jmp 0x46b9e7
mov dword [ebp - 0x18], 9
mov dword [ebp - 0x14], 0x46b554
mov dword [ebp - 0x10], ebx
mov eax, dword [0x47835c]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x28], eax
xor eax, eax
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x28]
mov eax, ebx
call fcn.0046bb08
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
setne byte [ebp - 1]
cmp byte [ebp - 1], 0
je 0x46bab7
xor eax, eax
push ebp
push 0x46bab0
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebx + 0x41], 0
jne 0x46ba7d
lea eax, [ebp - 0x12d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
call fcn.0040de3c
lea edx, [ebp - 0x138]
lea eax, [ebp - 0x12d]
call fcn.0040982c
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.0046bc60
mov edx, dword [ebp - 0x134]
lea eax, [ebx + 0x50]
call fcn.00404710
jmp 0x46ba88
lea eax, [ebx + 0x50]
mov edx, dword [ebx + 0x48]
call fcn.00404710
lea eax, [ebx + 0x4c]
mov edx, dword [ebx + 0x50]
call fcn.00404710
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x54], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46bab7
mov eax, dword [ebp - 8]
push eax
call sub.ole32.dll_CoTaskMemFree
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46bad9
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x46bad1
push eax
call sub.ole32.dll_CoTaskMemFree
ret

Function at 0x46bcc0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404b6c
xor eax, eax
push ebp
push 0x46bd11
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404b7c
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
je 0x46bcf5
test al, 0x10
jne 0x46bcf9
xor ebx, ebx
jmp 0x46bcfb
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46bd18
lea eax, [ebp - 4]
call fcn.004046bc
ret
Function at 0x46bdf0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffce0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x320], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x46bfb2
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.ole32.dll_CoInitialize
xor eax, eax
push ebp
push 0x46bf82
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
call fcn.00405fd8
push eax
mov eax, dword [0x4784a0]
push eax
push 5
push 0
mov eax, dword [0x4780e8]
push eax
call sub.ole32.dll_CoCreateInstance
call fcn.0046a070
xor eax, eax
push ebp
push 0x46bf68
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
call fcn.00405fd8
push eax
push 0x477f84
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax]
call fcn.0046a070
xor eax, eax
push ebp
push 0x46bf4b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
push edi
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.0046a070
lea eax, [ebp - 0x111]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
push 0x46bfc8
push esi
push 0x46bfd4
lea eax, [ebp - 0x320]
mov edx, 3
call fcn.00404a3c
mov eax, dword [ebp - 0x320]
call fcn.00404b7c
mov edx, eax
lea eax, [ebp - 0x111]
call fcn.00409700
mov eax, ebx
call fcn.00404b7c
mov esi, eax
push esi
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x50]
push 0
push esi
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x44]
push 0x104
lea eax, [ebp - 0x31c]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x111]
push eax
push 0
push 0
call sub.KERNEL32.DLL_MultiByteToWideChar
push 0xffffffffffffffff
lea eax, [ebp - 0x31c]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
call fcn.0046a070
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46bf52
lea eax, [ebp - 8]
call fcn.00405fd8
ret
Function at 0x471fdc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc94
push ebx
xor ecx, ecx
mov dword [ebp - 0x368], ecx
mov dword [ebp - 0x36c], ecx
mov dword [ebp - 0xc], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404b6c
xor eax, eax
push ebp
push 0x47214f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x20d]
mov edx, dword [ebp - 4]
call fcn.004096bc
lea edx, [ebp - 0xc]
xor eax, eax
call fcn.004029b0
lea eax, [ebp - 0x30d]
mov edx, dword [ebp - 0xc]
call fcn.004096bc
lea eax, [ebp - 0x354]
xor ecx, ecx
mov edx, 0x44
call fcn.00403240
mov dword [ebp - 0x354], 0x44
mov dword [ebp - 0x328], 1
mov word [ebp - 0x324], bx
lea eax, [ebp - 0x364]
push eax
lea eax, [ebp - 0x354]
push eax
lea eax, [ebp - 0x30d]
push eax
push 0
push 0x30
push 0
push 0
push 0
lea eax, [ebp - 0x20d]
push eax
push 0
call sub.KERNEL32.DLL_CreateProcessA
test eax, eax
jne 0x4720eb
mov dword [ebp - 8], 0xffffffff
push 0
lea edx, [ebp - 0x368]
mov eax, dword [0x47835c]
mov eax, dword [eax]
call fcn.00461a48
mov eax, dword [ebp - 0x368]
call fcn.00404b7c
push eax
call sub.KERNEL32.DLL_GetLastError
lea edx, [ebp - 0x36c]
call fcn.0040bdc8
mov eax, dword [ebp - 0x36c]
call fcn.00404b7c
push eax
mov eax, dword [0x47835c]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_MessageBoxA
jmp 0x472121
push 0xffffffffffffffff
mov eax, dword [ebp - 0x364]
push eax
call sub.KERNEL32.DLL_WaitForSingleObject
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x364]
push eax
call sub.KERNEL32.DLL_GetExitCodeProcess
mov eax, dword [ebp - 0x364]
push eax
call sub.KERNEL32.DLL_CloseHandle
mov eax, dword [ebp - 0x360]
push eax
call sub.KERNEL32.DLL_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x472156
lea eax, [ebp - 0x36c]
mov edx, 2
call fcn.004046e0
lea eax, [ebp - 0xc]
call fcn.004046bc
lea eax, [ebp - 4]
call fcn.004046bc
ret
Function at 0x4721e4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffedc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x1124], ecx
mov dword [ebp - 0x1110], ecx
mov dword [ebp - 0x110c], ecx
mov dword [ebp - 0x1108], ecx
mov dword [ebp - 0x1104], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404b6c
xor eax, eax
push ebp
push 0x472507
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 6], 0
cmp dword [ebp - 4], 0
jne 0x472252
lea edx, [ebp - 4]
mov eax, dword [0x47835c]
mov eax, dword [eax]
call fcn.00462544
push 0
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x41681c]
call fcn.0041a690
mov dword [ebp - 0x14], eax
mov cx, 2
mov edx, 0xffffff1a
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0x14]
lea edx, [ebp - 0x1100]
mov ecx, 0xdc
mov eax, dword [ebp - 0x14]
call fcn.0041a408
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx]
mov dword [ebp - 0x10fc], eax
lea edx, [ebp - 0x22]
mov ecx, 0xa
mov eax, dword [ebp - 0x14]
call fcn.0041a408
lea eax, [ebp - 0x1104]
lea edx, [ebp - 0x22]
mov ecx, 0xa
call fcn.004047ac
mov eax, dword [ebp - 0x1104]
mov edx, 0x472520
call fcn.00404ac8
jne 0x4724c9
cmp dword [ebp - 0x10c4], 0
jle 0x4724c9
mov edx, dword [ebp - 0x1100]
neg edx
mov cx, 2
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0x14]
xor eax, eax
push ebp
push 0x4723a5
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x7ff
lea eax, [ebp - 0x822]
push eax
call sub.KERNEL32.DLL_GetSystemDirectoryA
lea eax, [ebp - 0xc]
lea edx, [ebp - 0x822]
mov ecx, 0x800
call fcn.0040492c
push 0xffff
lea eax, [ebp - 0x1108]
mov ecx, 0x472534
mov edx, dword [ebp - 0xc]
call fcn.004049c8
mov ecx, dword [ebp - 0x1108]
mov dl, 1
mov eax, dword [0x41681c]
call fcn.0041a690
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x472388
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10c4]
cdq
push edx
push eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
call fcn.0041a478
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47238f
mov eax, dword [ebp - 0x18]
call fcn.0040396c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47250e
lea eax, [ebp - 0x1124]
call fcn.004046bc
lea eax, [ebp - 0x1110]
mov edx, 4
call fcn.004046e0
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004046e0
lea eax, [ebp - 4]
call fcn.004046bc
ret
Function at 0x472bf7
Capabilities:
Compare security identifiers

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov byte [esp], 0
lea eax, [esp + 4]
push eax
push 0xffffffffffffffff
push 8
call sub.KERNEL32.DLL_GetCurrentThread
push eax
call sub.advapi32.dll_OpenThreadToken
mov ebx, eax
test ebx, ebx
jne 0x472ba4
call sub.KERNEL32.DLL_GetLastError
cmp eax, 0x3f0
jne 0x472ba4
lea eax, [esp + 4]
push eax
push 8
call sub.KERNEL32.DLL_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
mov ebx, eax
test ebx, ebx
je 0x472c3b
mov eax, 0x400
call fcn.0040279c
mov esi, eax
lea eax, [esp + 8]
push eax
push 0x400
push esi
push 2
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_GetTokenInformation
mov ebx, eax
mov eax, dword [esp + 4]
push eax
call sub.KERNEL32.DLL_CloseHandle
test ebx, ebx
je 0x472c34
lea eax, [esp + 0xc]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
push 0x478048
call sub.advapi32.dll_AllocateAndInitializeSid
mov ebx, dword [esi]
dec ebx
test ebx, ebx
jl 0x472c2a
inc ebx
xor edi, edi
mov eax, dword [esi + edi*8 + 4]
push eax
mov eax, dword [esp + 0x10]
push eax
call sub.advapi32.dll_EqualSid
test eax, eax
je 0x472c26
mov byte [esp], 1
jmp 0x472c2a
inc edi
dec ebx
jne 0x472c0d
mov eax, dword [esp + 0xc]
push eax
call sub.advapi32.dll_FreeSid
mov eax, esi
call fcn.004027bc
mov al, byte [esp]
add esp, 0x10
pop edi
pop esi
pop ebx
ret

Function at 0x472c48
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebx
push esi
push ecx
mov esi, eax
push esp
push 0x26
mov eax, dword [0x479e54]
call fcn.00448e00
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
mov eax, 0xff
call fcn.0040279c
mov ebx, eax
push ebx
mov eax, dword [esp + 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
mov eax, esi
mov edx, ebx
call fcn.004048b4
mov eax, ebx
call fcn.004027bc
pop edx
pop esi
pop ebx
ret

Function at 0x472c8c
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffef8
mov ebx, eax
push 0x105
lea eax, [esp + 4]
push eax
call sub.KERNEL32.DLL_GetWindowsDirectoryA
mov edx, ebx
mov eax, esp
call fcn.0040982c
add esp, 0x108
pop ebx
ret

Function at 0x472cb8
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffef8
mov ebx, eax
push esp
push 0x104
call sub.KERNEL32.DLL_GetTempPathA
mov edx, ebx
mov eax, esp
call fcn.0040982c
add esp, 0x108
pop ebx
ret
Function at 0x473134
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee4
xor edx, edx
mov dword [ebp - 0x118], edx
mov dword [ebp - 0x11c], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404b6c
xor eax, eax
push ebp
push 0x473230
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
push 0
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.0046a070
lea eax, [ebp - 0x111]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
lea eax, [ebp - 0xc]
lea edx, [ebp - 0x111]
mov ecx, 0x105
call fcn.0040492c
cmp dword [ebp - 0xc], 0
je 0x473202
mov eax, dword [ebp - 0xc]
call fcn.0040497c
mov edx, dword [ebp - 0xc]
cmp byte [edx + eax - 1], 0x5c
je 0x4731c1
lea eax, [ebp - 0xc]
mov edx, 0x473244
call fcn.00404984
push dword [ebp - 0xc]
lea edx, [ebp - 0x11c]
mov eax, 0x473250
call fcn.00464620
push dword [ebp - 0x11c]
push 0x473260
push dword [ebp - 4]
push 0x47326c
lea eax, [ebp - 0x118]
mov edx, 5
call fcn.00404a3c
mov eax, dword [ebp - 0x118]
call fcn.00409240
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x473237
lea eax, [ebp - 0x11c]
mov edx, 2
call fcn.004046e0
lea eax, [ebp - 0xc]
call fcn.004046bc
lea eax, [ebp - 4]
call fcn.004046bc
ret
Function at 0x4735d4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed0
xor edx, edx
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x128], edx
mov dword [ebp - 0x12c], edx
mov dword [ebp - 0x120], edx
mov dword [ebp - 0x124], edx
mov dword [ebp - 0x118], edx
mov dword [ebp - 0x11c], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404b6c
xor eax, eax
push ebp
push 0x4737a2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
push 0xb
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.0046a070
lea eax, [ebp - 0x111]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
lea eax, [ebp - 0xc]
lea edx, [ebp - 0x111]
mov ecx, 0x105
call fcn.0040492c
cmp dword [ebp - 0xc], 0
je 0x473774
mov eax, dword [ebp - 0xc]
call fcn.0040497c
mov edx, dword [ebp - 0xc]
cmp byte [edx + eax - 1], 0x5c
je 0x473683
lea eax, [ebp - 0xc]
mov edx, 0x4737b8
call fcn.00404984
push dword [ebp - 0xc]
push 0x4737c4
push dword [ebp - 4]
push 0x4737b8
lea eax, [ebp - 0xc]
mov edx, 4
call fcn.00404a3c
push dword [ebp - 0xc]
lea edx, [ebp - 0x11c]
mov eax, 0x4737d8
call fcn.00464620
push dword [ebp - 0x11c]
push 0x4737e8
push dword [ebp - 4]
push 0x4737f4
lea eax, [ebp - 0x118]
mov edx, 5
call fcn.00404a3c
mov eax, dword [ebp - 0x118]
call fcn.00409240
push dword [ebp - 0xc]
lea edx, [ebp - 0x124]
mov eax, 0x473804
call fcn.00464620
push dword [ebp - 0x124]
push 0x4737f4
lea eax, [ebp - 0x120]
mov edx, 3
call fcn.00404a3c
mov eax, dword [ebp - 0x120]
call fcn.00409240
push dword [ebp - 0xc]
lea edx, [ebp - 0x12c]
mov eax, 0x473814
call fcn.00464620
push dword [ebp - 0x12c]
push 0x4737e8
push dword [ebp - 4]
push 0x4737f4
lea eax, [ebp - 0x128]
mov edx, 5
call fcn.00404a3c
mov eax, dword [ebp - 0x128]
call fcn.00409240
lea edx, [ebp - 0x130]
mov eax, dword [ebp - 0xc]
call fcn.004093a0
mov eax, dword [ebp - 0x130]
call fcn.0040960c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4737a9
lea eax, [ebp - 0x130]
mov edx, 7
call fcn.004046e0
lea eax, [ebp - 0xc]
call fcn.004046bc
lea eax, [ebp - 4]
call fcn.004046bc
ret

Function at 0x475be8
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
xor eax, eax
push ebp
push 0x475c6e
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, 2
call fcn.00402c44
mov eax, dword [ebp - 4]
call fcn.00404b7c
mov edx, eax
lea eax, [ebp - 8]
call fcn.004048b4
mov eax, dword [ebp - 8]
call fcn.00409240
mov eax, dword [ebp - 4]
call fcn.00409030
test al, al
jne 0x475c0c
push 4
push 0
lea edx, [ebp - 0xc]
mov eax, dword [0x47835c]
mov eax, dword [eax]
call fcn.00462544
mov eax, dword [ebp - 0xc]
call fcn.00404b7c
push eax
call sub.KERNEL32.DLL_MoveFileExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x475c75
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004046e0
ret