joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4aa600
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2ec
mov eax, dword [0x51cbc0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x2ec], ebx
push edi
test ebx, ebx
je 0x4aa804
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x4aa804
push esi
push 0x64
lea eax, [ebp - 0x68]
push 0
push eax
call sub.msvcrt.dll_memset
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x2e4]
add esp, 0xc
push eax
push 8
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x4aa7d9
xor edi, edi
mov dword [ebp - 0x2d8], 0x104
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x2d8]
push eax
lea eax, [ebp - 0x1d0]
push eax
push edi
push dword [ebp - 0x2e4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x4aa7c8
lea eax, [ebp - 0x2e8]
push eax
push 1
push 0
lea eax, [ebp - 0x1d0]
push eax
push dword [ebp - 0x2e4]
call esi
test eax, eax
jne 0x4aa792
lea eax, [ebp - 0x2dc]
mov dword [ebp - 0x2e0], 1
push eax
lea eax, [ebp - 0x2d4]
mov dword [ebp - 0x2dc], 0x104
push eax
lea eax, [ebp - 0x2e0]
push eax
push 0
push str.ServiceName
push dword [ebp - 0x2e8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4aa78a
push 0x64
push eax
lea eax, [ebp - 0xcc]
push eax
call sub.msvcrt.dll_memset
push 0x64
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0x2d4]
push eax
call fcn.004aa820
add esp, 0x18
test eax, eax
je 0x4aa78a
cmp byte [ebp - 0x68], 0
je 0x4aa74c
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0xcc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jns 0x4aa78a
lea ecx, [ebp - 0x68]
mov edx, 0x64
lea esi, [ebp - 0xcc]
mov eax, ecx
sub esi, eax
nop
lea eax, [edx + 0x7fffff9a]
test eax, eax
je 0x4aa779
mov al, byte [esi + ecx]
test al, al
je 0x4aa779
mov byte [ecx], al
inc ecx
sub edx, 1
jne 0x4aa760
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ecx - 1]
test edx, edx
cmovne eax, ecx
mov byte [eax], 0
push dword [ebp - 0x2e8]
call ebx
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x2d8]
mov dword [ebp - 0x2d8], 0x104
push eax
lea eax, [ebp - 0x1d0]
inc edi
push eax
push edi
push dword [ebp - 0x2e4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x4aa6a0
push dword [ebp - 0x2e4]
call ebx
mov ebx, dword [ebp - 0x2ec]
mov edi, dword [ebp + 0xc]
cmp byte [ebp - 0x68], 0
pop esi
je 0x4aa804
lea eax, [ebp - 0x68]
push eax
push edi
push ebx
call fcn.004ab700
xor ecx, ecx
test eax, eax
pop edi
setns cl
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d55dc
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop ebx
call fcn.004d55dc
mov esp, ebp
pop ebp
ret
Function at 0x4aaaa0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x51cbc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x5227c8]
mov byte [ebp - 0x20d], 0x40
push ebx
mov ebx, dword [ebp + 8]
test ecx, ecx
jne 0x4aab8d
push 0x208
push ecx
lea eax, [ebp - 0x20c]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
dec eax
cmp eax, 0xf5
ja 0x4aab6e
push esi
push edi
lea edi, [ebp - 0x20c]
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x4aab06
mov eax, dword [0x4efa20]
mov dword [edi], eax
lea edi, [ebp - 0x20c]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4aab22
mov ecx, 6
lea eax, [ebp - 0x20c]
mov esi, str.Netapi32.dll
rep movsd dword es:[edi], dword [esi]
push eax
movsw word es:[edi], word [esi]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
pop edi
pop esi
test eax, eax
je 0x4aab6e
push str.Netbios
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x5227c8]
test eax, eax
cmovne ecx, eax
mov dword [0x5227c8], ecx
jmp 0x4aab74
mov ecx, dword [0x5227c8]
test ecx, ecx
jne 0x4aab8d
mov al, byte [ebp - 0x20d]
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d55dc
mov esp, ebp
pop ebp
ret
push ebx
call ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004d55dc
mov esp, ebp
pop ebp
ret
Function at 0x4ab2f0
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2c10
call fcn.004d5750
mov eax, dword [0x51cbc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c10], eax
test eax, eax
je 0x4ab452
cmp dword [ebp + 0xc], 0
je 0x4ab452
push ebx
push esi
xor ebx, ebx
xor esi, esi
push edi
nop dword [eax]
push esi
push str..PhysicalDrive_d
lea eax, [ebp - 0x104]
push 0x100
push eax
call fcn.004129d0
add esp, 0x10
lea eax, [ebp - 0x104]
push 0
push 0
push 3
push 0
push 3
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x4ab435
push 0x2710
lea eax, [ebp - 0x2bfc]
mov dword [ebp - 0x2c00], 0
push 0
push eax
mov dword [ebp - 0x2c04], 0
mov dword [ebp - 0x2c0c], 0
mov dword [ebp - 0x2c08], 0
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x2c00]
push 0
push eax
push 0x2710
lea eax, [ebp - 0x2bfc]
push eax
push 0xc
lea eax, [ebp - 0x2c0c]
push eax
push 0x2d1400
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x4ab42a
push 0x3e8
lea eax, [ebp - 0x4ec]
push 0
push eax
call sub.msvcrt.dll_memset
lea eax, [ebp - 0x4ec]
push eax
push 1
push dword [ebp - 0x2be4]
lea eax, [ebp - 0x2bfc]
push eax
call fcn.004abd80
add esp, 0x1c
lea eax, [ebp - 0x4ec]
push eax
push dword [ebp + 0xc]
push dword [ebp - 0x2c10]
call fcn.004ab700
test eax, eax
mov eax, 1
cmove ebx, eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x4ab43f
inc esi
cmp esi, 0x10
jl 0x4ab330
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d55dc
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.004d55dc
mov esp, ebp
pop ebp
ret
Function at 0x4ab470
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x290
mov eax, dword [0x51cbc0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x84]
push edi
push 0x80
push 0
push eax
call sub.msvcrt.dll_memset
push 0x80
lea eax, [ebp - 0x84]
push eax
push esi
call fcn.004aa940
lea ecx, [ebp - 0x188]
mov edi, esi
mov eax, ecx
add esp, 0x18
mov edx, 0x104
sub edi, eax
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x4ab4da
mov al, byte [edi + ecx]
test al, al
je 0x4ab4da
mov byte [ecx], al
inc ecx
sub edx, 1
jne 0x4ab4c1
lea eax, [ecx - 1]
test edx, edx
cmovne eax, ecx
mov ecx, 0x104
mov byte [eax], 0
lea eax, [ebp - 0x188]
cmp byte [eax], 0
je 0x4ab4fb
inc eax
sub ecx, 1
jne 0x4ab4f0
mov edx, 0x104
mov edi, ecx
mov eax, edx
sub eax, ecx
neg edi
sbb edi, edi
and edi, eax
test ecx, ecx
je 0x4ab550
lea ecx, [ebp - 0x188]
lea ecx, [ecx + edi]
sub edx, edi
je 0x4ab545
lea edi, [ebp - 0x84]
mov eax, SysReAllocString
sub edi, ecx
push ebx
nop dword [eax + eax]
test eax, eax
je 0x4ab544
mov bl, byte [edi + ecx]
test bl, bl
je 0x4ab544
mov byte [ecx], bl
dec eax
inc ecx
sub edx, 1
jne 0x4ab530
pop ebx
test edx, edx
lea eax, [ecx - 1]
cmovne eax, ecx
mov byte [eax], 0
push 0x100
lea eax, [ebp - 0x288]
mov dword [ebp - 0x290], 1
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x28c], 0x100
lea eax, [ebp - 0x28c]
push eax
lea eax, [ebp - 0x288]
push eax
lea eax, [ebp - 0x290]
push eax
push 0x4f76a8
push str.Software360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov edi, dword [sym.imp.SHLWAPI.dll_SHSetValueA]
test eax, eax
jne 0x4ab60a
lea eax, [ebp - 0x288]
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x4ab5d4
test cl, cl
je 0x4ab5d0
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x4ab5d4
add eax, 2
add esi, 2
test cl, cl
jne 0x4ab5b4
xor eax, eax
jmp 0x4ab5d9
sbb eax, eax
or eax, 1
test eax, eax
je 0x4ab60a
lea ecx, [ebp - 0x288]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4ab5e6
sub ecx, edx
lea eax, [ebp - 0x288]
push ecx
push eax
push 1
push str.mid_old
push str.Software360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
call edi
lea ecx, [ebp - 0x188]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4ab613
sub ecx, edx
lea eax, [ebp - 0x188]
push ecx
push eax
push 1
push 0x4f76a8
push str.Software360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
call edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004d55dc
mov esp, ebp
pop ebp
ret

