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

Disassembly:
push 0x4a8
mov eax, 0x4e4bac
call fcn.00491416
mov edi, ecx
mov eax, dword [ebp + 8]
xor esi, esi
cmp dword [edi + 0x10], esi
jne 0x48f677
xor eax, eax
jmp 0x48f808
lea ecx, [ebp - 0x2a4]
push 3
mov dword [ebp - 0x2a8], ecx
lea ecx, [ebp - 0x2a8]
push eax
call fcn.0044f830
mov ebx, 0x104
mov dword [ebp - 4], esi
push ebx
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.00496490
push ebx
lea eax, [ebp - 0x114]
push esi
push eax
call fcn.00496490
add esp, 0x18
push dword [ebp - 0x2a8]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
push eax
push ebx
lea eax, [ebp - 0x218]
push eax
call fcn.0048f5b5
push dword [ebp - 0x2a8]
lea eax, [ebp - 0x114]
push ebx
push eax
call fcn.0048f5b5
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
push 0x508d00
push ebx
lea eax, [ebp - 0x114]
push eax
call fcn.0046e0e0
lea eax, [ebp - 0x224]
push eax
push 0xffffffffffffffff
push 0x48f859
push 0x48f83e
push 0x48f862
push 0x48f850
push 0x48f847
push 0x48f86b
push fcn.0047e380
call dword [edi + 4]
mov ebx, eax
add esp, 0x24
test ebx, ebx
je 0x48f7ec
push 0x108
lea eax, [ebp - 0x4b4]
push esi
push eax
call fcn.00496490
lea eax, [ebp - 0x4b4]
push eax
push esi
push 0x48f870
push esi
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x218]
push eax
push ebx
call dword [edi + 8]
push ebx
call dword [edi + 0xc]
add esp, 0x2c
lea eax, [ebp - 0x4b0]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x48f7ec
cmp dword [ebp - 0x4b4], 0
je 0x48f7df
lea eax, [ebp - 0x3a8]
mov dword [ebp - 0x3ac], eax
lea ecx, [ebp - 0x3ac]
push 3
lea eax, [ebp - 0x4b0]
push eax
call fcn.0044f920
push dword [ebp - 0x3ac]
mov byte [ebp - 4], 1
call fcn.0048c45d
mov esi, eax
lea eax, [ebp - 0x3a8]
pop ecx
cmp dword [ebp - 0x3ac], eax
je 0x48f7df
push dword [ebp - 0x3ac]
call fcn.004a2e5c
pop ecx
lea eax, [ebp - 0x4b0]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x2a4]
cmp dword [ebp - 0x2a8], eax
je 0x48f806
push dword [ebp - 0x2a8]
call fcn.004a2e5c
pop ecx
mov eax, esi
call fcn.004913d1
ret 4
Function at 0x48fba0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e4c48
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x527064]
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 + 0x10]
mov eax, ecx
mov ebx, dword [ebp + 8]
mov edi, ecx
xor edi, 8
and al, 8
cmove edi, ecx
test ebx, ebx
jne 0x48fbe8
xor eax, eax
jmp 0x48fc76
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
push eax
push 0
push 0
push 0x50da94
call sub.SHELL32.dll_SHGetKnownFolderPath
mov esi, dword [ebp - 0x2c]
mov dword [ebp - 0x30], esi
mov dword [ebp - 4], 0
test eax, eax
jns 0x48fc16
xor edi, edi
jmp 0x48fc69
push ebx
push esi
lea eax, [ebp - 0x28]
push 0x4fe7d4
push eax
call fcn.004847e0
add esp, 0x10
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push edi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ecx, dword [ebp - 0x14]
mov edi, eax
cmp ecx, 8
jb 0x48fc55
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.004091c0
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
test esi, esi
je 0x48fc74
push esi
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, edi
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.004908ad
mov esp, ebp
pop ebp
ret
Function at 0x4b14e5
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004b11a4

Function at 0x4b14f0
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004b1327

Function at 0x4b31c1
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004b2e4a

