joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4abb60
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov eax, reloc.kernel32.dll_GetVolumeNameForVolumeMountPointW
call fcn.004b8fc0
mov eax, dword [0x52bd60]
xor eax, esp
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x94]
push ebx
push ebp
mov ebp, dword [esp + 0xa4]
push esi
mov esi, dword [esp + 0x9c]
mov dword [esp + 0xc], eax
xor eax, eax
push edi
mov dword [esp + 0x14], ecx
test ebp, ebp
je 0x4abbaf
mov eax, 1
mov dword [esi], ebp
jmp 0x4abbb1
mov ebp, dword [esi]
test ecx, ecx
je 0x4abc94
push ebp
call fcn.00481560
mov ebx, eax
add esp, 4
cmp ebx, 0x80
jle 0x4abbe0
push str.j____int_sizeof_ctx__key_
push reloc.kernel32.dll_EnumSystemLocalesA
push str..cryptohmachmac.c
call fcn.004676d0
add esp, 0xc
mov edi, dword [esp + 0xa8]
cmp ebx, edi
jge 0x4abc37
mov ecx, dword [esp + 0x10]
push ecx
lea ebx, [esi + 4]
push ebp
push ebx
call fcn.00485e20
add esp, 0xc
test eax, eax
je 0x4abd36
mov edx, dword [esp + 0x14]
push edi
push edx
push ebx
call fcn.00485fd0
add esp, 0xc
test eax, eax
je 0x4abd36
lea edi, [esi + 0x4c]
push edi
lea eax, [esi + 0x50]
push eax
push ebx
call fcn.00485fe0
add esp, 0xc
test eax, eax
je 0x4abd36
jmp 0x4abc71
cmp edi, 0x80
jbe 0x4abc53
push str.len_0__len__int_sizeof_ctx__key_
push reloc.kernel32.dll_GetModuleFileNameA
push str..cryptohmachmac.c
call fcn.004676d0
add esp, 0xc
mov ecx, dword [esp + 0x14]
push edi
push ecx
lea edx, [esi + 0x50]
push edx
call fcn.004b88c0
mov eax, dword [esp + 0xb4]
lea edi, [esi + 0x4c]
add esp, 0xc
mov dword [edi], eax
mov edi, dword [edi]
cmp edi, 0x80
je 0x4abc9c
mov ecx, reloc.kernel32.dll_WaitForMultipleObjectsEx
sub ecx, edi
push ecx
lea edx, [edi + esi + 0x50]
push 0
push edx
call fcn.004b9070
add esp, 0xc
jmp 0x4abc9c
test eax, eax
je 0x4abd22
xor eax, eax
mov edi, edi
mov cl, byte [esi + eax + 0x50]
xor cl, 0x36
mov byte [esp + eax + 0x18], cl
inc eax
cmp eax, 0x80
jl 0x4abca0
mov edi, dword [esp + 0x10]
push edi
lea ebx, [esi + 0x1c]
push ebp
push ebx
call fcn.00485e20
add esp, 0xc
test eax, eax
je 0x4abd36
push ebp
call fcn.00481560
push eax
lea edx, [esp + 0x20]
push edx
push ebx
call fcn.00485fd0
add esp, 0x10
test eax, eax
je 0x4abd36
xor eax, eax
mov cl, byte [esi + eax + 0x50]
xor cl, 0x5c
mov byte [esp + eax + 0x18], cl
inc eax
cmp eax, 0x80
jl 0x4abce4
push edi
lea ebx, [esi + 0x34]
push ebp
push ebx
call fcn.00485e20
add esp, 0xc
test eax, eax
je 0x4abd36
push ebp
call fcn.00481560
push eax
lea edx, [esp + 0x20]
push edx
push ebx
call fcn.00485fd0
add esp, 0x10
test eax, eax
je 0x4abd36
lea eax, [esi + 0x1c]
push eax
add esi, 4
push esi
call fcn.00486140
add esp, 8
test eax, eax
jne 0x4abd3a
xor eax, eax
jmp 0x4abd3f
mov eax, 1
mov ecx, dword [esp + 0x98]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b4591
add esp, 0x8c
ret
Function at 0x4c6539
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x52bd60]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.004bdb59
mov dword [ebp - 0x14], eax
cmp dword [0x53009c], edi
jne 0x4c662a
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x4c65b7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4c670a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x4c670a
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4c670a
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x53009c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x5300a0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push reloc.kernel32.dll_SuspendThread
push esi
mov dword [0x5300a4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x5300ac], eax
test eax, eax
je 0x4c6627
push reloc.kernel32.dll_SuspendThread
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x5300a8], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4c664f
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4c6642
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x4c6664
push 4
pop eax
jmp 0x4c670c
cmp dword [ebp - 0x14], edi
je 0x4c6664
push dword [0x53009c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4c6649
mov eax, dword [0x5300a8]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x4c66c2
cmp dword [0x5300ac], esi
je 0x4c66c2
push eax
call ebx
push dword [0x5300ac]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4c66c2
test eax, eax
je 0x4c66c2
call ecx
test eax, eax
je 0x4c66b7
lea ecx, [ebp - 0x24]
push ecx
push reloc.kernel32.dll_AssignProcessToJobObject
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4c66b7
test byte [ebp - 8], 1
jne 0x4c66c2
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x4c66f2
mov eax, dword [0x5300a0]
cmp eax, esi
je 0x4c66ef
push eax
call ebx
test eax, eax
je 0x4c66ef
call eax
mov edi, eax
test edi, edi
je 0x4c66ef
mov eax, dword [0x5300a4]
cmp eax, esi
je 0x4c66ef
push eax
call ebx
test eax, eax
je 0x4c66ef
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x53009c]
call ebx
test eax, eax
je 0x4c670a
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x4c670c
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b4591
leave
ret
Function at 0x4cf46e
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.004c21f6
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x4cf4a6
xor eax, eax
jmp 0x4cf4d2
cmp esi, dword [ebp - 4]
je 0x4cf4cf
cmp dword [ebp + 0xc], 0
je 0x4cf4cf
push dword [edi + 0x9c]
call fcn.004cf07c
push dword [edi + 0x9c]
mov esi, eax
call fcn.004bde71
pop ecx
pop ecx
cmp esi, eax
je 0x4cf4a2
xor eax, eax
inc eax
pop edi
pop esi
leave
ret
Function at 0x100032d0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d7a25
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x10107f80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 0xc]
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
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edi
push eax
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x1c]
push ebx
push eax
call fcn.100031b0
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x10003363
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 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 8
cmp dword [edi + 8], 0xccccccc
je 0x100034bf
lea eax, [edi + 4]
mov dword [ebp - 0x14], eax
push 0x14
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
call fcn.100acdf9
mov ecx, dword [ebx]
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [esi + 8], ecx
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov eax, dword [edi + 8]
mov ebx, dword [edi + 0x1c]
inc eax
movss xmm3, dword [edi]
mov dword [ebp - 4], 1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100e2720]
mov eax, ebx
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x100e2720]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x10003461
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x1c], xmm0
fld qword [ebp - 0x1c]
fstp qword [esp]
call fcn.100be0f0
fstp qword [ebp - 0x1c]
movsd xmm0, qword [ebp - 0x1c]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.100ad1b0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp ebx, ecx
jae 0x10003443
cmp ebx, 0x200
jae 0x10003441
shl ebx, 3
cmp ebx, ecx
jae 0x10003443
mov ebx, ecx
push ebx
mov ecx, edi
call fcn.10005b80
push dword [ebp + 0xc]
lea eax, [esi + 8]
mov ecx, edi
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.100031b0
mov edx, dword [eax]
jmp 0x10003464
mov edx, dword [ebp - 0x1c]
mov ebx, dword [edx + 4]
inc dword [edi + 8]
mov dword [esi], edx
mov dword [esi + 4], ebx
mov dword [ebx], esi
mov dword [edx + 4], esi
mov eax, dword [edi + 0x18]
and eax, dword [ebp + 0xc]
mov ecx, dword [edi + 0xc]
mov esi, dword [ebp - 0x14]
mov edi, dword [ecx + eax*8]
cmp edi, dword [esi]
mov esi, dword [ebp - 0x10]
jne 0x1000348f
mov dword [ecx + eax*8], esi
jmp 0x1000349e
cmp edi, edx
jne 0x10003498
mov dword [ecx + eax*8], esi
jmp 0x100034a2
cmp dword [ecx + eax*8 + 4], ebx
jne 0x100034a2
mov dword [ecx + eax*8 + 4], esi
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 1
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
push str.unordered_map_set_too_long
call fcn.100958d1
int3
Function at 0x10003d00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x10107f80]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x1f4
xorps xmm0, xmm0
mov dword [ebp - 0x204], 0
lea eax, [ebp - 0x1f8]
mov dword [ebp - 0x200], 0xf
push 0
movups xmmword [ebp - 0x214], xmm0
push eax
mov byte [ebp - 0x214], 0
mov dword [ebp - 0x1fc], 0
call fcn.100ae610
push 0x1f3
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x1f8]
push 0x1f4
push eax
call fcn.100b9596
mov ecx, dword [ebp - 0x200]
add esp, 0x1c
cmp ecx, 0xf
jbe 0x10003dab
mov edx, dword [ebp - 0x214]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10003da1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003e03
push ecx
push edx
call fcn.100ace29
add esp, 8
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
lea eax, [ebp - 0x1f8]
push 0x1f4
push eax
call fcn.10006ba0
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 2
push ecx
call fcn.100be021
add esp, 0x1c
lea eax, [ebp - 0x1fc]
push 0
push 0x1010d0a8
push 0x1f8
push eax
push dword [0x10107278]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ad151
mov esp, ebp
pop ebp
ret
call fcn.100b8fcf
int3