Function at 0x4ae430
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 0x4ae820
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x4ae835
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x4ae847
movzx eax, ax
or eax, 0x80070000
push eax
lea ecx, [ebp - 0x10]
call fcn.004aeec0
push 0x515920
lea eax, [ebp - 0x10]
push eax
call sub.msvcrt.dll__CxxThrowException
int3

Function at 0x4b3660
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x51cbc0]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x118]
mov dword [ebp - 0x118], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4b375b
mov eax, dword [ebp - 0x114]
sub eax, 5
je 0x4b36e2
sub eax, 1
jne 0x4b36d6
mov eax, dword [ebp - 0x110]
sub eax, 0
je 0x4b36be
sub eax, 1
jne 0x4b36d6
mov dword [0x522c2c], 4
jmp 0x4b3700
mov dword [0x522c2c], 3
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d55dc
mov esp, ebp
pop ebp
ret
mov dword [0x522c2c], 6
jmp 0x4b3700
mov eax, dword [ebp - 0x110]
sub eax, 0
je 0x4b3751
sub eax, 1
je 0x4b3739
sub eax, 1
je 0x4b3721
cmp dword [0x522c2c], 4
jl 0x4b36c8
call fcn.004ae2f0
cmp dword [0x522c2c], 6
jl 0x4b36c8
call fcn.004bdea0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d55dc
mov esp, ebp
pop ebp
ret
mov dword [0x522c2c], 2
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d55dc
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov dword [0x522c2c], 1
call fcn.004d55dc
mov esp, ebp
pop ebp
ret
mov dword [0x522c2c], 0
lea ecx, [ebp - 0x124]
call fcn.004aef00
push 0x515bac
lea eax, [ebp - 0x124]
push eax
call sub.msvcrt.dll__CxxThrowException
int3