Function at 0x4ba739
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x4d1240
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
mov esi, ecx
lea ecx, [ebp + 8]
mov dword [ebp - 4], esi
call fcn.004d0630
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x14]
push ebx
push dword [edi]
push dword [ebp + 0x10]
push 0
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
cmp esi, 0xea
jne 0x4d12b1
push dword [edi]
call fcn.0047e390
mov dword [edi], 0
push 0x4ea13c
push dword [ebx]
call fcn.0049157d
add esp, 0xc
mov dword [edi], eax
push ebx
push eax
push dword [ebp + 0x10]
mov eax, dword [ebp - 4]
push 0
push dword [ebp + 8]
push dword [eax + 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
mov edx, dword [ebp + 8]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4d12cc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4d12e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e5fb0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x527064]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4d142a
mov ebx, dword [ebp + 0x14]
cmp ebx, 1
jb 0x4d142a
xor esi, esi
mov dword [ebp - 0x10], 0
mov dword [ebp + 0x14], esi
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], esi
cmp ecx, 1
jne 0x4d137f
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp + 0x14]
push ecx
push ebx
push eax
mov ecx, edx
call fcn.004d0b90
mov ebx, eax
test ebx, ebx
jne 0x4d139b
mov esi, dword [ebp + 0x14]
mov ebx, dword [ebp - 0x10]
mov dword [ebp + 0x10], esi
lea eax, [ebx + 0x20]
push eax
mov dword [ebp - 0x10], eax
call fcn.0047e380
mov edi, eax
add esp, 4
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 1
test edi, edi
jne 0x4d13bd
lea ebx, [eax + 8]
jmp 0x4d1402
cmp ecx, 7
jne 0x4d135b
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp + 0x14]
push ecx
push ebx
push eax
mov ecx, edx
call fcn.004d09d0
mov ebx, eax
test ebx, ebx
je 0x4d1352
mov esi, dword [ebp + 0x14]
push esi
call fcn.0047e390
add esp, 4
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 0x10
mov ecx, dword [ebp - 0x14]
lea eax, [ebx + 0x20]
push eax
push edi
push dword [ebp + 0xc]
push ebx
push dword [ebp + 0x10]
call fcn.004d0e60
mov ebx, eax
test ebx, ebx
jne 0x4d1402
push dword [ebp + 8]
lea ecx, [ebp + 0x10]
call fcn.004d0630
push dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
push edi
push 3
push ebx
push dword [ebp + 0x10]
push dword [eax + 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [ebp + 0x10]
mov ebx, eax
call fcn.0044f000
push edi
call fcn.0047e390
add esp, 4
push esi
call fcn.0047e390
add esp, 4
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 0x10
mov eax, 0x57
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

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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
je 0x4d173c
xor ecx, ecx
cmp cx, word [eax]
je 0x4d173c
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4d1738
test al, 0x10
je 0x4d1738
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret
xor al, al
pop ebp
ret
Function at 0x4d19c0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e6086
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x527064]
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 esi, dword [ebp + 8]
cmp dword [esi + 0x14], 8
jb 0x4d19f8
mov eax, dword [esi]
jmp 0x4d19fa
mov eax, esi
push eax
call fcn.004d1710
add esp, 4
test al, al
je 0x4d1a0e
xor eax, eax
jmp 0x4d1bbe
xor eax, eax
mov dword [ebp - 0x14], 7
push 0xffffffffffffffff
push eax
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00409030
push 4
push 0
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
xor bl, bl
call fcn.0043a2e0
cmp dword [eax + 0x14], 8
lea ecx, [eax + 0x10]
jb 0x4d1a51
mov eax, dword [eax]
push 4
push 0x4f7548
push dword [ecx]
push eax
call fcn.0043b2f0
mov ecx, dword [ebp - 0x2c]
add esp, 0x10
mov edi, eax
cmp ecx, 8
jb 0x4d1a7a
inc ecx
push ecx
push dword [ebp - 0x40]
lea ecx, [ebp - 0x40]
call fcn.004091c0
test edi, edi
jne 0x4d1ae3
push 0xffffffffffffffff
push 4
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
call fcn.0043a2e0
mov edi, eax
lea eax, [ebp - 0x28]
cmp eax, edi
je 0x4d1ac8
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4d1aab
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004091c0
xor eax, eax
mov dword [ebp - 0x14], 7
push edi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00409150
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 0
cmp eax, 8
jb 0x4d1ae1
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.004091c0
mov bl, 1
push 1
push 0
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x5c], 0x5c
push eax
lea ecx, [ebp - 0x28]
call fcn.00445530
mov edi, eax
cmp edi, 0xffffffff
je 0x4d1ba5
push 1
push 0xffffffffffffffff
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x5c], 0x5c
push eax
lea ecx, [ebp - 0x28]
call fcn.0043b3c0
cmp eax, 0xffffffff
je 0x4d1ba5
cmp edi, eax
je 0x4d1b80
push eax
push 0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.0043a2e0
mov byte [ebp - 4], 2
test bl, bl
je 0x4d1b66
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x58]
push 0x4f7548
push eax
call fcn.0047ced0
add esp, 0xc
lea ecx, [ebp - 0x40]
push eax
call fcn.0043a3c0
lea ecx, [ebp - 0x58]
call fcn.00408d60
lea eax, [ebp - 0x40]
push eax
call fcn.004d19c0
add esp, 4
lea ecx, [ebp - 0x40]
mov edi, eax
call fcn.00408d60
test edi, edi
jne 0x4d1ba7
cmp dword [esi + 0x14], 8
jb 0x4d1b88
mov esi, dword [esi]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4d1ba5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 0xb7
jne 0x4d1ba7
xor edi, edi
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x4d1bbc
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.004091c0
mov eax, edi
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.004908ad
mov esp, ebp
pop ebp
ret
Function at 0x4d1be0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e60b8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x527064]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], 0
call fcn.00407e90
mov ecx, eax
test ecx, ecx
jne 0x4d1c24
push 0x80004005
call fcn.00406c60
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
xor edi, edi
mov dword [ebp - 4], 0
nop
lea edx, [edi + 1]
test edx, edx
js 0x4d1cbd
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x4d1c64
push edx
lea ecx, [ebp - 0x10]
call fcn.004503e0
mov esi, dword [ebp - 0x10]
cmp dword [esi - 4], 1
jle 0x4d1c78
push dword [esi - 0xc]
lea ecx, [ebp - 0x10]
call fcn.004506e0
mov esi, dword [ebp - 0x10]
push esi
push dword [esi - 8]
call ebx
mov edi, eax
test edi, edi
je 0x4d1cc7
push dword [esi - 8]
push esi
call fcn.004a65b9
add esp, 8
test eax, eax
js 0x4d1cbd
cmp eax, dword [esi - 8]
jg 0x4d1cbd
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
cmp edi, dword [esi - 0xc]
ja 0x4d1c40
add esi, 0xfffffff0
push esi
call fcn.00450370
mov edi, dword [ebp + 8]
add esp, 4
add eax, 0x10
mov dword [edi], eax
jmp 0x4d1cd9
push 0x80070057
call fcn.00406c60
mov edi, dword [ebp + 8]
mov ecx, edi
push 0x4f7ee0
call fcn.004867b0
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4d1cf5
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
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

Function at 0x4d4490
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e65e8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x527064]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00407e90
mov ecx, eax
test ecx, ecx
jne 0x4d44c9
push 0x80004005
call fcn.00406c60
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], 0
sub ecx, 0
je 0x4d4523
mov esi, dword [ebp + 0x18]
lea eax, [ebp - 0x10]
push esi
push dword [ebp + 0x10]
push dword [ebp + 0x14]
push dword [ebp + 0xc]
sub ecx, 1
je 0x4d450b
sub ecx, 1
je 0x4d4504
push str._s__d_:__UNKNOWN_:___s_:__s_n
jmp 0x4d4510
push str._s__d_:__ERROR_:___s_:__s_n
jmp 0x4d4510
push 0x4f7578
push eax
call fcn.00486600
add esp, 0x18
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp - 0x10]
lea edx, [eax - 0x10]
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4d4542
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4d45f0
Capabilities:
Delete registry key

Disassembly:
mov dword [ecx], vtable.CoreTech::internal::CRegKeyImpl.0
jmp fcn.004d4620

Function at 0x4d4620
Capabilities:
Delete registry key

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x4d4659
cmp byte [esi + 0xc], 0
je 0x4d4640
push 0x4f7ee0
push eax
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov byte [esi + 0xc], 0
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esi + 4], 0
mov dword [esi + 8], 0
pop esi
ret
xor eax, eax
mov dword [esi + 8], eax
pop esi
ret

