joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4aed20
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov esi, ecx
push edi
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x4aed34
mov eax, dword [esi]
push 1
push 0
push 0x594a28
push eax
push 0x5861d0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edi, eax
cmp edi, 0x20
ja 0x4aed8f
push esi
mov edx, 0x594bf8
lea ecx, [ebp - 0x18]
call fcn.004201d0
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x4aed6b
mov eax, dword [eax]
push 1
push 0
push eax
push str.rundll32.exe
push 0x5861d0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x18]
mov edi, eax
call fcn.00403d90
cmp edi, 0x20
pop edi
seta al
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4aef00
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55afb0
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x5b706c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov ebx, ecx
call fcn.004a8030
push ebx
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.0040c7b0
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.004af050
push 0x38
lea eax, [ebp - 0x78]
mov dword [ebp - 0x7c], 0x3c
push 0
push eax
call fcn.00525340
add esp, 0xc
mov dword [ebp - 0x78], 0x400
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov ecx, str.runas
cmovae eax, dword [ebp - 0x28]
cmp esi, 0x3c
mov dword [ebp - 0x64], eax
mov eax, 0x5861d0
cmovge eax, ecx
cmp dword [ebx + 0x14], 8
mov dword [ebp - 0x70], eax
jb 0x4aefb0
mov ebx, dword [ebx]
cmp dword [edi + 0x10], 0
mov dword [ebp - 0x6c], ebx
je 0x4aefc4
cmp dword [edi + 0x14], 8
jb 0x4aefc1
mov edi, dword [edi]
mov dword [ebp - 0x68], edi
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x74], 0
push eax
mov dword [ebp - 0x60], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp eax, 1
lea ecx, [ebp - 0x40]
sete bl
call fcn.00403d90
lea ecx, [ebp - 0x28]
call fcn.00403d90
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret
Function at 0x4af350
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x5b706c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword fs:[0x2c]
push esi
mov esi, edx
push edi
mov edx, dword [eax]
mov edi, ecx
mov eax, dword [0x5c1c4c]
cmp eax, dword [edx + 4]
jle 0x4af3c1
push 0x5c1c4c
call fcn.0051eddf
add esp, 4
cmp dword [0x5c1c4c], 0xffffffff
jne 0x4af3c1
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4af3af
push str.QueryFullProcessImageNameW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x5c1c4c
mov dword [0x5c1c50], eax
call fcn.0051ed95
add esp, 4
push 0x410
lea eax, [ebp - 0x418]
push 0
push eax
call fcn.00525340
mov eax, dword [0x5c1c50]
add esp, 0xc
mov dword [ebp - 0x41c], 0x208
test eax, eax
jne 0x4af42d
push 0x208
lea eax, [ebp - 0x418]
push eax
push edi
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x4af458
push eax
lea eax, [ebp - 0x418]
mov ecx, esi
push eax
call fcn.00403df0
mov ecx, esi
call fcn.004a5f50
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x41c]
push ecx
lea ecx, [ebp - 0x418]
push ecx
push 0
push edi
call eax
test eax, eax
je 0x4af458
push dword [ebp - 0x41c]
lea eax, [ebp - 0x418]
mov ecx, esi
push eax
call fcn.00403df0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret
Function at 0x4b13d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x5b706c]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
cmp dword [ebx + 0x24], 8
push esi
lea esi, [ebx + 0x10]
mov dword [ebp - 0x14], ecx
push edi
mov dword [ebp - 0x18], edx
mov eax, esi
mov dword [esi + 0x10], 0
jb 0x4b1403
mov eax, dword [esi]
xor edi, edi
mov word [eax], di
lea edi, [ebx + 4]
mov eax, dword [edi]
mov dword [edi + 4], eax
mov dword [ebx], 0
cmp dword [ecx], 0
jne 0x4b1433
mov eax, 6
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret 8
mov eax, dword [edx + 0xc]
mov ecx, dword [edx + 8]
inc eax
inc ecx
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0xc], ecx
cmp ecx, eax
ja 0x4b145d
mov dword [esi + 0x10], ecx
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x4b1455
mov eax, dword [esi]
xor edx, edx
mov word [eax + ecx*2], dx
jmp 0x4b1469
sub ecx, eax
push 0
push ecx
mov ecx, esi
call fcn.00426da0
lea eax, [ebp - 0xd]
mov byte [ebp - 0xd], 0
push eax
push dword [ebp - 8]
mov ecx, edi
call fcn.00436df0
cmp dword [esi + 0x14], 8
jb 0x4b1483
mov esi, dword [esi]
lea eax, [ebp - 8]
push eax
push dword [edi]
lea eax, [ebp - 0xc]
push ebx
push 0
push eax
mov eax, dword [ebp - 0x18]
push esi
push dword [eax]
mov eax, dword [ebp - 0x14]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov dword [ebp - 0x14], eax
lea ecx, [ebx + 0x10]
test eax, eax
jne 0x4b14ea
mov esi, dword [ecx + 0x10]
mov edx, dword [ebp - 0xc]
cmp edx, esi
ja 0x4b14d3
mov dword [ecx + 0x10], edx
cmp dword [ecx + 0x14], 8
jb 0x4b14c0
mov ecx, dword [ecx]
xor eax, eax
mov word [ecx + edx*2], ax
mov ecx, edi
push edi
push dword [ebp - 8]
call fcn.00437b30
jmp 0x4b1503
push 0
sub edx, esi
push edx
call fcn.00426da0
push edi
push dword [ebp - 8]
mov ecx, edi
call fcn.00437b30
jmp 0x4b1503
cmp dword [ecx + 0x14], 8
mov dword [ecx + 0x10], 0
jb 0x4b14f9
mov ecx, dword [ecx]
xor eax, eax
mov word [ecx], ax
mov eax, dword [edi]
mov dword [edi + 4], eax
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret 8
Function at 0x4b1520
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x5b706c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
mov dword [ebp - 0x10], ebx
lea esi, [edi + 0x10]
cmp esi, eax
je 0x4b155a
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x4b154f
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, esi
call fcn.00403df0
mov eax, dword [edi + 4]
mov dword [edi + 8], eax
mov dword [edi], 0
mov eax, dword [ebx]
test eax, eax
jne 0x4b1584
mov eax, 6
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret 8
xor ebx, ebx
cmp dword [edi + 0x20], ebx
je 0x4b1595
cmp dword [esi + 0x14], 8
mov ebx, esi
jb 0x4b1595
mov ebx, dword [esi]
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
push 0
push edi
push 0
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4b15de
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x4b15de
mov byte [ebp - 9], al
lea eax, [ebp - 9]
push eax
push ecx
lea ecx, [edi + 4]
call fcn.00436df0
lea eax, [ebp - 8]
push eax
push dword [edi + 4]
mov eax, dword [ebp - 0x10]
push edi
push 0
push ebx
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret 8

