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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x73c9dd
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x8312b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x7eb5a0
call fcn.00473d80
test al, al
jne 0x4783d1
xor al, al
jmp 0x478661
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0070dcd0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x25
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x4783ca
xor bl, bl
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x230]
push 0xc
xor eax, eax
mov dword [ebp - 0x220], 0
push 0x7eb60c
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.0044bdc0
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x23c]
call fcn.0044c580
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], bl
call fcn.0044bf40
push 0xc
xor eax, eax
mov dword [ebp - 0x220], 0
push 0x7eb628
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.0044bdc0
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x23c]
call fcn.0044c580
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], bl
call fcn.0044bf40
push 0xa
xor eax, eax
mov dword [ebp - 0x220], 0
push 0x7eb644
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.0044bdc0
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x23c]
call fcn.0044c580
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], bl
call fcn.0044bf40
push 0xb
xor eax, eax
mov dword [ebp - 0x220], 0
push 0x7eb65c
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.0044bdc0
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x23c]
call fcn.0044c580
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], bl
call fcn.0044bf40
xor eax, eax
mov dword [ebp - 0x220], 0
push 0xb
mov dword [ebp - 0x21c], 7
lea ecx, [ebp - 0x230]
mov word [ebp - 0x230], ax
push 0x7eb674
call fcn.0044bdc0
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x23c]
call fcn.0044c580
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], bl
call fcn.0044bf40
push 0xc
xor eax, eax
mov dword [ebp - 0x220], 0
push 0x7eb68c
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.0044bdc0
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x23c]
call fcn.0044c580
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], bl
call fcn.0044bf40
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00473a70
test al, al
je 0x478654
push 0x7eb6a8
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov edx, 0x7eb6c0
lea ecx, [ebp - 0x218]
call fcn.00461e90
mov bl, al
lea ecx, [ebp - 0x23c]
call fcn.004635a0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006f4f1e
mov esp, ebp
pop ebp
ret
Function at 0x4790e0
Capabilities:
Get common file path
Get program files directory
Get startup folder
Query or enumerate registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x73caab
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x24c
mov eax, dword [0x8312b0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x240]
mov byte [ebp - 0x23c], 0
push eax
push 1
push 0
push str.SOFTWAREAGEIA_Technologies
xorps xmm0, xmm0
mov dword [ebp - 0x240], 0
push reloc.OLEAUT32.dll_SysReAllocString
movups xmmword [ebp - 0x25c], xmm0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x47930a
mov dword [ebp - 0x248], eax
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x248]
mov dword [ebp - 0x24c], 4
push eax
lea eax, [ebp - 0x24c]
mov dword [ebp - 0x244], 4
push eax
push 0
push str.PhysX_Version
push dword [ebp - 0x240]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4792f9
push 0x208
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.0070dcd0
add esp, 0xc
mov dword [ebp - 0x228], 0
xor eax, eax
mov dword [ebp - 0x224], 7
lea ecx, [ebp - 0x238]
mov word [ebp - 0x238], ax
push 0xf
push str.PhysXLoader.dll
call fcn.0044bdc0
push 0
push 0x26
lea eax, [ebp - 0x220]
mov dword [ebp - 4], 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.NVIDIA_CorporationPhysXCommonPhysXLoader.dll
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x220]
call fcn.00461b90
test al, al
je 0x479288
lea edx, [ebp - 0x25c]
lea ecx, [ebp - 0x220]
call fcn.004623e0
test al, al
je 0x479269
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x479245
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x238]
call fcn.0044bdc0
jmp 0x479288
cmp dword [ebp - 0x224], 8
lea ecx, [ebp - 0x238]
lea edx, [ebp - 0x25c]
cmovae ecx, dword [ebp - 0x238]
call fcn.004623e0
cmp dword [ebp - 0x25c], 0
jle 0x4792ee
push 1
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
cmp dword [ebp - 0x224], 8
lea eax, [ebp - 0x238]
cmovae eax, dword [ebp - 0x238]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x4792e6
push str.NxCreatePhysicsSDK
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x23c]
test eax, eax
movzx ecx, cl
mov edx, 1
cmovne ecx, edx
push esi
mov dword [ebp - 0x23c], ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
lea ecx, [ebp - 0x238]
call fcn.0044bf40
mov eax, dword [ebp - 0x240]
test eax, eax
je 0x47930a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [ebp - 0x23c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.006f4f1e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x479330
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x73caeb
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x8312b0]
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
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x228]
mov esi, dword [ebp + 0x14]
xor bl, bl
mov edi, dword [ebp + 0x10]
push eax
movzx eax, byte [ebp + 0xc]
shl eax, 8
inc eax
mov dword [ebp - 0x228], 0
push eax
push 0
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esi], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x479504
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x224], 4
push eax
lea eax, [ebp - 0x224]
mov dword [ebp - 0x220], 4
push eax
push 0
push str.Install
push dword [ebp - 0x228]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4794f3
test edi, edi
je 0x47948f
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0070dcd0
add esp, 0xc
mov dword [ebp - 0x220], 0x104
lea eax, [ebp - 0x220]
mov dword [ebp - 0x224], 1
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x224]
push eax
push 0
push str.Version
push dword [ebp - 0x228]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4794a1
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x22c], esp
push edi
call fcn.0044c260
sub esp, 0x18
mov dword [ebp - 4], 0
lea eax, [ebp - 0x218]
mov ecx, esp
push eax
call fcn.0044c260
mov dword [ebp - 4], 0xffffffff
call fcn.00462230
add esp, 0x30
test eax, eax
js 0x4794a1
cmp dword [ebp - 0x21c], 0
je 0x4794a1
mov bl, 1
jmp 0x4794a1
cmp dword [ebp - 0x21c], 0
mov eax, 1
movzx ebx, bl
cmovne ebx, eax
lea eax, [ebp - 0x220]
mov dword [ebp - 0x224], 4
push eax
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0
push eax
lea eax, [ebp - 0x224]
mov dword [ebp - 0x220], 4
push eax
push 0
push 0x7ebc64
push dword [ebp - 0x228]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4794f3
mov ecx, dword [ebp - 0x21c]
mov dword [esi], ecx
mov eax, dword [ebp - 0x228]
test eax, eax
je 0x479504
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
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.006f4f1e
mov esp, ebp
pop ebp
ret 0x10
Function at 0x479530
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa30
mov eax, dword [0x8312b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0xa14]
push ebx
push edi
mov edi, dword [ebp + 0xc]
xorps xmm0, xmm0
push ecx
push 1
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
xor bl, bl
mov dword [ebp - 0xa14], 0
movups xmmword [ebp - 0xa30], xmm0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x479695
push 0x800
push eax
lea eax, [ebp - 0xa10]
push eax
call fcn.0070dcd0
add esp, 0xc
mov dword [ebp - 0xa18], 0x400
lea eax, [ebp - 0xa18]
mov dword [ebp - 0xa1c], 1
push eax
lea eax, [ebp - 0xa10]
push eax
lea eax, [ebp - 0xa1c]
push eax
push 0
push str.NativeLibraryPath
push dword [ebp - 0xa14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x479695
push edi
lea eax, [ebp - 0xa10]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0xa10]
call fcn.00461b90
test al, al
je 0x479695
push 0x208
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.0070dcd0
add esp, 0xc
mov dword [ebp - 0xa18], 0x104
lea eax, [ebp - 0xa18]
mov dword [ebp - 0xa1c], 1
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0xa1c]
push eax
push 0
push 0x7ec390
push dword [ebp - 0xa14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x479677
sub esp, 0x18
lea eax, [ebp - 0x210]
mov ecx, esp
push eax
call fcn.0044c260
lea ecx, [ebp - 0xa30]
call fcn.00462480
add esp, 0x18
test al, al
je 0x479677
mov bl, 1
jmp 0x479695
lea edx, [ebp - 0xa30]
lea ecx, [ebp - 0xa10]
call fcn.004623e0
test al, al
movzx ebx, bl
mov ecx, 1
cmovne ebx, ecx
mov eax, dword [ebp - 0xa14]
test eax, eax
je 0x4796a6
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
xor ecx, ebp
pop ebx
call fcn.006f4f1e
mov esp, ebp
pop ebp
ret 8
Function at 0x47b300
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x8312b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, edx
mov ebx, ecx
push edi
push 0
push 0xf
mov eax, dword [esi]
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x47b3ce
push 0x228
lea eax, [ebp - 0x22c]
push 0
push eax
call fcn.0070dcd0
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
lea eax, [ebp - 0x230]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x47b3c7
nop word [eax + eax]
lea eax, [ebp - 0x20c]
push str.ctfmon.exe
push eax
call fcn.00715821
add esp, 8
test eax, eax
je 0x47b3b5
cmp dword [ebp - 0x218], ebx
jne 0x47b3b5
mov ecx, dword [esi + 4]
cmp dword [esi + 8], ecx
je 0x47b3a6
mov eax, dword [ebp - 0x228]
mov dword [ecx], eax
add dword [esi + 4], 4
jmp 0x47b3b5
lea eax, [ebp - 0x228]
push eax
push ecx
mov ecx, esi
call fcn.0045c140
lea eax, [ebp - 0x230]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x47b370
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006f4f1e
mov esp, ebp
pop ebp
ret

Function at 0x47b3e0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x8312b0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov eax, ecx
mov esi, edx
mov dword [ebp - 0x234], eax
cmp eax, esi
jne 0x47b413
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006f4f1e
mov esp, ebp
pop ebp
ret
push ebx
push edi
push 0
push 2
xor bl, bl
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x47b4a0
push 0x228
lea eax, [ebp - 0x22c]
push 0
push eax
call fcn.0070dcd0
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
lea eax, [ebp - 0x230]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x47b499
nop word [eax + eax]
mov dword [ebp - 0x228], esi
test esi, esi
jne 0x47b47e
lea eax, [ebp - 0x230]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x47b460
jmp 0x47b499
mov edx, dword [ebp - 0x218]
mov ecx, dword [ebp - 0x234]
cmp edx, ecx
jne 0x47b492
mov bl, 1
jmp 0x47b499
call fcn.0047b3e0
mov bl, al
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop ebx
xor ecx, ebp
pop esi
call fcn.006f4f1e
mov esp, ebp
pop ebp
ret
Function at 0x47b7f0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x73ccb8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x8312b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea edx, [ebp - 0x1c]
mov dword [ebp - 4], 0
call fcn.0047b300
mov ebx, dword [ebp - 0x18]
xor esi, esi
mov edi, dword [ebp - 0x1c]
sub ebx, edi
sar ebx, 2
test ebx, ebx
je 0x47b85f
mov ecx, dword [edi + esi*4]
call fcn.0047b7f0
inc esi
cmp esi, ebx
jb 0x47b852
push dword [ebp - 0x10]
push 0
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x47b889
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x47b88b
xor ebx, ebx
test edi, edi
je 0x47b8bb
mov ecx, dword [ebp - 0x14]
mov eax, edi
sub ecx, edi
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x47b8b1
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47b8cf
push ecx
push edi
call fcn.006f4f2f
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00710a9c
int3
Function at 0x491fc0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 8], esi
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 3]
imul ecx, edx, 0x1000193
mov edx, dword [esi + 0xc]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [esi + 0x18]
mov esi, dword [esi + 4]
and ecx, eax
mov ebx, dword [edx + ecx*8]
mov eax, ebx
lea edx, [edx + ecx*8]
cmp ebx, esi
jne 0x49201e
mov ecx, esi
jmp 0x492023
mov ecx, dword [edx + 4]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x492036
mov ecx, dword [eax + 8]
cmp ecx, dword [edi]
je 0x492032
mov eax, dword [eax]
jmp 0x492016
cmp eax, esi
jne 0x492080
mov esi, dword [esi]
lea eax, [ebp + 8]
push ecx
push eax
push ecx
mov dword [ebp + 8], edi
mov edi, dword [esi + 4]
push edi
push esi
call fcn.004939f0
mov ebx, dword [ebp - 8]
mov edx, eax
mov ecx, 0xccccccb
mov eax, dword [ebx + 8]
sub ecx, eax
cmp ecx, 1
jb 0x49208c
inc eax
mov ecx, ebx
mov dword [ebx + 8], eax
mov dword [esi + 4], edx
mov dword [edi], edx
mov eax, dword [ebx + 4]
mov eax, dword [eax]
push eax
add eax, 8
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00493440
mov eax, dword [ebp - 0xc]
pop edi
pop esi
add eax, 0xc
pop ebx
mov esp, ebp
pop ebp
ret 4
push str.list_T__too_long
call fcn.005176f0
int3
Function at 0x493a90
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
movzx edx, byte [eax + 8]
movzx ecx, byte [eax + 0xa]
xor edx, 0x811c9dc5
imul esi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor esi, edx
imul edx, esi, 0x1000193
xor edx, ecx
movzx ecx, byte [eax + 0xb]
imul edx, edx, 0x1000193
xor edx, ecx
imul ecx, edx, 0x1000193
mov edx, dword [edi + 0x18]
and edx, ecx
lea esi, [edx*8]
mov edx, dword [edi + 0xc]
add edx, esi
mov ecx, dword [edx]
cmp dword [edx + 4], eax
jne 0x493b03
cmp ecx, eax
jne 0x493afb
mov ecx, dword [edi + 4]
mov dword [edx], ecx
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 4]
mov dword [esi + edx + 4], ecx
jmp 0x493b0b
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
jmp 0x493b0b
cmp ecx, eax
jne 0x493b0b
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov esi, dword [eax]
push eax
mov dword [ecx], esi
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
dec dword [edi + 8]
call fcn.00493830
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
pop esi
pop ebp
ret 8

Function at 0x494d30
Capabilities:
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x73ea28
mov eax, dword fs:[0]
push eax
sub esp, 0x804
mov eax, dword [0x8312b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov bl, cl
push 0x800
lea eax, [ebp - 0x810]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.0070dcd0
add esp, 0xc
lea eax, [ebp + 8]
test bl, bl
je 0x494d8a
push str._classic_DBGHELP.DLL
jmp 0x494d8f
push str._retail_DBGHELP.DLL
cmp dword [ebp + 0x1c], 8
cmovae eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x810]
call fcn.00461b90
test al, al
je 0x494df3
lea eax, [ebp - 0x810]
mov esi, 3
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 1
je 0x494ddb
and eax, 0xfffffffe
push eax
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x494df8
mov esi, 1
jmp 0x494df8
mov esi, 2
lea ecx, [ebp + 8]
call fcn.0044bf40
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006f4f1e
mov esp, ebp
pop ebp
ret
Function at 0x494e20
Capabilities:
Create process on windows
Get token membership

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x73ea5b
mov eax, dword fs:[0]
push eax
sub esp, 0x868
mov eax, dword [0x8312b0]
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
mov edi, ecx
xor bl, bl
call fcn.00461b90
test al, al
je 0x495053
push 4
xor eax, eax
mov dword [ebp - 0x820], 0
push 0x7f0ff8
lea ecx, [ebp - 0x830]
mov dword [ebp - 0x81c], 7
mov word [ebp - 0x830], ax
call fcn.0044bdc0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x838]
lea ecx, [ebp - 0x834]
mov dword [ebp - 0x834], 0
mov dword [ebp - 0x838], 0
call fcn.00462f30
cmp dword [ebp - 0x834], 5
jbe 0x494f58
push 5
push 0x7f1004
lea ecx, [ebp - 0x830]
call fcn.0044bdc0
lea eax, [ebp - 0x834]
mov dword [ebp - 0x818], 0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x818]
mov word [ebp - 0x814], 0x500
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [ebp - 0x838], eax
test eax, eax
je 0x494f58
lea eax, [ebp - 0x838]
push eax
push dword [ebp - 0x834]
push 0
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
push dword [ebp - 0x834]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
test esi, esi
je 0x494f58
push 4
push 0x7f1010
lea ecx, [ebp - 0x830]
call fcn.0044bdc0
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.0070dcd0
push edi
lea eax, [ebp - 0x810]
push str._online__add_package__packagepath:__s_
push eax
call fcn.0047d680
xorps xmm0, xmm0
mov dword [ebp - 0x874], 0x3c
add esp, 0x18
movlpd qword [ebp - 0x870], xmm0
cmp dword [ebp - 0x81c], 8
lea esi, [ebp - 0x830]
movlpd qword [ebp - 0x868], xmm0
cmovae esi, dword [ebp - 0x830]
movlpd qword [ebp - 0x860], xmm0
movlpd qword [ebp - 0x858], xmm0
movlpd qword [ebp - 0x850], xmm0
movlpd qword [ebp - 0x848], xmm0
movlpd qword [ebp - 0x840], xmm0
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov dword [ebp - 0x86c], eax
lea eax, [ebp - 0x810]
mov dword [ebp - 0x860], eax
lea eax, [ebp - 0x874]
push eax
mov dword [ebp - 0x868], esi
mov dword [ebp - 0x864], str.dism
mov dword [ebp - 0x85c], 0
mov dword [ebp - 0x858], 0
mov dword [ebp - 0x83c], 0
mov dword [ebp - 0x870], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x495046
cmp dword [ebp - 0x854], 0x20
seta bl
jmp 0x495048
xor bl, bl
lea ecx, [ebp - 0x830]
call fcn.0044bf40
mov al, bl
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.006f4f1e
mov esp, ebp
pop ebp
ret
Function at 0x4953f0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa5c
mov eax, dword [0x8312b0]
xor eax, esp
mov dword [esp + 0xa58], eax
push ebx
push esi
push edi
push 0x800
xor esi, esi
lea eax, [esp + 0x264]
push esi
push eax
mov edi, ecx
call fcn.0070dcd0
add esp, 0xc
lea eax, [esp + 0x260]
push 0x7f10a0
push edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x264]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x495474
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
nop dword [eax + eax]
lea eax, [esp + 0x10]
inc esi
push eax
push edi
call ebx
test eax, eax
jne 0x495460
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0xa64]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.006f4f1e
mov esp, ebp
pop ebp
ret
Function at 0x49a670
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x73f510
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x8312b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
mov cl, 1
mov ebx, dword [eax]
mov edi, ebx
mov byte [ebp - 0x14], cl
mov edx, dword [edi + 4]
cmp byte [edx + 0xd], 0
jne 0x49a6dd
mov eax, dword [ebp + 0x10]
mov esi, dword [eax]
nop
cmp esi, dword [edx + 0x10]
mov edi, edx
setl cl
mov byte [ebp - 0x14], cl
jge 0x49a6d1
mov edx, dword [edx]
jmp 0x49a6d4
mov edx, dword [edx + 8]
cmp byte [edx + 0xd], 0
je 0x49a6c0
mov eax, dword [ebp - 0x18]
mov esi, edi
test cl, cl
je 0x49a77b
cmp edi, dword [ebx]
jne 0x49a71c
push dword [ebp + 0x14]
push ecx
push edi
lea ecx, [ebp + 0x10]
push 1
push ecx
mov ecx, eax
call fcn.0049a880
mov ecx, dword [eax]
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp byte [edi + 0xd], 0
je 0x49a727
mov esi, dword [edi + 8]
jmp 0x49a77b
mov eax, dword [edi]
cmp byte [eax + 0xd], 0
je 0x49a75d
mov eax, dword [edi + 4]
cmp byte [eax + 0xd], 0
jne 0x49a753
mov ecx, edi
nop word [eax + eax]
mov edx, eax
cmp ecx, dword [eax]
jne 0x49a753
mov esi, eax
mov ecx, edx
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x49a740
cmp byte [esi + 0xd], 0
jne 0x49a77b
mov esi, eax
jmp 0x49a77b
mov esi, eax
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x49a77b
nop dword [eax + eax]
mov esi, eax
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x49a770
mov ecx, dword [ebp + 0x10]
mov eax, dword [esi + 0x10]
cmp eax, dword [ecx]
jge 0x49a799
push dword [ebp + 0x14]
lea eax, [ebp + 0x10]
push ecx
mov ecx, dword [ebp - 0x18]
push edi
push dword [ebp - 0x14]
push eax
jmp 0x49a6f8
mov ebx, dword [ebp + 0x14]
lea ecx, [ebx + 0x78]
call fcn.0044bf40
lea ecx, [ebx + 0x60]
call fcn.0044bf40
lea ecx, [ebx + 0x48]
call fcn.0044bf40
lea ecx, [ebx + 0x30]
call fcn.0044bf40
lea ecx, [ebx + 0x18]
call fcn.0044bf40
push 0x94
push ebx
call fcn.006f4f2f
mov eax, dword [ebp + 8]
add esp, 8
mov dword [eax], esi
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10