Function at 0x4b5a50
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
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
xor edx, edx
xor ecx, eax
imul eax, ecx, 0x1000193
div dword [esi]
mov eax, dword [esi + 8]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x4b5aab
mov ecx, dword [edi]
lea esp, [esp]
cmp dword [eax + 4], ecx
je 0x4b5ab3
mov eax, dword [eax]
test eax, eax
jne 0x4b5aa0
xor eax, eax
pop edi
pop esi
pop ebp
ret 8
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x4b5aad
mov ecx, dword [eax + 8]
pop edi
mov dword [edx], ecx
pop esi
pop ebp
ret 8
Function at 0x4b6d00
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
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
xor edx, edx
xor ecx, eax
imul eax, ecx, 0x1000193
div dword [esi]
mov eax, dword [esi + 8]
lea ebx, [edx*4]
mov eax, dword [ebx + eax]
test eax, eax
je 0x4b6d5f
mov ecx, dword [edi]
cmp dword [eax + 4], ecx
je 0x4b6d87
mov eax, dword [eax]
test eax, eax
jne 0x4b6d54
push 0xc
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
mov edx, eax
add esp, 4
mov dword [ebp + 8], edx
test edx, edx
je 0x4b6d90
mov dword [edx], 0
mov eax, dword [edi]
mov dword [edx + 4], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [edx + 8], eax
jmp 0x4b6d92
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 8
xor edx, edx
mov ecx, dword [esi + 8]
mov eax, edx
pop edi
mov ecx, dword [ebx + ecx]
mov dword [edx], ecx
mov ecx, dword [esi + 8]
mov dword [ebx + ecx], edx
inc dword [esi + 4]
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4b89a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e4844
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x51cbc0]
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 + 8]
lea ecx, [esi + 0x54]
mov dword [esi + 0x1c], eax
mov al, byte [ebp + 0xc]
mov dword [esi], vtable.Concurrency::details::ContextBase.0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 1
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0xffffffff
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov byte [esi + 0x4c], al
mov dword [ebp - 4], 0
mov dword [esi + 0x50], 0
call fcn.004abfa0
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0xffffffff
mov dword [esi + 0x6c], 0xffffffff
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x78], 0
mov dword [esi + 0x7c], 0
push 0x1c
mov dword [esi + 0x80], 7
mov dword [esi + 0x84], 0
call sub.msvcrt.dll_void____cdecl_operator_new___unsigned_int_
mov ecx, dword [esi + 0x80]
shl ecx, 2
push ecx
push 0
push eax
mov dword [esi + 0x88], eax
call sub.msvcrt.dll_memset
push 0x10
mov byte [ebp - 4], 1
mov dword [esi + 0x8c], 0
mov dword [esi + 0x90], 0
call sub.msvcrt.dll_void____cdecl_operator_new___unsigned_int_
add esp, 0x14
mov dword [esi + 0x94], eax
mov ecx, dword [esi + 0x1c]
mov byte [ebp - 4], 2
call fcn.004b61f0
mov ecx, dword [esi + 0x1c]
mov dword [esi + 8], eax
push eax
mov eax, dword [ecx]
call dword [eax + 4]
push eax
push 4
push 1
mov ecx, esi
call fcn.004b9f90
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x4b9d80
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, ecx
xor eax, eax
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ebx
mov edx, dword [ebx + 0x80]
test edx, edx
jle 0x4b9db4
mov esi, dword [ebx + 0x88]
mov ecx, esi
cmp dword [ecx], edi
jne 0x4b9e84
inc eax
add ecx, 4
cmp eax, edx
jl 0x4b9da4
xor eax, eax
mov dword [ebp - 8], eax
test eax, eax
je 0x4b9ee4
mov esi, dword [eax]
test esi, esi
jne 0x4b9df6
mov edx, dword [ebx + 0x80]
inc edi
mov eax, edi
cmp edi, edx
jge 0x4b9df1
mov esi, dword [ebx + 0x88]
lea ecx, [esi + edi*4]
lea ecx, [ecx]
cmp dword [ecx], 0
jne 0x4b9e8e
inc eax
add ecx, 4
cmp eax, edx
jl 0x4b9de0
xor esi, esi
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 8]
call fcn.004bb4c0
test al, al
je 0x4b9ed7
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
mov ecx, eax
mov dword [ebp - 0xc], eax
call fcn.004bb4d0
mov ebx, eax
movzx ecx, bl
xor ecx, 0x811c9dc5
mov dword [ebp - 8], ebx
movzx eax, byte [ebp - 6]
imul edx, ecx, 0x1000193
movzx ecx, bh
xor edx, ecx
imul ecx, edx, 0x1000193
xor edx, edx
xor ecx, eax
movzx eax, byte [ebp - 5]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebp - 4]
div dword [ecx + 0x80]
mov eax, dword [ecx + 0x88]
lea eax, [eax + edx*4]
xor edx, edx
mov dword [ebp - 8], eax
mov eax, dword [eax]
test eax, eax
je 0x4b9eb7
lea esp, [esp]
mov ecx, dword [eax]
cmp dword [eax + 4], ebx
je 0x4b9e98
mov edx, eax
mov eax, ecx
test eax, eax
jne 0x4b9e70
mov ebx, dword [ebp - 4]
jmp 0x4b9eb9
mov edi, eax
mov eax, dword [esi + eax*4]
jmp 0x4b9db6
mov esi, dword [esi + eax*4]
mov edi, eax
jmp 0x4b9df3
test edx, edx
jne 0x4b9e9f
mov edx, dword [ebp - 8]
mov ebx, dword [ebp - 4]
push 0xc
mov dword [edx], ecx
push eax
dec dword [ebx + 0x84]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 8
jmp 0x4b9eb9
mov ebx, ecx
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4b9ed7
mov ecx, eax
call fcn.004ba3e0
push 0x90
push dword [ebp - 0xc]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 8
mov eax, esi
mov dword [ebp - 8], eax
test esi, esi
jne 0x4b9dc1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4bd2a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e4498
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x51cbc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea esi, [edi + 0x20]
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.004ac400
mov ebx, dword [ebp + 8]
mov ecx, ebx
mov dword [ebp - 4], 0
mov eax, dword [ebx]
call dword [eax]
mov edx, dword [edi + 0x10]
lea edi, [ebx + 8]
imul ecx, dword [ebx + 0x30], 0x34
imul eax, eax, 0x34
mov edx, dword [edx + eax + 0x30]
dec dword [edx + ecx + 0xc]
add edx, ecx
mov ecx, dword [edi + 0x38]
mov eax, dword [edi + 0x34]
mov dword [ecx + 0x34], eax
mov ecx, dword [edi + 0x34]
mov eax, dword [edi + 0x38]
mov dword [ecx + 0x38], eax
mov eax, dword [edx + 0x10]
cmp edi, eax
jne 0x4bd329
cmp eax, dword [eax + 0x38]
jne 0x4bd323
xor eax, eax
jmp 0x4bd326
mov eax, dword [eax + 0x34]
mov dword [edx + 0x10], eax
cmp byte [ebx + 0x45], 0
jne 0x4bd338
mov eax, dword [ebp - 0x10]
dec dword [eax + 0x9c]
mov ecx, esi
mov dword [ebp - 4], 1
call fcn.004ac6b0
mov eax, dword [ebx]
mov ecx, ebx
mov dword [ebp - 4], 0xffffffff
call dword [eax + 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4be6a0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e4c78
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x51cbc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0x522c68
mov eax, 1
mov esi, 0x522c68
xchg dword [esi], eax
test eax, eax
je 0x4be7a0
xor eax, eax
mov ecx, 0x4aed00
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
cmp eax, 4
ja case.default.0x4be6f9
jmp dword [eax*4 + 0x4be8f0]
pause
sub dword [ebp - 0x20], 1
jne case.default.0x4be6f9
mov eax, dword [ebp - 0x1c]
neg eax
sbb eax, eax
add eax, 3
mov dword [ebp - 0x18], eax
jmp case.default.0x4be6f9
sub dword [ebp - 0x1c], 1
jne case.0x4be6f9.4
mov dword [ebp - 0x18], 3
call ecx
jmp case.default.0x4be6f9
mov dword [ebp - 0x18], 0
call fcn.004ac860
test eax, eax
jne 0x4be745
mov dword [ebp - 0x18], 4
jmp case.default.0x4be6f9
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x18], 1
jmp case.default.0x4be6f9
mov dword [ebp - 0x18], 0
call fcn.004ac860
test eax, eax
jne 0x4be771
mov dword [ebp - 0x18], 4
jmp 0x4be782
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x18], 1
lea ecx, [ebp - 0x20]
call fcn.004ac740
mov eax, 1
xchg dword [esi], eax
test eax, eax
je 0x4be7a0
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
jmp 0x4be6f0
cmp dword [0x522ca0], 0
mov dword [ebp - 4], 0
jne 0x4be8d4
push 0x18
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
test edi, edi
je 0x4be891
push 0x800
push 0
push str.advapi32.dll
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ebx, eax
test ebx, ebx
jne 0x4be808
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4be885
push str.advapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4be885
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.RegisterTraceGuidsW
push ebx
call esi
push eax
call fcn.004ae900
add esp, 4
mov dword [edi], eax
push str.UnregisterTraceGuids
push ebx
call esi
push eax
call fcn.004ae900
add esp, 4
mov dword [edi + 4], eax
push str.TraceEvent
push ebx
call esi
push eax
call fcn.004ae900
add esp, 4
mov dword [edi + 8], eax
push str.GetTraceLoggerHandle
push ebx
call esi
push eax
call fcn.004ae900
add esp, 4
mov dword [edi + 0xc], eax
push str.GetTraceEnableLevel
push ebx
call esi
push eax
call fcn.004ae900
add esp, 4
mov dword [edi + 0x10], eax
push str.GetTraceEnableFlags
push ebx
call esi
push eax
call fcn.004ae900
add esp, 4
mov dword [edi + 0x14], eax
mov byte [ebp - 4], 0
mov dword [0x522ca0], edi
jmp 0x4be89d
mov dword [0x522ca0], 0
xor edi, edi
mov esi, dword [edi]
push 0
call fcn.004ae900
add esp, 4
cmp esi, eax
je 0x4be8d4
push esi
call fcn.004ae900
add esp, 4
push 0x522c88
push 0
push 0
push 0x51cc7c
push 7
push 0x502dec
push 0
push 0x4be500
call eax
mov dword [0x522c68], 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
Function at 0x4c4060
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 0x10]
push ecx
mov dword [edi + 8], eax
mov dword [edi + 0x100], edx
mov eax, dword [edi + 0xc]
xor eax, dword [ecx]
and eax, 0xfffffff
xor dword [edi + 0xc], eax
mov eax, dword [ecx]
xor eax, dword [edi + 0xc]
and eax, 0xfffffff
xor eax, dword [ecx]
mov dword [edi + 0xc], eax
mov eax, dword [ecx + 8]
mov dword [edi + 0x14], eax
mov eax, dword [ecx + 4]
mov dword [edi + 0x10], eax
mov eax, dword [ecx + 0xc]
mov dword [edi + 0x18], eax
lea eax, [ebp - 0xc]
mov dword [edi + 0x110], 0
mov dword [edi + 0x11c], 1
mov ecx, dword [edx + 4]
push eax
call fcn.004b5f10
push dword [edi + 0x20]
lea ebx, [edi + 0x1c]
mov esi, eax
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
mov ecx, dword [esi]
mov dword [ebx], ecx
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov dword [esi], 0
mov dword [esi + 4], 0
push dword [ebp - 8]
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
mov ecx, dword [ebp + 0x10]
add esp, 8
mov eax, dword [ecx]
and eax, 0xfffffff
cmp eax, 3
jne 0x4c4177
mov ebx, dword [ecx + 8]
xor edx, edx
mov esi, dword [ebp + 8]
movzx eax, bl
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
mov eax, ebx
mov esi, dword [esi + 4]
shr eax, 8
movzx eax, al
xor ecx, eax
mov eax, ebx
shr eax, 0x10
imul ecx, ecx, 0x1000193
movzx eax, al
xor ecx, eax
mov eax, ebx
imul ecx, ecx, 0x1000193
shr eax, 0x18
xor ecx, eax
imul eax, ecx, 0x1000193
div dword [esi + 0x168]
mov eax, dword [esi + 0x170]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x4c416e
cmp dword [eax + 4], ebx
je 0x4c419b
mov eax, dword [eax]
test eax, eax
jne 0x4c4163
mov eax, dword [ebp - 4]
mov dword [edi + 0x24], eax
lea ebx, [edi + 0x1c]
push ebx
lea ecx, [edi + 0x38]
call fcn.004c3990
cmp dword [edi + 0x48], 0
je 0x4c4192
mov ecx, dword [edi + 0x48]
add ecx, 4
push ebx
call fcn.004c3990
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [eax + 8]
jmp 0x4c4171

Function at 0x4c5c20
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x522ca4], eax
cmp eax, 0xffffffff
je 0x4c5c3a
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x4c5c4c
movzx eax, ax
or eax, 0x80070000
push eax
lea ecx, [ebp - 0x10]
call fcn.004aeec0
push 0x515920
lea eax, [ebp - 0x10]
push eax
call sub.msvcrt.dll__CxxThrowException
int3