joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d1440
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x561caa
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x5d0074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea eax, [esi + 8]
mov dword [esi + 4], 0
mov dword [ebp - 0x14], eax
mov dword [eax + 0xc], 0
mov dword [ebp - 4], 1
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [ebp - 4], 4
lea edi, [esi + 0x38]
mov eax, dword [ebp + 8]
mov dword [esi + 0x20], 0x57fe28
mov dword [esi + 0x24], 0x57fe24
mov dword [esi + 0x28], 0x5904f4
mov dword [esi], 0x590574
mov dword [esi + 0x20], 0x59054c
mov dword [esi + 0x24], 0x57fe90
mov dword [esi + 0x28], 0x590528
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], 0
mov byte [esi + 0x34], 0
mov dword [ebp + 8], edi
call fcn.00413cd0
mov ecx, eax
test ecx, ecx
je 0x4d1649
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 6
lea edi, [esi + 0x3c]
mov dword [ebp + 8], edi
call fcn.00413cd0
mov ecx, eax
test ecx, ecx
je 0x4d1653
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 8
lea ecx, [esi + 0x40]
mov dword [ebp + 8], ecx
lea eax, [ecx + 8]
mov dword [ecx + 4], 0
mov dword [ebp - 0x14], eax
mov dword [eax + 0xc], 0
mov byte [ebp - 4], 0xa
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 0
mov byte [ebp - 4], 0xb
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [ecx + 0x20], eax
mov byte [ebp - 4], 0xd
lea edi, [ecx + 0x28]
mov dword [ecx], 0x590518
mov dword [ecx + 0x24], 0
mov dword [ebp - 0x14], edi
call fcn.00413cd0
mov ecx, eax
test ecx, ecx
je 0x4d165d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 0x10
lea edi, [esi + 0x94]
mov dword [esi + 0x6c], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x78], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x80], 1
mov byte [esi + 0x84], 0
mov dword [esi + 0x88], 0
mov byte [esi + 0x8c], 0
mov dword [esi + 0x90], 0
mov dword [ebp + 8], edi
call fcn.00413cd0
mov ecx, eax
test ecx, ecx
je 0x4d1667
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 0x12
lea edi, [esi + 0x98]
mov dword [ebp + 8], edi
call fcn.00413cd0
mov ecx, eax
test ecx, ecx
je 0x4d1671
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 0x14
lea ecx, [esi + 0xa0]
call fcn.004d64e0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.004143a0
push 0x80004005
call fcn.004143a0
push 0x80004005
call fcn.004143a0
push 0x80004005
call fcn.004143a0
push 0x80004005
call fcn.004143a0
int3
Function at 0x4d4090
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
cmp dword [ebp + 0x1c], 0
push ebx
push esi
mov esi, dword [ebp + 0x18]
push edi
mov edi, ecx
jne 0x4d429a
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
cmp ecx, 0x110
jne 0x4d40e2
sub esp, 8
mov dword [edi + 0x40], 1
mov ecx, edi
call fcn.004d4440
mov dword [esi], eax
cmp dword [edi + 0x40], 0
je 0x4d41f3
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp ecx, 0x111
jne 0x4d41f3
movzx ecx, bx
mov eax, 1
cmp ax, cx
jne 0x4d4177
sub esp, 0x10
lea eax, [edi + 0x44]
lea ecx, [edi + 0x40]
push eax
push 0x425
call fcn.004d4600
sub esp, 0x10
lea eax, [edi + 0x48]
lea ebx, [edi + 0x40]
mov ecx, ebx
push eax
push 0x426
call fcn.004d4600
mov ecx, 4
lea eax, [ebx - 0x3c]
test ebx, ebx
push 0x427
cmove eax, ecx
push dword [eax]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0
push 0xf0
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 1
push 1
push dword [edi + 4]
sete cl
mov byte [edi + 0x4c], cl
call dword [sym.imp.USER32.dll_EndDialog]
mov dword [esi], 0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov eax, 2
cmp ax, cx
jne 0x4d419f
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
mov dword [esi], 0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov eax, ebx
mov dword [esp + 0xc], 0x300
shr eax, 0x10
cmp word [esp + 0xc], ax
jne 0x4d41f3
mov eax, 0x425
cmp cx, ax
jne 0x4d41ed
sub esp, 0x10
lea esi, [edi + 0x44]
lea ecx, [edi + 0x40]
push esi
push eax
call fcn.004d4600
push 1
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [esi]
xor edx, edx
cmp dword [ecx - 0xc], edx
setne dl
push edx
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov esi, dword [ebp + 0x18]
mov dword [esi], 0
mov eax, dword [ebp + 0xc]
lea edx, [edi + 0x20]
cmp eax, 5
jne 0x4d4266
xor eax, eax
test edx, edx
cmove edi, eax
cmp byte [edx + 0x1c], al
je 0x4d4237
push 0xe801
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp ebx, 2
jne 0x4d4228
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4d423c
test ebx, ebx
jne 0x4d4237
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4d423c
cmp ebx, 1
je 0x4d4286
mov ecx, dword [ebp + 0x14]
mov eax, ecx
shr eax, 0x10
cwde
push eax
movsx eax, cx
lea ecx, [edi + 0x20]
push eax
call fcn.004d4b80
mov dword [esi], 0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x24
jne 0x4d429a
cmp dword [edx + 0x14], 0xffffffff
je 0x4d4286
cmp dword [edx + 0x18], 0xffffffff
je 0x4d4286
mov ecx, dword [ebp + 0x14]
mov eax, dword [edx + 0x14]
mov dword [ecx + 0x18], eax
mov eax, dword [edx + 0x18]
mov dword [ecx + 0x1c], eax
mov dword [esi], 0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x4d4600
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
mov esi, ecx
mov dword [esp + 0xc], 1
push edi
push dword [ebp + 8]
lea eax, [esi - 0x40]
neg esi
sbb esi, esi
and esi, eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
mov dword [esp + 0x18], eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ebx, eax
test ebx, ebx
js 0x4d46f4
mov edi, dword [ebp + 0xc]
mov ecx, 1
mov edx, dword [edi]
mov eax, dword [edx - 8]
sub ecx, dword [edx - 4]
sub eax, ebx
or ecx, eax
jge 0x4d4660
push ebx
mov ecx, edi
call fcn.00414280
mov edx, dword [edi]
cmp ebx, dword [edx - 8]
jg 0x4d46f4
mov dword [edx - 0xc], ebx
xor ecx, ecx
mov eax, dword [edi]
mov word [eax + ebx*2], cx
lea eax, [ebx + 1]
push eax
push edx
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edx, eax
mov eax, dword [edi]
mov dword [esp + 0x14], edx
test eax, eax
jne 0x4d4693
xor ecx, ecx
jmp 0x4d46a9
push dword [eax - 8]
push eax
call fcn.00528cc5
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x4d46f4
mov edx, dword [esp + 0x14]
mov eax, dword [edi]
cmp ecx, dword [eax - 8]
jg 0x4d46f4
mov dword [eax - 0xc], ecx
mov eax, dword [edi]
xor edi, edi
mov word [eax + ecx*2], di
cmp edx, ebx
jge 0x4d46e7
push 0xffffffffffffffff
mov dword [esp + 0x14], edi
call dword [sym.imp.USER32.dll_MessageBeep]
push dword [ebp + 8]
lea ecx, [esi + 0x40]
neg ecx
sbb ecx, ecx
and ecx, esi
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
push 0x80070057
call fcn.004143a0
int3
Function at 0x4d61a0
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5627f8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x5d0074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], 0x57dd44
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x28]
call dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [ebp - 0x24]
push ecx
push 0x28
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4d6251
lea eax, [ebp - 0x1c]
push eax
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push 0
push 0
push 0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 1
push eax
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x14], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4d6251
push 0x80040002
push 6
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
je 0x4d6251
mov bl, 1
jmp 0x4d6253
xor bl, bl
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], 0x57dd44
test eax, eax
je 0x4d6276
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x24], 0
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.00520c02
mov esp, ebp
pop ebp
ret
Function at 0x4ddac0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5631f2
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x5d0074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
xor eax, eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov dword [ebp - 4], eax
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], eax
mov byte [ebp - 4], 1
mov dword [edi + 0x24], eax
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], eax
mov byte [ebp - 4], 2
lea eax, [edi + 0x30]
mov dword [ebp - 0x14], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov byte [ebp - 4], 3
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov byte [ebp - 4], 5
mov dword [edi + 0x50], 0
mov byte [ebp - 4], 6
lea esi, [edi + 0x58]
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00425920
mov dword [esi], eax
mov byte [ebp - 4], 9
mov ecx, edi
call fcn.004dddf0
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.msi.dll_MsiGetFeatureInfoW]
cmp eax, 0xffffffff
jne 0x4ddba4
push esi
call dword [sym.imp.msi.dll_MsiGetFeatureCostA]
mov esi, eax
mov dword [edi + 0x4c], 1
jmp 0x4ddbab
mov dword [edi + 0x4c], 0
mov dword [edi + 0x48], esi
test esi, esi
jne 0x4ddbb5
mov dword [edi + 0x54], esi
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4de2e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5633c0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x5d0074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov esi, ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x20], 0x57dd44
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x4de32f
mov eax, dword [eax]
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, dword [ebp - 0x1c]
je 0x4de35b
mov edx, dword [ebp - 0x20]
lea ecx, [ebp - 0x20]
call dword [edx + 4]
mov dword [ebp - 0x1c], edi
push ebx
push esi
call dword [sym.imp.msi.dll_MsiRecordGetStringW]
push ecx
push 0xc800
lea ecx, [ebp - 0x2c]
mov dword [ebp + 8], eax
xor edi, edi
call fcn.00418120
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x2c]
nop dword [eax]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0xc800
push eax
push esi
push ebx
push dword [ebp - 0x18]
call dword [sym.imp.msi.dll_MsiRecordSetStringA]
test eax, eax
jne 0x4de3b5
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
push esi
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0x14]
add edi, eax
test eax, eax
jne 0x4de380
cmp dword [ebp + 8], edi
sete bl
mov byte [ebp - 4], 0
test esi, esi
je 0x4de401
mov ecx, dword [ebp - 0x24]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x4de3e2
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4de438
push ecx
push esi
call fcn.00520c13
add esp, 8
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x57dd44
test ecx, ecx
je 0x4de424
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x1c], 0
mov al, bl
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.00526089
int3
Function at 0x4e4bb0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56473f
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5d0074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov edi, dword [ebp + 8]
push edi
call fcn.00406d00
mov dword [ebp - 4], 0
lea eax, [edi + 0x18]
lea ecx, [ebx + 0x18]
push eax
call fcn.00406d00
mov byte [ebp - 4], 1
lea eax, [edi + 0x30]
lea ecx, [ebx + 0x30]
push eax
call fcn.00406d00
mov byte [ebp - 4], 2
lea esi, [ebx + 0x48]
mov eax, dword [edi + 0x48]
lea ecx, [esi + 4]
mov dword [esi], eax
lea eax, [edi + 0x4c]
push eax
mov dword [ebp + 8], esi
call fcn.00406d00
mov byte [ebp - 4], 3
lea eax, [edi + 0x64]
lea ecx, [esi + 0x1c]
push eax
call fcn.00406d00
mov byte [ebp - 4], 4
mov eax, dword [edi + 0x7c]
mov dword [esi + 0x34], eax
mov eax, dword [edi + 0x80]
mov dword [esi + 0x38], eax
mov eax, dword [edi + 0x84]
mov dword [esi + 0x3c], eax
mov eax, dword [edi + 0x88]
mov dword [esi + 0x40], eax
mov dword [ebp - 4], 0xffffffff
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 4
Function at 0x4e57c0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x564af8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x5d0074]
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, ecx
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
call dword [eax + 0x34]
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
push eax
lea ecx, [ebp - 0x28]
call fcn.00406d00
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
push 1
push 0x57dfd4
call fcn.00419f20
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
call dword [eax + 0x34]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 4]
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x4e5834
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00419f20
mov eax, dword [ebp - 0x18]
lea esi, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
mov edx, 0x811c9dc5
cmovae esi, dword [ebp - 0x28]
lea edi, [eax + eax]
xor eax, eax
test edi, edi
je 0x4e5871
nop word [eax + eax]
movzx ecx, byte [eax + esi]
inc eax
xor ecx, edx
imul edx, ecx, 0x1000193
cmp eax, edi
jb 0x4e5860
and edx, dword [0x5d6624]
mov ecx, dword [0x5d6618]
mov ebx, dword [0x5d6610]
mov eax, dword [ecx + edx*8]
lea edx, [edx*8 + 4]
mov dword [ebp - 0x2c], eax
mov esi, eax
mov dword [ebp - 0x30], edx
cmp eax, ebx
jne 0x4e589d
mov eax, ebx
jmp 0x4e58a2
mov eax, dword [edx + ecx]
mov eax, dword [eax]
cmp esi, eax
je 0x4e5910
cmp dword [ebp - 0x14], 8
lea edi, [esi + 8]
mov eax, dword [edi + 0x10]
lea edx, [ebp - 0x28]
cmovae edx, dword [ebp - 0x28]
mov ecx, edi
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x34], eax
jb 0x4e58c4
mov ecx, dword [edi]
cmp eax, dword [ebp - 0x18]
jne 0x4e58d6
push eax
call fcn.00406f00
add esp, 4
test eax, eax
je 0x4e58e6
mov esi, dword [esi]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [0x5d6618]
mov edx, dword [ebp - 0x30]
jmp 0x4e5895
cmp dword [edi + 0x14], 8
jb 0x4e58ee
mov edi, dword [edi]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x34]
jne 0x4e5910
push eax
mov edx, edi
call fcn.00406f00
add esp, 4
test eax, eax
je 0x4e5912
mov esi, ebx
mov dword [ebp - 4], 0xffffffff
xor eax, eax
cmp esi, ebx
lea edi, [esi + 0x20]
lea ecx, [ebp - 0x28]
cmove edi, eax
call fcn.00407c80
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.00520c02
mov esp, ebp
pop ebp
ret
Function at 0x4e59c0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub esp, 0x20
cmp byte [0x5d6408], 0
mov eax, ecx
mov dword [esp + 0x18], eax
je 0x4e5b2b
push ebx
call fcn.004e57c0
mov ebx, eax
mov dword [esp + 0x20], ebx
test ebx, ebx
je 0x4e5b2a
mov ecx, dword [ebx + 4]
mov eax, 0x66666667
sub ecx, dword [ebx]
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [esp + 0xc], ecx
je 0x4e5b2a
push ebp
mov ebp, dword [esp + 0x2c]
xor ecx, ecx
push esi
push edi
mov dword [esp + 0x14], ecx
mov ebx, dword [ebx]
mov esi, ebp
mov eax, dword [ebp + 0x10]
add ebx, ecx
cmp dword [ebp + 0x14], 8
mov dword [esp + 0x24], ebx
mov dword [esp + 0x10], eax
jb 0x4e5a31
mov esi, dword [ebp]
lea edi, [eax + eax]
mov edx, 0x811c9dc5
xor eax, eax
test edi, edi
je 0x4e5a51
nop
movzx ecx, byte [eax + esi]
inc eax
xor ecx, edx
imul edx, ecx, 0x1000193
cmp eax, edi
jb 0x4e5a40
mov eax, dword [ebx + 0x48]
mov ecx, dword [ebx + 0x3c]
and eax, edx
mov ebx, dword [ebx + 0x34]
mov edx, dword [ecx + eax*8]
lea eax, [eax*8 + 4]
add eax, ecx
mov dword [esp + 0x1c], edx
mov esi, edx
mov dword [esp + 0x20], eax
cmp edx, ebx
jne 0x4e5a7a
mov eax, ebx
jmp 0x4e5a7e
mov eax, dword [eax]
mov eax, dword [eax]
cmp esi, eax
je 0x4e5af5
cmp dword [ebp + 0x14], 8
lea edi, [esi + 8]
mov edx, ebp
jb 0x4e5a90
mov edx, dword [ebp]
cmp dword [edi + 0x14], 8
mov ecx, edi
mov ebp, dword [edi + 0x10]
jb 0x4e5a9d
mov ecx, dword [edi]
cmp ebp, dword [esp + 0x10]
jne 0x4e5ab0
push ebp
call fcn.00406f00
add esp, 4
test eax, eax
je 0x4e5ac0
mov esi, dword [esi]
mov ebp, dword [esp + 0x34]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
jmp 0x4e5a72
cmp dword [edi + 0x14], 8
jb 0x4e5ac8
mov edi, dword [edi]
mov eax, dword [esp + 0x34]
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4e5ad6
mov ecx, dword [eax]
mov eax, dword [esp + 0x10]
cmp eax, ebp
jne 0x4e5aed
push eax
mov edx, edi
call fcn.00406f00
add esp, 4
test eax, eax
je 0x4e5aef
mov esi, ebx
mov ebp, dword [esp + 0x34]
jmp 0x4e5af7
mov esi, ebx
cmp esi, ebx
je 0x4e5b0d
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
push eax
add eax, 0x18
push eax
call fcn.004e5b40
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x2c]
add ecx, 0x50
sub dword [esp + 0x18], 1
mov dword [esp + 0x14], ecx
jne 0x4e5a17
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
Function at 0x4e6930
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x564d4c
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5d0074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov esi, dword [ebp + 8]
push esi
call fcn.00406d00
mov dword [ebp - 4], 0
lea eax, [esi + 0x18]
lea ecx, [ebx + 0x18]
push eax
call fcn.00406d00
mov byte [ebp - 4], 1
add ebx, 0x30
mov eax, dword [esi + 0x30]
lea edi, [esi + 0x30]
lea esi, [ebx + 4]
mov dword [ebp + 8], ebx
push 0
mov dword [ebx], eax
push 0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004e7110
mov dword [esi], eax
mov byte [ebp - 4], 4
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov byte [ebp - 4], 5
mov ecx, ebx
push edi
call fcn.004e6fb0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
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 0x4e7060
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
mov ebp, ecx
cmp dword [edi + 0x1c], 8
lea edx, [edi + 8]
mov ebx, dword [edx + 0x10]
jb 0x4e7078
mov edx, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
add ebx, ebx
je 0x4e7094
movzx eax, byte [ecx + edx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x4e7083
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0xc]
and eax, esi
lea edx, [eax*8]
mov eax, dword [ecx + edx]
add ecx, edx
cmp dword [ecx + 4], edi
jne 0x4e70ca
cmp eax, edi
jne 0x4e70c2
mov eax, dword [ebp + 4]
mov dword [ecx], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 4]
mov dword [edx + ecx + 4], eax
jmp 0x4e70d2
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x4e70d2
cmp eax, edi
jne 0x4e70d6
mov eax, dword [edi]
mov dword [ecx], eax
mov edi, dword [esp + 0x18]
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 [ebp + 8]
call fcn.00407c80
push 0x20
push edi
call fcn.00520c13
mov eax, dword [esp + 0x1c]
add esp, 8
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
ret 8
Function at 0x4e7210
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov eax, dword [esp + 8]
cmp dword [eax + 0x1c], 8
push ebx
mov ebx, dword [eax + 0x18]
push ebp
push esi
lea esi, [eax + 8]
mov ebp, ecx
push edi
jb 0x4e7228
mov esi, dword [esi]
xor edx, edx
mov edi, 0x811c9dc5
add ebx, ebx
je 0x4e7244
movzx ecx, byte [edx + esi]
inc edx
xor ecx, edi
imul edi, ecx, 0x1000193
cmp edx, ebx
jb 0x4e7233
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0xc]
and ecx, edi
lea esi, [ecx*8]
mov ecx, dword [edx + esi]
add edx, esi
cmp dword [edx + 4], eax
jne 0x4e727a
cmp ecx, eax
jne 0x4e7272
mov ecx, dword [ebp + 4]
mov dword [edx], ecx
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 4]
mov dword [esi + edx + 4], ecx
jmp 0x4e7282
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
jmp 0x4e7282
cmp ecx, eax
jne 0x4e7282
mov ecx, dword [eax]
mov dword [edx], ecx
mov esi, dword [esp + 0x14]
lea ecx, [ebp + 4]
push eax
push esi
call fcn.004e77d0
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret 8