joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c3d60
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53c228
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x5ac020]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
xor eax, eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], esi
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x2c]
push edx
mov dword [ebp - 0x2c], vtable.cafx::tstring_ex_wchar_t__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___.0
call fcn.004022e0
mov dword [ebp - 4], 1
push 1
push ecx
push 0x56c40c
lea ecx, [ebp - 0x28]
call fcn.00403b00
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00401b90
push 1
push ecx
push 0x56c40c
lea ecx, [ebp - 0x28]
call fcn.00403b80
lea ecx, [eax + 1]
cmp dword [ebp - 0x18], ecx
jae 0x4c3df7
push str.invalid_string_position
call fcn.004ffb7d
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], ecx
cmovae eax, dword [ebp - 0x28]
xor edx, edx
mov word [eax + ecx*2], dx
cmp dword [ebp - 0x18], edx
je 0x4c3e31
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push Ordinal_1
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
test eax, eax
mov ecx, 1
cmove esi, ecx
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x2c], vtable.cafx::tstring_ex_wchar_t__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___.0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], 8
jb 0x4c3e57
push dword [ebp - 0x28]
call fcn.0051d3d0
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, esi
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ffcef
mov esp, ebp
pop ebp
ret

Function at 0x4c3e90
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
lea eax, [ebp - 4]
mov edi, edx
push eax
push edi
xor esi, esi
push Ordinal_1
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x4c3f11
mov edx, dword [ebp + 8]
mov ecx, edx
push ebx
lea ebx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4c3ec0
sub ecx, ebx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0x56c344
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueW]
pop ebx
test eax, eax
jne 0x4c3f01
push dword [ebp - 4]
lea esi, [eax + 1]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, edi
call fcn.004c3d60
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4c44f0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x5ac020]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x4c4535
lea eax, [ebp - 0x214]
push eax
push 0x20019
push 0
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4c455e
cmp eax, 2
jne 0x4c454b
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ffcef
mov esp, ebp
pop ebp
ret
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ffcef
mov esp, ebp
pop ebp
ret
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp word [edi + eax*2 - 2], 0x5c
lea esi, [edi + eax*2]
je 0x4c4580
mov eax, 0x5c
mov word [esi], ax
add esi, 2
xor eax, eax
mov word [esi], ax
lea eax, [ebp - 0x220]
mov dword [ebp - 0x218], 0x104
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x210]
push eax
push 0
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x4c460b
push ecx
lea eax, [ebp - 0x210]
push eax
push ecx
mov ecx, esi
call fcn.004c3d10
mov edx, edi
mov ecx, ebx
call fcn.004c44f0
test eax, eax
je 0x4c460b
lea eax, [ebp - 0x220]
mov dword [ebp - 0x218], 0x104
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x210]
push eax
push 0
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x4c45b7
xor eax, eax
mov word [esi - 2], ax
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
mov ecx, 1
mov eax, 0
cmove eax, ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ffcef
mov esp, ebp
pop ebp
ret
Function at 0x4cf250
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
movzx eax, byte [edi + 8]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 9]
xor edx, eax
movzx eax, byte [edi + 0xa]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 0xb]
imul ecx, edx, 0x1000193
mov edx, dword [ebx + 0x14]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edx
and ecx, eax
cmp dword [ebx + 0x18], ecx
ja 0x4cf2a3
shr edx, 1
or eax, 0xffffffff
sub eax, edx
add ecx, eax
lea edx, [ecx*8]
mov ecx, dword [ebx + 8]
add ecx, edx
cmp dword [ecx + 4], edi
jne 0x4cf2cf
cmp dword [ecx], edi
jne 0x4cf2c7
mov eax, dword [ebx]
mov dword [ecx], eax
mov ecx, dword [ebx + 8]
mov eax, dword [ebx]
mov dword [ecx + edx + 4], eax
jmp 0x4cf2d7
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x4cf2d7
cmp dword [ecx], edi
jne 0x4cf2da
mov eax, dword [edi]
mov dword [ecx], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 4]
mov esi, dword [edi]
mov dword [eax], esi
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
lea ecx, [edi + 8]
dec dword [ebx + 4]
call fcn.004cfe90
push edi
call fcn.0051d3d0
mov eax, dword [ebp + 8]
add esp, 4
pop edi
mov dword [eax], esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4cf510
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
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 + 0x14]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edx
and ecx, eax
cmp dword [esi + 0x18], ecx
ja 0x4cf562
shr edx, 1
or eax, 0xffffffff
sub eax, edx
add ecx, eax
mov edx, dword [esi + 8]
mov esi, dword [esi]
mov eax, dword [edx + ecx*8]
add ecx, ecx
mov ebx, dword [edx + ecx*4]
lea edx, [edx + ecx*4]
cmp ebx, esi
jne 0x4cf57a
mov ecx, esi
jmp 0x4cf57f
mov ecx, dword [edx + 4]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x4cf5ac
mov ecx, dword [eax + 8]
cmp ecx, dword [edi]
je 0x4cf58e
mov eax, dword [eax]
jmp 0x4cf572
mov ecx, dword [edi]
cmp ecx, dword [eax + 8]
lea ecx, [ebp + 0xc]
mov dword [ebp + 0xc], esi
jne 0x4cf59e
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ecx]
pop edi
pop esi
mov dword [eax], ecx
pop ebx
pop ebp
ret 8
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x4cf5c0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
push edi
movzx eax, byte [ebx]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [ebx + 1]
xor edx, eax
movzx eax, byte [ebx + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [ebx + 3]
imul ecx, edx, 0x1000193
mov edx, dword [esi + 0x14]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edx
and ecx, eax
cmp dword [esi + 0x18], ecx
ja 0x4cf613
shr edx, 1
or eax, 0xffffffff
sub eax, edx
add ecx, eax
mov edx, dword [esi + 8]
mov esi, dword [esi]
mov eax, dword [edx + ecx*8]
add ecx, ecx
mov edi, dword [edx + ecx*4]
inc ecx
lea ecx, [edx + ecx*4]
mov dword [ebp + 0xc], ecx
cmp edi, esi
jne 0x4cf62f
mov ecx, esi
jmp 0x4cf633
mov ecx, dword [ecx]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x4cf683
mov ecx, dword [eax + 8]
cmp ecx, dword [ebx]
je 0x4cf645
mov eax, dword [eax]
mov ecx, dword [ebp + 0xc]
jmp 0x4cf627
mov ecx, dword [ebx]
mov edx, eax
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
nop
cmp edi, esi
jne 0x4cf658
mov ecx, esi
jmp 0x4cf65c
mov ecx, dword [ebx]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x4cf66c
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 8]
jne 0x4cf66c
mov eax, dword [eax]
jmp 0x4cf650
cmp edx, eax
je 0x4cf683
mov ecx, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword [ecx + 4], eax
mov eax, ecx
mov dword [ecx], edx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
mov dword [eax + 4], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4d0f80
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 + 0xb]
xor edx, 0x811c9dc5
imul esi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor esi, edx
movzx edx, byte [eax + 0xa]
imul esi, esi, 0x1000193
xor esi, edx
imul edx, esi, 0x1000193
mov esi, dword [edi + 0x14]
xor edx, ecx
imul ecx, edx, 0x1000193
mov edx, esi
and edx, ecx
cmp dword [edi + 0x18], edx
ja 0x4d0fd3
shr esi, 1
or ecx, 0xffffffff
sub ecx, esi
add edx, ecx
mov ecx, dword [edi + 8]
cmp dword [ecx + edx*8 + 4], eax
lea ecx, [ecx + edx*8]
jne 0x4d0ffa
cmp dword [ecx], eax
jne 0x4d0ff2
mov eax, dword [edi]
mov dword [ecx], eax
mov ecx, dword [edi + 8]
mov eax, dword [edi]
mov dword [ecx + edx*8 + 4], eax
jmp 0x4d1002
mov eax, dword [eax + 4]
mov dword [ecx + 4], eax
jmp 0x4d1002
cmp dword [ecx], eax
jne 0x4d1005
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov ecx, edi
push eax
push esi
call fcn.00455160
pop edi
mov eax, esi
pop esi
pop ebp
ret 8
Function at 0x4d3270
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x5ac020]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4d32bc
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], 1
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x4d32cc
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ffcef
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0x10
lea eax, [ebp - 0x14]
mov dword [ebp - 8], 2
push eax
push 0
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 4]
neg eax
sbb eax, eax
xor ecx, ebp
inc eax
call fcn.004ffcef
mov esp, ebp
pop ebp
ret
Function at 0x4d3370
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x5ac020]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x118]
mov dword [ebp - 0x118], 0x114
push eax
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4d351d
mov eax, dword [ebp - 0x108]
cmp eax, 2
jne 0x4d349d
mov eax, dword [ebp - 0x114]
cmp eax, 6
jne 0x4d3414
mov eax, dword [ebp - 0x110]
cmp eax, 1
jne 0x4d33eb
call fcn.004d3310
mov esi, eax
neg esi
sbb esi, esi
neg esi
add esi, 0xd
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ffcef
mov esp, ebp
pop ebp
ret
test eax, eax
jne 0x4d351b
call fcn.004d3310
mov esi, eax
neg esi
sbb esi, esi
neg esi
add esi, 0xb
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ffcef
mov esp, ebp
pop ebp
ret
cmp eax, 5
jne 0x4d347e
mov eax, dword [ebp - 0x110]
test eax, eax
jne 0x4d3439
mov esi, 7
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ffcef
mov esp, ebp
pop ebp
ret
cmp eax, 2
jne 0x4d345f
call fcn.004d3310
mov esi, eax
neg esi
sbb esi, esi
neg esi
add esi, 9
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ffcef
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x4d351b
mov esi, 8
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ffcef
mov esp, ebp
pop ebp
ret
cmp eax, 4
jne 0x4d351b
mov esi, 6
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ffcef
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x4d3501
cmp dword [ebp - 0x114], 4
jne 0x4d351b
mov eax, dword [ebp - 0x110]
test eax, eax
jne 0x4d34cb
mov esi, 2
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ffcef
mov esp, ebp
pop ebp
ret
cmp eax, 0xa
jne 0x4d34e6
mov esi, 3
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ffcef
mov esp, ebp
pop ebp
ret
cmp eax, 0x5a
jne 0x4d351b
mov esi, 4
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ffcef
mov esp, ebp
pop ebp
ret
test eax, eax
jne 0x4d351b
mov esi, 1
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ffcef
mov esp, ebp
pop ebp
ret
xor esi, esi
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004ffcef
mov esp, ebp
pop ebp
ret
Function at 0x4d35a0
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1018
call fcn.0050c350
mov eax, dword [0x5ac020]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
lea eax, [ebp - 0x1010]
mov word [ebp - 0x1008], 0x500
push eax
xor ebx, ebx
push 0x20008
mov dword [ebp - 0x100c], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4d36a4
lea eax, [ebp - 0x1018]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push 2
push dword [ebp - 0x1010]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
push dword [ebp - 0x1010]
test eax, eax
jne 0x4d362c
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ffcef
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x1014]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x100c]
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x4d36a4
push esi
xor esi, esi
cmp dword [ebp - 0x1004], ebx
jbe 0x4d3697
push edi
lea edi, [ebp - 0x1000]
push dword [edi]
push dword [ebp - 0x1014]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x4d3691
inc esi
add edi, 8
cmp esi, dword [ebp - 0x1004]
jb 0x4d3671
jmp 0x4d3696
mov ebx, 1
pop edi
push dword [ebp - 0x1014]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
pop esi
mov ecx, dword [ebp - 4]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.004ffcef
mov esp, ebp
pop ebp
ret