Function at 0x4d52f0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x527064]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push eax
push dword [ebp + 0xc]
mov dword [ebp - 0x214], ecx
push ebx
mov dword [ebp - 0x210], eax
call dword [sym.imp.ADVAPI32.dll_RegSetKeySecurity]
cmp dword [ebp + 0x14], 0
je 0x4d5400
test eax, eax
jne 0x4d5400
push edi
xor edi, edi
push esi
nop word [eax + eax]
push 0x200
lea eax, [ebp - 0x204]
push 0
push eax
call fcn.00496490
add esp, 0xc
mov dword [ebp - 0x20c], 0x100
lea eax, [ebp - 0x20c]
push 0
push 0
push 0
push 0
push eax
lea eax, [ebp - 0x204]
push eax
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov esi, eax
test esi, esi
jne 0x4d53d6
mov dword [ebp - 0x208], eax
lea eax, [ebp - 0x208]
push eax
push 0xf003f
push esi
lea eax, [ebp - 0x204]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4d53de
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x214]
push dword [ebp - 0x210]
push dword [ebp + 0xc]
push dword [ebp - 0x208]
call fcn.004d52f0
push dword [ebp - 0x208]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4d53de
cmp esi, 0x103
je 0x4d53fc
inc edi
test esi, esi
je 0x4d5340
mov eax, esi
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004908ad
mov esp, ebp
pop ebp
ret 0x10
pop esi
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004908ad
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1000d430
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001db47
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x1002a008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x30
call fcn.1001b77c
mov esi, eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 4], 0
push 0x30
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
mov dword [esi], vtable.RC::DmAvCore::IAvTaskPool.0
mov byte [ebp - 4], 1
lea eax, [esi + 0x24]
mov dword [esi], vtable.RC::DmAvCore::RCImplTaskPool.0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0x14], 0x1000
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 1
mov dword [esi + 0x20], 0
mov dword [eax], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [ebp - 4], 0xffffffff
push 0
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x20], eax
test eax, eax
je 0x1000d5a6
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
push str.kernel32.dll
movups xmmword [ebp - 0x34], xmm0
movups xmmword [ebp - 0x24], xmm0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1000d538
push str.GetNativeSystemInfo
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000d538
lea ecx, [ebp - 0x34]
push ecx
call eax
mov eax, dword [ebp - 0x20]
cmp eax, 0xff
jae 0x1000d538
test eax, eax
jne 0x1000d545
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x20]
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x1c], eax
call fcn.1000cfa0
mov dword [esi + 4], eax
test eax, eax
je 0x1000d5a6
mov ecx, 0x20
call fcn.1000cfa0
mov dword [esi + 8], eax
test eax, eax
je 0x1000d5a6
mov ecx, 0x20
call fcn.1000d2b0
mov dword [esi + 0xc], eax
test eax, eax
je 0x1000d5a6
mov edx, dword [eax]
mov ecx, eax
push esi
push 0x1000f340
call dword [edx + 4]
mov ecx, dword [esi + 0x14]
add ecx, ecx
call fcn.1000d2b0
mov dword [esi + 0x10], eax
test eax, eax
je 0x1000d5a6
mov edx, dword [eax]
mov ecx, eax
push 0
push 0
call dword [edx + 4]
mov eax, esi
jmp 0x1000d5a8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001b76b
mov esp, ebp
pop ebp
ret
Function at 0x1000ecf0
Capabilities:
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ecx + 8]
push esi
push edi
test edx, edx
je 0x1000ed57
mov esi, dword [ebp + 8]
mov eax, esi
mov edi, dword [edx + 4]
shr eax, 0x10
dec edi
xor eax, esi
mov edx, dword [edx]
imul ecx, eax, 0x85ebca6b
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul ecx, eax, 0xc2b2ae35
mov eax, ecx
shr eax, 0x10
xor eax, ecx
and eax, edi
mov ecx, dword [edx + eax*8]
cmp ecx, esi
je 0x1000ed3e
nop
test ecx, ecx
je 0x1000ed57
inc eax
and eax, edi
mov ecx, dword [edx + eax*8]
cmp ecx, esi
jne 0x1000ed30
mov ecx, dword [edx + eax*8 + 4]
test ecx, ecx
je 0x1000ed57
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x1000ed4f
mov dword [eax], ecx
pop edi
mov al, 1
pop esi
pop ebp
ret 8
pop edi
xor al, al
pop esi
pop ebp
ret 8