Function at 0x10003e80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x10107f80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [0x1010d08c]
push edi
push eax
push ecx
push esi
mov dword [ebp - 0x24], ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x10003eec
xorps xmm0, xmm0
mov eax, ebx
movups xmmword [ebx], xmm0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x10], 0
pop edi
mov dword [ebx + 0x14], 0xf
pop esi
mov byte [ebx], 0
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ad151
mov esp, ebp
pop ebp
ret
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push esi
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x10003eb4
push dword [ebp - 0x20]
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [ebp - 0x20]
mov esi, eax
push dword [ebp - 0x24]
push esi
call fcn.100ae930
add esp, 0xc
mov dword [ebp - 0xc], 0
xorps xmm0, xmm0
mov dword [ebp - 8], 0
lea ecx, [ebp - 0x1c]
movups xmmword [ebp - 0x1c], xmm0
push dword [ebp - 0x20]
push esi
call fcn.10003120
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov ecx, dword [ebp - 4]
xorps xmm0, xmm0
movups xmmword [ebx], xmm0
mov dword [ebx + 0x10], 0
mov eax, ebx
movups xmm0, xmmword [ebp - 0x1c]
mov dword [ebx + 0x14], 0
xor ecx, ebp
pop edi
movups xmmword [ebx], xmm0
pop esi
movq xmm0, qword [ebp - 0xc]
movq qword [ebx + 0x10], xmm0
pop ebx
call fcn.100ad151
mov esp, ebp
pop ebp
ret
Function at 0x10004590
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d7b65
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x10107f80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x43c], esi
mov eax, dword [esi + 0x5f8]
test eax, eax
je 0x100045e3
push dword [esi]
push eax
push str._p____p
call fcn.10003d00
add esp, 0xc
mov eax, dword [0x1010d09c]
inc eax
mov dword [0x1010d09c], eax
cmp eax, 0x9c4
jl 0x10004609
push str.too_many_hooks:_cant_insert
call fcn.10003d00
add esp, 4
xor al, al
jmp 0x10004781
test edi, edi
je 0x10004626
cmp byte [edi], 0
je 0x10004626
push 0x3b
push edi
lea eax, [esi + 0x1d0]
push 0x3c
push eax
call fcn.100b9596
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
sub esp, 0xa08
lea eax, [ebp - 0x28]
mov edi, esp
mov ecx, 0x282
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.10076210
mov ecx, eax
add esp, 0xa10
cmp dword [ecx + 0x14], 7
jbe 0x10004655
mov ecx, dword [ecx]
mov esi, dword [ebp - 0x43c]
push ecx
push 0x1f4
lea eax, [esi + 0x20c]
push eax
call fcn.100b90d0
add esp, 0xc
lea ecx, [ebp - 0x28]
call fcn.100039e0
imul eax, dword [0x1010d09c], 0xac8
sub esp, 0xa08
mov edi, esp
mov ecx, 0x282
rep movsd dword es:[edi], dword [esi]
add eax, dword [0x1010d098]
mov ecx, eax
call fcn.100071b0
test al, al
jne 0x1000471c
mov eax, dword [ebp - 0x43c]
lea ecx, [ebp - 0x28]
add eax, 0x20c
push eax
call fcn.10003600
push 0xfde9
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.100748b0
add esp, 0xc
cmp dword [eax + 0x14], 0xf
mov byte [ebp - 4], 1
jbe 0x100046de
mov eax, dword [eax]
push eax
push str.failed_to_insert_hook__s
call fcn.10003d00
add esp, 8
lea ecx, [ebp - 0x40]
call fcn.10003990
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.100039e0
imul ecx, dword [0x1010d09c], 0xac8
add ecx, dword [0x1010d098]
call fcn.10006f60
xor al, al
jmp 0x10004781
mov esi, dword [ebp - 0x43c]
lea edx, [ebp - 0x428]
mov dword [ebp - 0x438], 4
mov dword [ebp - 0x42c], 0
mov eax, dword [esi]
lea ecx, [esi + 0x20c]
mov dword [ebp - 0x430], eax
sub edx, ecx
nop dword [eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [ecx + edx - 2], ax
test ax, ax
jne 0x10004750
push 0
push 0x1010d0a8
push 0x3f8
lea eax, [ebp - 0x438]
push eax
push dword [0x10107278]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100ad151
mov esp, ebp
pop ebp
ret
Function at 0x100047a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe18
mov eax, dword [0x10107f80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xa10]
push esi
push edi
mov dword [ebp - 0xe18], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
sub esp, 0xa08
lea eax, [ebp - 0x1c]
mov edi, esp
lea esi, [ebp + 8]
mov ecx, 0x282
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.10076210
add esp, 0xa10
cmp dword [eax + 0x14], 7
jbe 0x100047f1
mov eax, dword [eax]
push eax
lea eax, [ebp + 0x214]
push 0x1f4
push eax
call fcn.100b90d0
mov ecx, dword [ebp - 8]
add esp, 0xc
cmp ecx, 7
jbe 0x10004840
mov edx, dword [ebp - 0x1c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10004836
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100048bb
push ecx
push edx
call fcn.100ace29
add esp, 8
push 0x3e8
lea eax, [ebp - 0x404]
mov dword [ebp - 0xe14], 2
mov ecx, 0x282
lea esi, [ebp + 8]
lea edi, [ebp - 0xe0c]
push 0
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.100ae610
push 0x1f3
push dword [ebp - 0xe18]
lea eax, [ebp - 0x404]
push 0x1f4
push eax
call fcn.100b9202
add esp, 0x1c
lea eax, [ebp - 0xe14]
push 0
push 0x1010d0a8
push 0xdf8
push eax
push dword [0x10107278]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.100ad151
mov esp, ebp
pop ebp
ret
call fcn.100b8fcf
int3

Function at 0x100048d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
sub esp, 0x10
test eax, eax
je 0x100048eb
push eax
push str.removing_hook:__s
call fcn.10003d00
add esp, 8
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push 0
push 0x1010d0a8
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push 0x10
push eax
push dword [0x10107278]
mov dword [ebp - 0x10], 3
mov dword [ebp - 4], ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov esp, ebp
pop ebp
ret
Function at 0x10005810
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x282
mov edx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
movups xmm0, xmmword [eax]
push edi
push 0
movups xmmword [edx], xmm0
push 0x1010d0a8
movups xmm0, xmmword [eax + 0x10]
mov eax, dword [ebp + 0x14]
lea edi, [edx + 0x20]
add eax, 0xa30
push eax
movups xmmword [edx + 0x10], xmm0
push edx
rep movsd dword es:[edi], dword [esi]
push dword [0x10107278]
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
pop esi
pop ebp
ret

Function at 0x10005b80
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 8]
mov eax, 0x1fffffff
push ebx
mov ebx, ecx
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 4], ebx
mov eax, edi
shl eax, cl
cmp edx, eax
ja 0x10005cd9
mov esi, dword [ebx + 4]
lea eax, [edx - 1]
or eax, edi
mov dword [ebp + 8], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.10002e90
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x10005cac
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul edi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor edi, edx
movzx edx, byte [eax + 0xa]
imul edi, edi, 0x1000193
xor edi, edx
movzx edx, byte [eax + 0xb]
imul edi, edi, 0x1000193
xor edi, edx
mov edx, dword [ebx + 0xc]
imul edi, edi, 0x1000193
and edi, dword [ebx + 0x18]
lea edx, [edx + edi*8]
mov edi, dword [edx]
mov dword [ebp - 8], edx
cmp edi, esi
jne 0x10005c31
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x10005ca2
mov edx, dword [edx + 4]
mov ebx, dword [eax + 8]
cmp ebx, dword [edx + 8]
jne 0x10005c6b
mov edx, dword [edx]
mov dword [ebp - 0xc], edx
cmp edx, eax
je 0x10005c63
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 0xc]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp + 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov edx, dword [ebp - 8]
mov dword [edx + 4], eax
jmp 0x10005c9f
cmp edi, edx
je 0x10005c7c
nop
mov edx, dword [edx + 4]
cmp ebx, dword [edx + 8]
je 0x10005cb5
cmp edi, edx
jne 0x10005c70
mov ebx, dword [eax + 4]
mov dword [ebp - 0xc], ebx
mov dword [ebx], ecx
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], ebx
mov edx, dword [ebp - 0xc]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 8]
mov dword [eax + 4], edi
mov dword [edx], eax
mov ebx, dword [ebp - 4]
mov eax, ecx
cmp ecx, esi
jne 0x10005be2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [eax + 4]
mov edx, dword [edx]
mov dword [ebp - 0xc], edx
mov esi, edx
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp + 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x10005c9f
push str.invalid_hash_bucket_count
call fcn.100958d1
int3
Function at 0x10006990
Capabilities:
Allocate or change rwx memory
Create thread
Execute shellcode via indirect call
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d7cdf
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x10107f80]
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, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
sub eax, 0
je 0x10006b57
sub eax, 1
jne 0x10006b7b
mov dword [0x1010d08c], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10006860
add esp, 8
push 0x1010d038
sub esp, 0x18
mov dword [ebp - 4], 0
mov ecx, esp
push eax
push str.LUNA_VNR_HOOKMAN_
push ecx
call fcn.10002ff0
add esp, 0xc
lea ecx, [ebp - 0x60]
call fcn.10003880
mov ecx, dword [eax]
mov dword [eax], 0
mov eax, dword [0x1010d094]
mov dword [0x1010d094], ecx
mov ecx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 1
test eax, eax
je 0x10006a43
cmp eax, 0xffffffff
je 0x10006a43
push eax
call ecx
mov ecx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x60]
mov byte [ebp - 4], 2
test eax, eax
je 0x10006a56
cmp eax, 0xffffffff
je 0x10006a56
push eax
call ecx
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.100039e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x10006a79
xor eax, eax
jmp 0x10006b80
push esi
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
push 0x694920
call fcn.100ad15f
mov ebx, eax
add esp, 4
mov dword [ebp - 0x64], ebx
test ebx, ebx
je 0x10006abd
mov esi, ebx
mov edi, 0x9c4
nop dword [eax]
push 0xa08
push 0
push esi
call fcn.100ae610
add esp, 0xc
add esi, 0xac8
sub edi, 1
jne 0x10006aa0
jmp 0x10006abf
xor ebx, ebx
push 0x1010d0a8
push 0x40
push 0x694920
push ebx
mov dword [ebp - 4], 0xffffffff
mov dword [0x1010d098], ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.10006860
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 4
push str.EMBED_SHARED_MEM
push eax
call fcn.10002ff0
add esp, 0x14
push eax
push 0xa00
push 0x1010d090
push 0x10107280
lea ecx, [ebp - 0x59]
mov byte [ebp - 4], 5
call fcn.10003c60
lea ecx, [ebp - 0x40]
call fcn.100039e0
lea ecx, [ebp - 0x58]
call fcn.100039e0
call fcn.10078320
push 0
push 0
push 0
push fcn.10004920
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10006b7b
call fcn.100785e0
call fcn.1006ff60
push dword [0x1010d098]
call fcn.100ad168
add esp, 4
push dword [0x1010d090]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, 1
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.100ad151
mov esp, ebp
pop ebp
ret 0xc