Function at 0x4b1600
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ecx]
test edi, edi
jne 0x4b1612
lea eax, [edi + 6]
pop edi
pop ebp
ret 4
push ebx
push esi
mov esi, dword [ebp + 8]
xor edx, edx
xor ebx, ebx
cmp dword [esi + 0x20], edx
je 0x4b162b
cmp dword [esi + 0x24], 8
lea edx, [esi + 0x10]
jb 0x4b162b
mov edx, dword [edx]
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
cmp eax, ecx
cmovne ebx, eax
sub ecx, eax
push ecx
push ebx
push dword [esi]
push 0
push edx
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop esi
pop ebx
pop edi
pop ebp
ret 4
Function at 0x4b29e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x811c9dc5
sub edx, edi
sar edx, 1
add edx, edx
je 0x4b2a11
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x4b2a00
pop edi
mov eax, esi
pop esi
pop ebp
ret 8

Function at 0x4b3c40
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x5b706c]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
jae 0x4b3d85
cmp dword [edi + 0x28], 0
jne 0x4b3d85
cmp dword [edi + 0x24], 8
push ebx
mov ebx, dword [edi]
push esi
lea esi, [edi + 0x10]
mov dword [esi + 0x10], 0
mov eax, esi
jb 0x4b3c81
mov eax, dword [esi]
xor ecx, ecx
mov word [eax], cx
cmp dword [ebx], ecx
jne 0x4b3ca8
mov ebx, 6
pop esi
mov dword [edi + 0x28], ebx
test ebx, ebx
pop ebx
setne al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0xc]
mov ecx, dword [esi + 0x10]
inc eax
mov dword [ebp - 8], eax
cmp eax, ecx
ja 0x4b3ccb
mov dword [esi + 0x10], eax
mov ecx, esi
cmp dword [esi + 0x14], 8
jb 0x4b3cc3
mov ecx, dword [esi]
xor edx, edx
mov word [ecx + eax*2], dx
jmp 0x4b3cd7
sub eax, ecx
mov ecx, esi
push 0
push eax
call fcn.00426da0
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4b3ce1
mov eax, dword [esi]
push 0
push 0
push 0
push 0
lea ecx, [ebp - 8]
push ecx
push eax
push dword [edi + 4]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ebx, eax
test ebx, ebx
jne 0x4b3d58
mov eax, dword [esi + 0x10]
mov ecx, dword [ebp - 8]
cmp ecx, eax
ja 0x4b3d33
mov dword [esi + 0x10], ecx
cmp dword [esi + 0x14], 8
jb 0x4b3d14
mov esi, dword [esi]
xor eax, eax
test ebx, ebx
mov word [esi + ecx*2], ax
pop esi
mov dword [edi + 0x28], ebx
setne al
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret
sub ecx, eax
push 0
push ecx
mov ecx, esi
call fcn.00426da0
pop esi
mov dword [edi + 0x28], ebx
test ebx, ebx
pop ebx
setne al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x4b3d67
mov esi, dword [esi]
xor eax, eax
test ebx, ebx
mov word [esi], ax
pop esi
mov dword [edi + 0x28], ebx
setne al
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop edi
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret
Function at 0x4b4520
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 8]
push edi
mov dword [ebp - 0x14], ebx
mov edx, ecx
mov dword [ebp - 4], ecx
cmp dword [ecx + 0x14], 0x10
jb 0x4b453d
mov edx, dword [ecx]
cmp dword [ebx + 0x14], 0x10
mov eax, ebx
jb 0x4b4547
mov eax, dword [ebx]
push dword [ecx + 0x10]
mov ecx, eax
push edx
mov edx, dword [ebx + 0x10]
call fcn.0040a610
add esp, 8
test al, al
jne 0x4b4682
mov edx, dword [ebp - 4]
mov edi, edx
mov dword [ebx + 0x3c], 0
mov ecx, dword [edx + 0x14]
mov eax, dword [edx + 0x10]
mov dword [ebp - 8], eax
mov dword [ebp - 0x1c], ecx
cmp ecx, 0x10
jb 0x4b457f
mov edi, dword [edx]
xor ecx, ecx
push esi
mov esi, 0x811c9dc5
test eax, eax
je 0x4b45a4
mov edx, eax
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x4b4590
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x24]
and eax, esi
mov esi, dword [ecx + eax*8]
add eax, eax
mov edi, dword [ecx + eax*4]
inc eax
mov dword [ebp - 0x10], edi
mov edi, dword [ebx + 0x1c]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x10], edi
jne 0x4b45ca
mov eax, edi
jmp 0x4b45ce
mov eax, dword [eax]
mov eax, dword [eax]
cmp esi, eax
je 0x4b4642
cmp dword [edx + 0x14], 0x10
mov dword [ebp - 0xc], edx
jb 0x4b45df
mov edx, dword [edx]
jmp 0x4b45e2
mov edx, dword [ebp - 0xc]
mov ebx, dword [esi + 0x1c]
lea ecx, [esi + 8]
mov dword [ebp - 0xc], ebx
cmp ebx, 0x10
mov ebx, dword [ebp - 0x14]
jb 0x4b45f6
mov ecx, dword [esi + 8]
push dword [ebp - 8]
mov eax, dword [esi + 0x18]
push edx
mov edx, eax
mov dword [ebp - 0x20], eax
call fcn.0040a610
add esp, 8
test al, al
jne 0x4b4618
mov esi, dword [esi]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x18]
jmp 0x4b45c1
cmp dword [ebp - 0xc], 0x10
lea eax, [esi + 8]
jb 0x4b4623
mov eax, dword [eax]
cmp dword [ebp - 0x1c], 0x10
mov ecx, dword [ebp - 4]
jb 0x4b462e
mov ecx, dword [ecx]
push dword [ebp - 0x20]
mov edx, dword [ebp - 8]
push eax
call fcn.0040a610
add esp, 8
test al, al
cmovne edi, esi
pop esi
cmp edi, dword [ebx + 0x1c]
je 0x4b46ab
mov ecx, dword [ebx + 0x48]
mov eax, dword [ecx]
cmp eax, ecx
je 0x4b465c
mov byte [eax + 0xc], 1
mov eax, dword [eax]
cmp eax, dword [ebx + 0x48]
jne 0x4b4651
mov ecx, dword [ebx + 0x38]
mov eax, dword [edi + 0x20]
cmp eax, ecx
jne 0x4b468c
lea eax, [ecx + 0x20]
cmp ebx, eax
je 0x4b4682
cmp dword [eax + 0x14], 0x10
mov edx, eax
jb 0x4b4677
mov edx, dword [eax]
push dword [eax + 0x10]
mov ecx, ebx
push edx
call fcn.00403f90
pop edi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [ebx + 0x3c], eax
add eax, 0x20
cmp ebx, eax
je 0x4b46ab
cmp dword [eax + 0x14], 0x10
mov ecx, eax
jb 0x4b46a0
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, ebx
call fcn.00403f90
cmp dword [ebx + 0x3c], 0
pop edi
setne al
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4b4ee0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
movzx edx, byte [eax + 8]
mov edi, ecx
movzx ecx, byte [eax + 9]
xor edx, 0x811c9dc5
imul edx, edx, 0x1000193
mov ebx, dword [ebp + 8]
xor edx, ecx
movzx ecx, byte [eax + 0xa]
imul edx, edx, 0x1000193
xor edx, ecx
movzx ecx, byte [eax + 0xb]
imul edx, edx, 0x1000193
xor edx, ecx
imul ecx, edx, 0x1000193
mov edx, dword [edi + 0x18]
and edx, ecx
lea esi, [edx*8]
mov edx, dword [edi + 0xc]
add edx, esi
mov ecx, dword [edx]
cmp dword [edx + 4], eax
jne 0x4b4f57
cmp ecx, eax
jne 0x4b4f4f
mov ecx, dword [edi + 4]
mov dword [edx], ecx
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 4]
mov dword [esi + edx + 4], ecx
jmp 0x4b4f5f
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
jmp 0x4b4f5f
cmp ecx, eax
jne 0x4b4f5f
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov esi, dword [eax]
push 0x10
push eax
mov dword [ecx], esi
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
dec dword [edi + 8]
call fcn.0051ec14
add esp, 8
mov dword [ebx], esi
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x4b5270
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x1c], 0x10
push ebx
mov ebx, dword [eax + 0x18]
push esi
lea esi, [eax + 8]
mov dword [ebp - 4], ecx
jb 0x4b5292
mov esi, dword [esi]
xor edx, edx
push edi
mov edi, 0x811c9dc5
test ebx, ebx
je 0x4b52b1
nop
movzx ecx, byte [edx + esi]
inc edx
xor ecx, edi
imul edi, ecx, 0x1000193
cmp edx, ebx
jb 0x4b52a0
mov ebx, dword [ebp - 4]
mov ecx, dword [ebx + 0x18]
mov edx, dword [ebx + 0xc]
and ecx, edi
pop edi
lea esi, [ecx*8]
mov ecx, dword [edx + esi]
add edx, esi
cmp dword [edx + 4], eax
jne 0x4b52eb
cmp ecx, eax
jne 0x4b52e3
mov ecx, dword [ebx + 4]
mov dword [edx], ecx
mov edx, dword [ebx + 0xc]
mov ecx, dword [ebx + 4]
mov dword [esi + edx + 4], ecx
jmp 0x4b52f3
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
jmp 0x4b52f3
cmp ecx, eax
jne 0x4b52f3
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov esi, dword [eax]
push eax
mov dword [ecx], esi
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
dec dword [ebx + 8]
call fcn.004b4e70
mov eax, dword [ebp - 8]
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4b5640
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55b6c8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x5b706c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 0xc]
lea esi, [eax + 0x20]
mov ebx, dword [ebp + 8]
push esi
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x34], esi
mov byte [ebp - 0x30], 1
call dword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
jne 0x4b5696
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 0x30], 1
mov dword [ebp - 4], 0
mov esi, ebx
cmp dword [ebx + 0x14], 0x10
mov edi, dword [ebx + 0x10]
mov dword [ebp - 0x14], edi
jb 0x4b56ad
mov esi, dword [ebx]
xor ecx, ecx
mov edx, 0x811c9dc5
test edi, edi
je 0x4b56c9
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x4b56b8
mov esi, dword [ebp - 0x10]
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0xc]
and eax, edx
mov esi, dword [esi + 4]
mov dword [ebp - 0x18], esi
mov edi, dword [ecx + eax*8]
add eax, eax
mov edx, dword [ecx + eax*4]
inc eax
mov dword [ebp - 0x1c], edx
lea eax, [ecx + eax*4]
mov dword [ebp - 0x20], eax
nop dword [eax]
cmp edx, esi
jne 0x4b56f8
mov eax, esi
jmp 0x4b56fc
mov eax, dword [eax]
mov eax, dword [eax]
cmp edi, eax
je 0x4b577e
cmp dword [ebx + 0x14], 0x10
mov edx, ebx
jb 0x4b570a
mov edx, dword [ebx]
mov esi, dword [edi + 0x1c]
lea ecx, [edi + 8]
mov dword [ebp - 0x24], esi
cmp esi, 0x10
mov esi, dword [ebp - 0x18]
jb 0x4b571e
mov ecx, dword [edi + 8]
push dword [ebp - 0x14]
mov eax, dword [edi + 0x18]
push edx
mov edx, eax
mov dword [ebp - 0x28], eax
call fcn.0040a610
add esp, 8
test al, al
jne 0x4b5740
mov edi, dword [edi]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
jmp 0x4b56f0
cmp dword [ebp - 0x24], 0x10
lea eax, [edi + 8]
jb 0x4b574b
mov eax, dword [eax]
cmp dword [ebx + 0x14], 0x10
jb 0x4b5753
mov ebx, dword [ebx]
push dword [ebp - 0x28]
mov edx, dword [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.0040a610
add esp, 8
test al, al
jne 0x4b5771
test al, al
mov ecx, esi
cmovne esi, edi
jmp 0x4b5780
mov ecx, dword [ebp - 0x10]
test al, al
cmovne esi, edi
mov ecx, dword [ecx + 4]
jmp 0x4b5780
mov ecx, esi
cmp esi, ecx
jne 0x4b5788
xor bl, bl
jmp 0x4b57a7
mov ecx, dword [ebp - 0x2c]
add esi, 0x20
cmp ecx, esi
je 0x4b57a5
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x4b579c
mov eax, dword [esi]
push dword [esi + 0x10]
push eax
call fcn.00403f90
mov bl, 1
mov eax, dword [ebp - 0x10]
add eax, 0x20
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
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 8
Function at 0x4b57d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55b6f8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x5b706c]
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 eax, ecx
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp + 8]
mov esi, ebx
cmp dword [ebx + 0x14], 0x10
mov edi, dword [ebx + 0x10]
jb 0x4b5810
mov esi, dword [ebx]
xor ecx, ecx
mov edx, 0x811c9dc5
test edi, edi
je 0x4b5834
nop dword [eax + eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x4b5820
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x1c]
and eax, edx
mov edx, dword [ebp - 0x2c]
mov ecx, dword [edx + 0x10]
mov dword [ebp - 0x38], ecx
mov esi, dword [ecx + eax*8]
add eax, eax
lea edi, [eax*4 + 4]
mov eax, dword [ecx + eax*4]
mov dword [ebp - 0x30], edi
mov edi, dword [edx + 8]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x3c], eax
nop dword [eax]
cmp eax, edi
jne 0x4b5868
mov eax, edi
jmp 0x4b5870
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + ecx]
mov eax, dword [eax]
cmp esi, eax
je 0x4b58dd
cmp dword [ebx + 0x14], 0x10
mov edx, ebx
jb 0x4b587e
mov edx, dword [ebx]
mov edi, dword [esi + 0x1c]
lea ecx, [esi + 8]
mov dword [ebp - 0x40], edi
cmp edi, 0x10
mov edi, dword [ebp - 0x34]
jb 0x4b5892
mov ecx, dword [esi + 8]
push dword [ebx + 0x10]
mov eax, dword [esi + 0x18]
push edx
mov edx, eax
mov dword [ebp - 0x44], eax
call fcn.0040a610
add esp, 8
test al, al
jne 0x4b58b4
mov esi, dword [esi]
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x3c]
jmp 0x4b5860
cmp dword [ebp - 0x40], 0x10
lea eax, [esi + 8]
jb 0x4b58bf
mov eax, dword [eax]
cmp dword [ebx + 0x14], 0x10
mov ecx, ebx
jb 0x4b58c9
mov ecx, dword [ebx]
push dword [ebp - 0x44]
mov edx, dword [ebx + 0x10]
push eax
call fcn.0040a610
add esp, 8
test al, al
cmovne edi, esi
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 8], edi
jne 0x4b58e9
xor esi, esi
jmp 0x4b58ec
mov esi, dword [edi + 0x20]
mov eax, 0xf
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 0
mov ecx, dword [edx + 0x24]
test ecx, ecx
je 0x4b5942
lea eax, [ebp - 0x28]
push eax
push ebx
call fcn.004b5640
test al, al
je 0x4b593f
test esi, esi
je 0x4b5930
mov eax, dword [esi]
lea ecx, [ebp - 0x28]
push ecx
mov ecx, esi
mov eax, dword [eax + 0xc]
call eax
test al, al
jne 0x4b593f
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
push eax
push ebx
call fcn.004b59a0
mov esi, eax
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x4b5971
mov ecx, dword [ebp - 0x28]
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b5967
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b5991
push edx
push ecx
call fcn.0051ec14
add esp, 8
mov eax, esi
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.0051e9d8
mov esp, ebp
pop ebp
ret 4
call fcn.00528129
int3
Function at 0x4b90e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, dword [ebp + 8]
mov eax, ecx
push esi
push edi
mov dword [ebp - 4], eax
mov esi, ebx
cmp dword [ebx + 0x14], 0x10
lea ecx, [eax + 0x114]
mov edi, dword [ebx + 0x10]
mov dword [ebp - 0x20], ecx
jb 0x4b9107
mov esi, dword [ebx]
xor ecx, ecx
mov edx, 0x811c9dc5
test edi, edi
je 0x4b9126
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x4b9112
mov eax, dword [ebp - 4]
mov edi, dword [ebp - 4]
mov eax, dword [eax + 0x12c]
and eax, edx
mov ecx, dword [edi + 0x120]
mov edi, dword [edi + 0x118]
mov dword [ebp - 8], edi
mov esi, dword [ecx + eax*8]
add eax, eax
mov edx, dword [ecx + eax*4]
inc eax
mov dword [ebp - 0xc], edx
lea eax, [ecx + eax*4]
mov dword [ebp - 0x10], eax
cmp edx, edi
jne 0x4b915a
mov eax, edi
jmp 0x4b915e
mov eax, dword [eax]
mov eax, dword [eax]
cmp esi, eax
je 0x4b91cb
cmp dword [ebx + 0x14], 0x10
mov edx, ebx
jb 0x4b916c
mov edx, dword [ebx]
mov edi, dword [esi + 0x1c]
lea ecx, [esi + 8]
mov dword [ebp - 0x14], edi
cmp edi, 0x10
mov edi, dword [ebp - 8]
jb 0x4b9180
mov ecx, dword [esi + 8]
push dword [ebx + 0x10]
mov eax, dword [esi + 0x18]
push edx
mov edx, eax
mov dword [ebp - 0x18], eax
call fcn.0040a610
add esp, 8
test al, al
jne 0x4b91a2
mov esi, dword [esi]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
jmp 0x4b9152
cmp dword [ebp - 0x14], 0x10
lea eax, [esi + 8]
jb 0x4b91ad
mov eax, dword [eax]
cmp dword [ebx + 0x14], 0x10
mov ecx, ebx
jb 0x4b91b7
mov ecx, dword [ebx]
push dword [ebp - 0x18]
mov edx, dword [ebx + 0x10]
push eax
call fcn.0040a610
add esp, 8
test al, al
cmovne edi, esi
mov eax, dword [ebp - 4]
cmp edi, dword [eax + 0x118]
je 0x4b91e1
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
push ebx
push eax
call fcn.004bb2f0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp + 0xc]
pop edi
pop esi
mov dword [eax + 0x20], ecx
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 8