Function at 0x1000ee40
Capabilities:
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ecx + 8]
test edi, edi
jne 0x1000ee52
xor al, al
pop edi
pop ebp
ret 8
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, esi
shr eax, 0x10
xor eax, esi
mov edx, dword [edi]
imul ecx, eax, 0x85ebca6b
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul eax, eax, 0xc2b2ae35
mov ecx, eax
shr ecx, 0x10
xor ecx, eax
mov eax, dword [edi + 4]
dec eax
and ecx, eax
mov eax, dword [edx + ecx*8]
mov dword [ebp + 8], ecx
lea ebx, [ecx*8]
cmp eax, esi
je 0x1000eedf
test eax, eax
je 0x1000ee9a
cmp eax, 0xffffffff
jne 0x1000eec4
add edx, ebx
mov ecx, esi
or eax, 0xffffffff
lock cmpxchg dword [edx], ecx
cmp eax, 0xffffffff
je 0x1000eedf
cmp eax, esi
je 0x1000eedf
mov edx, dword [edi]
mov ecx, esi
add edx, ebx
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x1000eedf
cmp eax, esi
je 0x1000eedf
mov edx, dword [edi]
mov eax, dword [ebp + 8]
mov ecx, dword [edi + 4]
inc eax
dec ecx
and eax, ecx
mov dword [ebp + 8], eax
lea ebx, [eax*8]
mov eax, dword [ebx + edx]
cmp eax, esi
jne 0x1000ee91
mov ecx, dword [edi]
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
pop esi
mov dword [ecx + ebx*8 + 4], eax
mov al, 1
pop ebx
pop edi
pop ebp
ret 8

Function at 0x1000f0a0
Capabilities:
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ecx + 8]
test edx, edx
je 0x1000f0f7
push esi
mov esi, dword [ebp + 8]
mov eax, esi
shr eax, 0x10
xor eax, esi
imul ecx, eax, 0x85ebca6b
push edi
mov edi, dword [edx + 4]
mov edx, dword [edx]
dec edi
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul ecx, eax, 0xc2b2ae35
mov eax, ecx
shr eax, 0x10
xor eax, ecx
and eax, edi
mov ecx, dword [edx + eax*8]
cmp ecx, esi
je 0x1000f0ee
nop
test ecx, ecx
je 0x1000f0f5
inc eax
and eax, edi
mov ecx, dword [edx + eax*8]
cmp ecx, esi
jne 0x1000f0e0
mov dword [edx + eax*8], 0xffffffff
pop edi
pop esi
pop ebp
ret 4
Function at 0x1000f820
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x1002a008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
mov dword [ebp - 8], 0
mov ecx, dword [ebp + 0xc]
push esi
xor esi, esi
push edi
mov dword [ebp - 0x10], esi
cmp dword [ebx + 0x24], esi
jne 0x1000f85b
mov edi, dword [ebp + 8]
cmp edi, 0xffffffff
je 0x1000f870
mov eax, dword [ebx + 0x18]
add eax, edi
cmp eax, 0x20
jbe 0x1000f889
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001b76b
mov esp, ebp
pop ebp
ret 0x14
mov edi, dword [ebx + 0x1c]
cmp edi, 1
ja 0x1000f87f
mov edi, 1
jmp 0x1000f889
cmp edi, 4
jbe 0x1000f888
shr edi, 1
jmp 0x1000f889
dec edi
cmp ecx, 3
mov eax, 1
cmovl eax, ecx
mov dword [ebp - 0x14], eax
test edi, edi
je 0x1000f992
nop
lea eax, [ebp - 8]
push eax
push 4
push ebx
push 0x1000fb20
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov dword [ebp - 0xc], eax
test eax, eax
je 0x1000f986
push 0x20
call fcn.1001b77c
mov esi, eax
xorps xmm0, xmm0
add esp, 4
movups xmmword [esi], xmm0
movups xmmword [esi + 0x10], xmm0
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x1000f8fc
mov eax, dword [ecx]
call dword [eax + 0xc]
test eax, eax
je 0x1000f8fc
push 0
push 1
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi], eax
jmp 0x1000f915
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi], eax
mov ecx, dword [ebx + 8]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0xc]
mov dword [esi + 4], eax
mov eax, dword [ebp - 8]
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x18], eax
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x10], eax
mov ecx, dword [ebx + 0xc]
push esi
push dword [ebp - 8]
mov eax, dword [ecx]
call dword [eax + 0x14]
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1000f97d
mov ecx, dword [ebx + 0x1c]
cmp ecx, 2
jbe 0x1000f95f
cmp eax, 1
je 0x1000f966
cmp ecx, 2
jb 0x1000f97d
cmp eax, 2
jne 0x1000f97d
mov eax, 2
shl eax, cl
sub eax, 2
push eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_SetThreadAffinityMask]
mov dword [esi + 0xc], eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
sub edi, 1
jne 0x1000f8a0
mov esi, dword [ebp - 0x10]
push esi
lea eax, [ebx + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
test esi, esi
je 0x1000f9ad
push 1
lea ecx, [ebx + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001b76b
mov esp, ebp
pop ebp
ret 0x14