Function at 0x4d44a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push esi
push 0x40
push 0x1000
mov esi, ecx
push 0x14
push 0
mov dword [esi], vtable.cafx::dxui::DxSDKWindow.0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [esi + 0x24], eax
test eax, eax
je 0x4d452a
mov byte [eax], 0xe8
mov eax, dword [esi + 0x24]
push 0x14
push esi
mov dword [eax + 1], 4
mov eax, dword [esi + 0x24]
mov dword [eax + 5], 0x4d4920
mov eax, dword [esi + 0x24]
mov byte [eax + 9], 0x59
mov eax, dword [esi + 0x24]
mov byte [eax + 0xa], 0xc7
mov eax, dword [esi + 0x24]
mov byte [eax + 0xb], 0x44
mov eax, dword [esi + 0x24]
mov byte [eax + 0xc], 0x24
mov eax, dword [esi + 0x24]
mov byte [eax + 0xd], 4
mov eax, dword [esi + 0x24]
mov dword [eax + 0xe], esi
mov eax, dword [esi + 0x24]
mov byte [eax + 0x12], 0xff
mov eax, dword [esi + 0x24]
mov byte [eax + 0x13], 0x21
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov ecx, esi
call fcn.004d4570
mov eax, esi
pop esi
ret
push 0
push 0
call fcn.00502beb
int3
Function at 0x4ddc20
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
movzx eax, byte [edi + 8]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 9]
xor edx, eax
movzx eax, byte [edi + 0xa]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 0xb]
imul ecx, edx, 0x1000193
mov edx, dword [ebx + 0x14]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edx
and ecx, eax
cmp dword [ebx + 0x18], ecx
ja 0x4ddc73
shr edx, 1
or eax, 0xffffffff
sub eax, edx
add ecx, eax
lea edx, [ecx*8]
mov ecx, dword [ebx + 8]
add ecx, edx
cmp dword [ecx + 4], edi
jne 0x4ddc9f
cmp dword [ecx], edi
jne 0x4ddc97
mov eax, dword [ebx]
mov dword [ecx], eax
mov ecx, dword [ebx + 8]
mov eax, dword [ebx]
mov dword [ecx + edx + 4], eax
jmp 0x4ddca7
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x4ddca7
cmp dword [ecx], edi
jne 0x4ddcaa
mov eax, dword [edi]
mov dword [ecx], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 4]
mov esi, dword [edi]
push edi
mov dword [eax], esi
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
dec dword [ebx + 4]
call fcn.0051d3d0
mov eax, dword [ebp + 8]
add esp, 4
pop edi
mov dword [eax], esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x4ed350
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, ecx
mov edx, eax
mov dword [ebp - 8], eax
push ebx
push esi
xor esi, esi
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4ed364
sub edx, ecx
sar edx, 1
lea ebx, [edx*2 + 2]
mov dword [ebp - 4], ebx
test ebx, ebx
je 0x4ed3e1
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4ed3e1
push edi
push ebx
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x4ed3da
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
test ebx, ebx
je 0x4ed3da
push dword [ebp - 4]
push dword [ebp - 8]
push ebx
call fcn.00502510
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_EmptyClipboard]
push edi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
mov esi, eax
neg esi
sbb esi, esi
neg esi
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4f21a0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54fbe9
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x5ac020]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 0xc]
lea ecx, [esi + 8]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov eax, dword [eax]
mov dword [esi], eax
mov dword [ecx + 0x10], 0
mov dword [ebp - 4], 0
mov dword [ecx + 0x10], 0
mov dword [ebp - 4], 1
lea eax, [ecx + 0x18]
mov dword [ebp - 0x18], eax
mov dword [eax + 0x10], 0
mov byte [ebp - 4], 2
mov dword [eax + 0x10], 0
mov byte [ebp - 4], 3
add ecx, 0x30
push ecx
mov dword [ebp - 0x18], ecx
call fcn.00412230
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4f7090
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5502e0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5ac020]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebx + 0x9c]
sub esp, 0x18
add esi, 0xfffffffc
mov dword [esp + 0x2c], esp
mov edi, esp
mov dword [esp + 0x30], edi
mov eax, dword [esi]
add eax, 0x28
mov dword [edi + 0x10], 0
mov dword [esp + 0x40], 0
mov ecx, dword [eax + 0x10]
test ecx, ecx
jne 0x4f70f4
mov dword [edi + 0x10], ecx
jmp 0x4f7104
cmp ecx, eax
mov eax, dword [ecx]
jne 0x4f70fd
push edi
jmp 0x4f70ff
push 0
call dword [eax]
mov dword [edi + 0x10], eax
mov dword [esp + 0x40], 1
xor edx, edx
mov eax, dword [esi]
mov ecx, dword [ebx + 0x78]
cmp dword [eax], 1
sete dl
push edx
mov dword [esp + 0x44], 0xffffffff
call fcn.004dca20
cmp esi, dword [ebx + 0x98]
je 0x4f719c
nop
mov eax, dword [esi - 4]
sub esp, 0x18
add esi, 0xfffffffc
mov dword [esp + 0x30], esp
mov edi, esp
add eax, 0x28
mov dword [esp + 0x2c], edi
mov dword [edi + 0x10], 0
mov dword [esp + 0x40], 2
mov ecx, dword [eax + 0x10]
test ecx, ecx
jne 0x4f7161
mov dword [edi + 0x10], ecx
jmp 0x4f7171
cmp ecx, eax
mov eax, dword [ecx]
jne 0x4f716a
push edi
jmp 0x4f716c
push 0
call dword [eax]
mov dword [edi + 0x10], eax
mov dword [esp + 0x40], 3
xor edx, edx
mov eax, dword [esi]
mov ecx, dword [ebx + 0x78]
cmp dword [eax], 1
sete dl
push edx
mov dword [esp + 0x44], 0xffffffff
call fcn.004dcbf0
cmp esi, dword [ebx + 0x98]
jne 0x4f7130
mov ecx, dword [ebx + 0x78]
call fcn.004dc6e0
mov esi, dword [ebx + 0x78]
lea ecx, [esi + 0xb4]
call fcn.004f6e30
mov eax, dword [esi + 0x64]
mov edi, eax
shr edi, 8
and edi, 1
je 0x4f71c7
and eax, 0xfffffeff
mov dword [esi + 0x64], eax
mov ecx, dword [esi + 0xb0]
call fcn.004ebda0
mov ecx, esi
call fcn.004dc6e0
test edi, edi
je 0x4f71e4
or dword [esi + 0x64], 0x100
mov ecx, dword [ebx + 0x78]
call fcn.004dbd60
mov ecx, dword [ebx + 0x78]
push dword [ecx + 0x9c]
call fcn.004daf50
mov ecx, dword [ebx + 0x78]
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret