joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4012c5
Capabilities:
Hide graphical window

Disassembly:
push ebp
push 0x10000
push 0x1000
push 1
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov dword [0x403fa4], eax
push 0x64
push 8
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, 0x30
push eax
mov dword [eax], ecx
add eax, 0x4c
mov ebp, eax
mov eax, 0x400000
mov dword [0x403fa0], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x44], 0x401196
mov dword [ebp - 0x24], str.resiliency
call dword [sym.imp.USER32.dll_RegisterClassExA]
xor eax, eax
push eax
push dword [0x403fa0]
push eax
push eax
push 0x190
push 0x2b2
push 0x640
push 0x9c4
push 0
push str.abasement
push str.resiliency
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x403fa8], eax
push eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call dword [sym.imp.USER32.dll_UpdateWindow]
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x40138f
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
lea ecx, [ebp - 0x1c]
push ecx
call edi
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x401376
mov eax, dword [0x403fa4]
push eax
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
pop ebp
ret 0x10

Function at 0x407e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e180]
jne 0x407e1f
repz ret
jmp fcn.0040bc0c

Function at 0x41f60a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x41f619
pop dword [ebp - 0x44]
mov eax, 0x41f619
sub dword [ebp - 0x44], eax
mov dword [ebp - 0x54], 0x315b6848
add dword [ebp - 0x54], 0x1cf6dd03
mov dword [ebp - 0x50], 0xbb102781
sub dword [ebp - 0x50], 0x88dcdb3c
mov dword [ebp - 0x4c], 0x6658c8bf
add dword [ebp - 0x4c], 0xe5f37b6f
mov dword [ebp - 0x48], 0x6a7e89b5
sub dword [ebp - 0x48], 0x6a7e89b5
lea eax, [ebp - 0x54]
push eax
mov eax, 0x87a7fa13
add eax, 0x789a3661
add eax, dword [ebp - 0x44]
call dword [eax]
mov dword [ebp - 0x54], 0xe2413451
sub dword [ebp - 0x54], 0x6dcecafb
mov dword [ebp - 0x50], 0x5998ab47
add dword [ebp - 0x50], 0xe7d3b62e
mov dword [ebp - 0x4c], 0x84d8d8cb
sub dword [ebp - 0x4c], 0x21696c5f
mov dword [ebp - 0x48], 0xa4b03575
sub dword [ebp - 0x48], 0xa4b03575
lea ebx, [ebp - 0x54]
push ebx
push eax
mov eax, 0xc5cd0bf1
sub eax, 0xc58adacd
add eax, dword [ebp - 0x44]
call dword [eax]
push 0x40
push 0x1000
push 0x3effb
push 0
call eax
mov ecx, 0xd58c61a0
add ecx, 0x2a73eba2
xor edx, edx
add edx, eax
mov esi, 0x5681ba52
add esi, 0xa9c189ae
add esi, dword [ebp - 0x44]
mov ebx, 0xd4012f69
add ebx, 0xc3d32688
xor dword [ebp - 0x3c], 0x9e01f5e6
mov edi, dword [esi]
xor dword [ebp - 0x38], edi
add edi, ebx
add dword [ebp - 0x24], edx
mov dword [edx], edi
add dword [ebp - 0x18], 0xe506df05
add edx, 4
add esi, 0xfe210d90
add esi, 0x1def274
loop 0x41f738
add eax, 0x7dfd543c
sub eax, 0x7dfc2c61
mov ebx, eax
add eax, 0xd99d011e
add eax, 0x2662fee7
mov ecx, 0x633947db
add ecx, 0x9d06b825
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0x402180
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xc8
mov esi, ecx
mov eax, dword [0x43700c]
xor eax, ebp
mov dword [esp + 0xc0], eax
mov dword [ecx], 0xffffffff
mov dword [ecx + 4], 0
mov eax, dword [0x437028]
cmp eax, 0xffffffff
je 0x4021c1
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
test al, 3
jne 0x4021c6
call fcn.00402350
mov eax, dword [0x438114]
mov ecx, dword [0x437100]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jle 0x40221f
push 0x438114
call fcn.0040a751
add esp, 4
cmp dword [0x438114], 0xffffffff
jne 0x40221f
push 4
call sub.mozglue.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov edi, eax
mov ecx, eax
call fcn.00401be0
mov dword [0x438110], edi
push 0x438114
call fcn.0040a751
add esp, 4
mov edi, dword [0x438110]
push edi
call dword [sym.imp.kernel32.dll_AcquireSRWLockExclusive]
mov eax, dword [0x43750c]
inc eax
xor ecx, ecx
lea edx, [eax + ecx]
movzx edx, dl
lea ebx, [edx + edx*2]
cmp dword [ebx*4 + 0x437510], 0
jne 0x4022c0
lea eax, [ebx*4 + 0x437510]
mov dword [eax], 1
lea eax, [edx*4]
mov ecx, dword [ebp + 8]
mov dword [eax + eax*2 + 0x437514], ecx
mov dword [0x43750c], edx
mov dword [esi], edx
mov eax, dword [eax + eax*2 + 0x437518]
mov dword [esi + 4], eax
push edi
call dword [sym.imp.kernel32.dll_ReleaseSRWLockExclusive]
mov eax, dword [esi]
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], eax
cmp eax, 0xffffffff
je 0x4022cf
mov eax, dword [esi]
mov dword [esp + 8], 0x100
mov dword [esp + 4], eax
cmp eax, 0xff
jg 0x402309
mov ecx, dword [esp + 0xc0]
xor ecx, ebp
call fcn.0040a740
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
inc ecx
cmp ecx, 0x100
jne 0x402234
jmp 0x402277
lea eax, [esp + 8]
lea ecx, [esp + 4]
push str.slot____kInvalidSlotValue
push eax
push ecx
call fcn.0040d570
add esp, 0xc
test eax, eax
je 0x402291
lea edi, [esp + 8]
mov ecx, edi
push eax
push 0x196
push str._builds_worker_checkouts_gecko_security_sandbox_chromium_base_threading_thread_local_storage.cc
call fcn.0040d360
mov ecx, edi
call fcn.0040d3c0
jmp 0x402291
lea eax, [esp + 8]
lea ecx, [esp + 4]
push str.slot____kThreadLocalStorageSize
push eax
push ecx
call fcn.0040d570
add esp, 0xc
test eax, eax
je 0x4022a6
lea edi, [esp + 8]
mov ecx, edi
push eax
push 0x197
push str._builds_worker_checkouts_gecko_security_sandbox_chromium_base_threading_thread_local_storage.cc
call fcn.0040d360
mov ecx, edi
call fcn.0040d3c0
jmp 0x4022a6
Function at 0x4025a0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x140c
call fcn.0040ae80
mov eax, dword [0x43700c]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x437028]
cmp eax, 0xffffffff
je 0x4025d2
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov ebx, eax
test bl, 3
jne 0x4025e7
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040a740
add esp, 0x140c
pop esi
pop edi
pop ebx
pop ebp
ret
and ebx, 0xfffffffc
lea eax, [ebp - 0x810]
push 0x800
push ebx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov edi, dword [0x437028]
lea eax, [ebp - 0x80f]
push eax
push edi
call dword [sym.imp.kernel32.dll_TlsSetValue]
test ebx, ebx
je 0x402620
push ebx
call sub.mozglue.dll_void___cdecl_operator_delete___void__
add esp, 4
call fcn.0040b720
mov esi, eax
push eax
call dword [sym.imp.kernel32.dll_AcquireSRWLockExclusive]
lea eax, [ebp - 0x1410]
push 0xc00
push 0x437510
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push esi
call dword [sym.imp.kernel32.dll_ReleaseSRWLockExclusive]
mov al, 1
mov edx, 0x100
lea ecx, [ebp - 0x1408]
test al, al
je 0x4026b4
mov dword [ebp - 0x1418], edi
xor eax, eax
mov edi, ecx
xor ebx, ebx
mov esi, dword [ebp + ebx*8 - 0x810]
test esi, esi
jne 0x402684
inc ebx
add edi, 0xc
cmp ebx, 0x100
jne 0x40266b
jmp 0x40269e
cmp dword [edi - 8], 0
je 0x402676
mov ecx, dword [ebp + ebx*8 - 0x80c]
cmp ecx, dword [edi]
jne 0x402676
mov ecx, dword [edi - 4]
test ecx, ecx
je 0x402676
jmp 0x4026c2
cmp edx, 2
mov edi, dword [ebp - 0x1418]
lea ecx, [ebp - 0x1408]
jb 0x4026b4
dec edx
and al, 1
jmp 0x40265b
push 2
push edi
call dword [sym.imp.kernel32.dll_TlsSetValue]
jmp 0x4025d2
mov dword [ebp + ebx*8 - 0x810], 0
mov dword [ebp - 0x1414], edx
call dword [section..00cfg]
push esi
call ecx
mov edx, dword [ebp - 0x1414]
add esp, 4
mov al, 1
jmp 0x402676
Function at 0x403330
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov edi, dword [ebp + 8]
cmp dword [ecx], edi
je 0x403396
mov esi, ecx
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jae 0x4033a0
lea eax, [edi + 1]
cmp eax, 2
jb 0x40338d
mov dword [esi], edi
call fcn.00403400
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 4]
mov dword [ebp - 0x14], eax
call fcn.00403410
mov edi, eax
mov eax, dword [eax]
mov ebx, dword [eax + 4]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push esi
push dword [ebp + 8]
call ebx
push dword [ebp - 0x1c]
call dword [sym.imp.kernel32.dll_SetLastError]
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.00403400
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
mov dword [ebp - 0x10], eax
call fcn.00403410
mov ebx, eax
mov eax, dword [eax]
mov edi, dword [eax + 8]
mov ecx, edi
call dword [section..00cfg]
mov ecx, ebx
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push esi
push dword [ebp - 0x10]
call edi
mov edi, dword [esi]
call fcn.00403410
mov ebx, eax
mov eax, dword [eax]
mov ecx, dword [eax]
mov dword [ebp - 0x10], ecx
call dword [section..00cfg]
mov ecx, ebx
push edi
mov edi, dword [ebp + 8]
call dword [ebp - 0x10]
mov dword [esi], 0
jmp 0x403353
Function at 0x4062a0
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x3c
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov eax, dword [0x43700c]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ecx], edx
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 2
lea eax, [ecx + 0x10]
mov dword [ebp - 0x38], ecx
mov dword [ecx + 4], eax
mov eax, dword [0x437100]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov ecx, dword [0x438438]
cmp ecx, dword [eax + 4]
jg 0x406373
mov ecx, dword [0x438434]
lea eax, [ebx + edi]
dec eax
xor edi, edi
xor edx, edx
div ecx
mov esi, eax
mov eax, ebx
xor edx, edx
div ecx
sub esi, eax
inc esi
mov dword [ebp - 0x48], esi
je 0x40635e
mov ebx, eax
mov eax, dword [ebp - 0x38]
add eax, 4
mov dword [ebp - 0x40], eax
imul ebx, ecx
mov dword [ebp - 0x44], ecx
lea eax, [ebp - 0x34]
push eax
push 0x40
push ecx
push ebx
call dword [sym.imp.kernel32.dll_VirtualProtect]
test eax, eax
je 0x4063b1
mov esi, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
mov eax, dword [ecx + 8]
cmp eax, dword [ecx + 0xc]
je 0x4063c2
mov edx, ecx
mov ecx, dword [ecx + 4]
mov dword [ecx + eax*8], esi
mov dword [ecx + eax*8 + 4], ebx
inc dword [edx + 8]
inc edi
mov ecx, dword [ebp - 0x44]
add ebx, ecx
cmp edi, dword [ebp - 0x48]
jne 0x406324
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040a740
mov eax, dword [ebp - 0x38]
add esp, 0x3c
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x438438
call fcn.0040a751
add esp, 4
cmp dword [0x438438], 0xffffffff
jne 0x4062f3
lea esi, [ebp - 0x34]
push esi
call dword [sym.imp.kernel32.dll_GetSystemInfo]
mov eax, dword [esi + 4]
mov dword [0x438434], eax
push 0x438438
call fcn.0040a751
add esp, 4
jmp 0x4062f3
mov dword [ebp - 0x34], 0
mov ecx, dword [ebp - 0x38]
call fcn.0042e380
jmp 0x40635e
mov dword [ebp - 0x3c], esi
mov ecx, dword [ebp - 0x40]
call fcn.0042e440
test al, al
je 0x4063b8
mov ecx, dword [ebp - 0x38]
mov eax, dword [ecx + 8]
mov esi, dword [ebp - 0x3c]
jmp 0x406344
Function at 0x408310
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x28
mov eax, dword [0x43700c]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [0x438404]
mov ecx, dword [0x437100]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jle 0x408373
push 0x438404
call fcn.0040a751
add esp, 4
cmp dword [0x438404], 0xffffffff
jne 0x408373
lea esi, [ebp - 0x2c]
push esi
call dword [sym.imp.kernel32.dll_GetSystemInfo]
mov eax, dword [esi + 0x1c]
mov dword [0x438400], eax
push 0x438404
call fcn.0040a751
add esp, 4
mov esi, dword [0x438400]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0040a740
mov eax, esi
add esp, 0x28
pop esi
pop ebp
ret

Function at 0x408390
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x28
mov eax, dword [0x43700c]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [0x438438]
mov ecx, dword [0x437100]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4083d6
mov esi, dword [0x438434]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0040a740
mov eax, esi
add esp, 0x28
pop esi
pop ebp
ret
push 0x438438
call fcn.0040a751
add esp, 4
cmp dword [0x438438], 0xffffffff
jne 0x4083be
lea esi, [ebp - 0x2c]
push esi
call dword [sym.imp.kernel32.dll_GetSystemInfo]
mov eax, dword [esi + 4]
mov dword [0x438434], eax
push 0x438438
call fcn.0040a751
add esp, 4
jmp 0x4083be
Function at 0x40c900
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x24
mov eax, dword [0x43700c]
xor eax, ebp
mov dword [ebp - 0xc], eax
push str.MOZ_ENABLE_HANDLE_VERIFIER
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
add esp, 4
test eax, eax
jne 0x40c93a
call fcn.0040ca10
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0040a740
add esp, 0x24
pop esi
pop edi
pop ebp
ret
movaps xmm0, xmmword [str.kernel32]
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0x64002e
mov dword [ebp - 0x14], 0x6c006c
mov word [ebp - 0x10], 0
cmp dword [0x4383a0], 0
jne 0x40c971
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.kernel32.dll_LoadLibraryW]
mov dword [0x4383a0], eax
lea esi, [ebp - 0x2c]
mov dword [esi], 0
lea edi, [ebp - 0x28]
mov dword [edi], 0x4383ec
mov dword [edi + 4], 0x43836c
mov dword [edi + 8], 0x4318ad
mov dword [edi + 0xc], 0x42dda0
mov byte [edi + 0x10], 0
push esi
push edi
push 0x42de00
push 0x4383f0
call dword [sym.imp.kernel32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x40c924
cmp dword [ebp - 0x2c], 0
je 0x40c924
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0x4383f4
mov dword [ebp - 0x24], 0x43836c
mov dword [ebp - 0x20], 0x43189d
mov dword [ebp - 0x1c], 0x42ddc0
mov byte [ebp - 0x18], 0
push esi
push edi
push 0x42de00
push 0x4383f8
call dword [sym.imp.kernel32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x40c924
cmp dword [ebp - 0x2c], 0
jne 0x40c929
jmp 0x40c924

Function at 0x40df10
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov dword [ebp - 0x10], edx
mov esi, dword [ebp + 8]
movzx eax, byte [esi]
xor eax, 0x811c9dc5
imul eax, eax, 0x1000193
movzx edx, byte [esi + 1]
xor edx, eax
imul eax, edx, 0x1000193
movzx edx, byte [esi + 2]
xor edx, eax
imul eax, edx, 0x1000193
movzx edx, byte [esi + 3]
xor edx, eax
imul edi, edx, 0x1000193
and edi, dword [ecx + 0x18]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx + 0xc]
mov eax, dword [ecx + edi*8]
add edi, edi
inc edi
mov dword [ebp - 0x14], edi
mov edi, dword [esi]
mov ebx, eax
cmp edx, eax
je 0x40df80
mov esi, dword [ebp - 0x14]
mov esi, dword [ecx + esi*4]
mov esi, dword [esi]
cmp ebx, esi
je 0x40df86
cmp dword [ebx + 8], edi
je 0x40df84
mov ebx, dword [ebx]
jmp 0x40df67
mov esi, eax
jmp 0x40df73
mov edx, ebx
mov eax, dword [ebp - 0x10]
mov dword [eax], edx
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x40dfa0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov esi, edx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x10], eax
cmp dword [edx + 0x14], 7
jbe 0x40dfbc
mov edx, dword [edx]
mov edi, dword [ebp - 0x10]
add edi, edi
mov dword [ebp - 0x14], esi
mov eax, 0x811c9dc5
je 0x40dfde
xor ebx, ebx
movzx esi, byte [edx + ebx]
xor esi, eax
imul eax, esi, 0x1000193
inc ebx
cmp edi, ebx
jne 0x40dfcd
mov esi, ecx
and eax, dword [ecx + 0x18]
mov ecx, dword [ecx + 4]
mov esi, dword [esi + 0xc]
mov dword [ebp - 0x1c], esi
mov edi, dword [esi + eax*8]
add eax, eax
inc eax
mov dword [ebp - 0x18], eax
mov esi, edi
mov dword [ebp - 0x20], edi
cmp ecx, edi
je 0x40e020
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov eax, dword [eax + ebx*4]
mov eax, dword [eax]
cmp esi, eax
je 0x40e05c
mov eax, dword [ebp - 0x10]
cmp dword [esi + 0x18], eax
jne 0x40e041
cmp dword [esi + 0x1c], 7
jbe 0x40e024
mov eax, dword [esi + 8]
jmp 0x40e027
mov eax, edi
jmp 0x40e009
lea eax, [esi + 8]
cmp dword [ebp - 0x10], 0
je 0x40e05a
xor edi, edi
movzx ebx, word [eax + edi*2]
cmp bx, word [edx + edi*2]
jne 0x40e041
inc edi
cmp dword [ebp - 0x10], edi
jne 0x40e02f
jmp 0x40e048
mov esi, dword [esi]
mov edi, dword [ebp - 0x20]
jmp 0x40dffa
xor edi, edi
movzx ebx, word [edx + edi*2]
cmp bx, word [eax + edi*2]
jne 0x40e05c
inc edi
cmp dword [ebp - 0x10], edi
jne 0x40e04a
mov ecx, esi
mov eax, dword [ebp - 0x14]
mov dword [eax], ecx
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x40e0f0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 8]
movzx edx, byte [eax]
xor edx, 0x811c9dc5
imul edx, edx, 0x1000193
movzx esi, byte [eax + 1]
xor esi, edx
imul edx, esi, 0x1000193
movzx esi, byte [eax + 2]
xor esi, edx
imul edx, esi, 0x1000193
movzx esi, byte [eax + 3]
xor esi, edx
imul edi, esi, 0x1000193
and edi, dword [ecx + 0x18]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx + 0xc]
mov esi, dword [ecx + edi*8]
add edi, edi
inc edi
mov dword [ebp - 0x18], edi
mov edi, edx
mov edx, ecx
mov ebx, dword [eax]
mov ecx, esi
cmp edi, esi
je 0x40e165
mov eax, dword [ebp - 0x18]
mov eax, dword [edx + eax*4]
mov eax, dword [eax]
cmp ecx, eax
je 0x40e1a9
cmp dword [ecx + 8], ebx
je 0x40e169
mov ecx, dword [ecx]
jmp 0x40e14c
mov eax, esi
jmp 0x40e158
mov dword [ebp - 0x1c], edx
mov edx, ecx
mov dword [ebp - 0x14], edi
cmp edi, esi
je 0x40e194
mov edi, dword [ebp - 0x1c]
mov eax, ebx
mov ebx, dword [ebp - 0x18]
mov edi, dword [edi + ebx*4]
mov ebx, eax
mov edi, dword [edi]
cmp edx, edi
je 0x40e198
cmp ebx, dword [edx + 8]
jne 0x40e198
mov edx, dword [edx]
mov edi, dword [ebp - 0x14]
jmp 0x40e171
mov edi, esi
jmp 0x40e184
cmp ecx, edx
mov edi, dword [ebp - 0x14]
je 0x40e1a9
mov eax, dword [ebp - 0x10]
mov dword [eax], ecx
mov dword [eax + 4], edx
jmp 0x40e1b1
mov eax, dword [ebp - 0x10]
mov dword [eax], edi
mov dword [eax + 4], edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x40e400
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov dword [ebp - 0x10], edx
mov edi, dword [ebp + 8]
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul eax, eax, 0x1000193
movzx edx, byte [edi + 1]
xor edx, eax
imul eax, edx, 0x1000193
movzx edx, byte [edi + 2]
xor edx, eax
imul eax, edx, 0x1000193
movzx edx, byte [edi + 3]
xor edx, eax
imul eax, edx, 0x1000193
and eax, dword [ecx + 0x18]
mov esi, dword [ecx + 0xc]
mov edx, dword [esi + eax*8]
add eax, eax
mov dword [ebp - 0x14], ecx
mov ebx, dword [ecx + 4]
mov ecx, esi
mov esi, ebx
cmp edx, ebx
je 0x40e469
lea esi, [eax*4]
or esi, 4
mov esi, dword [ecx + esi]
mov esi, dword [esi]
mov edi, dword [edi]
cmp esi, edx
je 0x40e49f
mov esi, dword [esi + 4]
cmp edi, dword [esi + 8]
jne 0x40e46b
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov dword [edx], eax
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x14]
dec dword [eax + 8]
call fcn.0040e230
mov eax, dword [ebp - 0x10]
mov dword [eax], esi
mov esi, eax
xor eax, eax
jmp 0x40e4ff
mov edi, dword [ebp + 0xc]
mov esi, dword [edi]
cmp edx, esi
je 0x40e4d8
mov ecx, dword [edi + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edx
mov ecx, dword [edx + 4]
mov dword [ecx], edi
mov ecx, dword [edx + 4]
mov edi, dword [esi + 4]
mov dword [edx + 4], edi
mov edi, dword [ebp + 0xc]
mov edi, dword [edi + 4]
mov dword [esi + 4], edi
mov edi, dword [ebp + 0xc]
mov dword [edi + 4], ecx
mov ecx, dword [ebp - 0x14]
mov ebx, dword [ecx + 4]
mov ecx, dword [ecx + 0xc]
mov esi, dword [ecx + eax*4]
cmp esi, ebx
mov ebx, ecx
mov ecx, dword [ebp - 0x14]
jne 0x40e50c
mov dword [ebx + eax*4], edi
shl eax, 2
mov edx, dword [ecx + 0xc]
or eax, 4
mov dword [edx + eax], edi
mov esi, dword [ebp - 0x10]
call fcn.0040e540
mov dword [esi], edi
mov al, 1
mov byte [esi + 4], al
mov eax, esi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
cmp esi, edx
jne 0x40e515
mov dword [ebx + eax*4], edi
jmp 0x40e4f3
or eax, 1
mov edx, dword [ebx + eax*4]
mov edx, dword [edx]
mov dword [ebx + eax*4], edx
cmp edx, edi
mov esi, dword [ebp - 0x10]
je 0x40e4f6
mov edi, dword [ecx + 0xc]
mov edx, dword [edi + eax*4]
mov edx, dword [edx + 4]
mov dword [edi + eax*4], edx
mov edi, dword [ebp + 0xc]
jmp 0x40e4f6
Function at 0x40e940
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov dword [ebp - 0x10], ecx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x1c], eax
cmp dword [ebx + 0x14], 7
jbe 0x40e95d
mov ebx, dword [ebx]
mov ecx, dword [ebp - 0x1c]
add ecx, ecx
mov dword [ebp - 0x18], edx
mov eax, 0x811c9dc5
je 0x40e97f
xor esi, esi
movzx edi, byte [ebx + esi]
xor edi, eax
imul eax, edi, 0x1000193
inc esi
cmp ecx, esi
jne 0x40e96e
mov ecx, dword [ebp - 0x10]
and eax, dword [ecx + 0x18]
mov edi, dword [ecx + 4]
mov esi, dword [ecx + 0xc]
mov ecx, dword [esi + eax*8]
add eax, eax
mov edx, edi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x24], edi
cmp ecx, edi
je 0x40e9ab
lea ecx, [eax*4]
or ecx, 4
mov ecx, dword [esi + ecx]
mov edx, dword [ecx]
mov dword [ebp - 0x28], esi
cmp edx, dword [ebp - 0x14]
je 0x40ea39
mov edx, dword [edx + 4]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], edx
cmp ecx, dword [edx + 0x18]
jne 0x40e9f0
cmp dword [ebp - 0x1c], 0
je 0x40e9f5
mov ecx, dword [ebp - 0x20]
cmp dword [ecx + 0x1c], 7
jbe 0x40e9d9
mov ecx, dword [ecx + 8]
jmp 0x40e9dc
add ecx, 8
xor esi, esi
movzx edi, word [ebx + esi*2]
cmp di, word [ecx + esi*2]
jne 0x40e9f0
inc esi
cmp dword [ebp - 0x1c], esi
jne 0x40e9de
jmp 0x40e9f5
mov edx, dword [ebp - 0x20]
jmp 0x40e9ae
mov eax, dword [ebp + 0xc]
mov esi, eax
mov eax, dword [eax]
mov ecx, dword [esi + 4]
mov dword [ecx], eax
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0x10]
dec dword [eax + 8]
lea ecx, [esi + 8]
call fcn.004027f0
push 0x24
push esi
call sub.mozglue.dll_void___cdecl_operator_delete_void___unsigned_int_
add esp, 8
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x20]
mov dword [esi], eax
xor eax, eax
mov byte [esi + 4], al
mov eax, esi
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
mov edi, dword [ebp + 0xc]
mov ecx, dword [edi]
cmp dword [ebp - 0x14], ecx
mov esi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x24]
je 0x40ea76
mov edx, dword [edi + 4]
mov dword [edx], ecx
mov edx, dword [ecx + 4]
mov ebx, dword [ebp - 0x14]
mov dword [edx], ebx
mov edx, dword [ebx + 4]
mov dword [edx], edi
mov edx, dword [ebx + 4]
mov esi, dword [ecx + 4]
mov dword [ebx + 4], esi
mov esi, dword [edi + 4]
mov dword [ecx + 4], esi
mov dword [edi + 4], edx
mov ecx, dword [ebp - 0x10]
mov ebx, dword [ecx + 4]
mov esi, dword [ecx + 0xc]
mov ecx, dword [esi + eax*4]
cmp ecx, ebx
jne 0x40ea9d
mov dword [esi + eax*4], edi
shl eax, 2
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0xc]
or eax, 4
mov dword [edx + eax], edi
mov esi, dword [ebp - 0x18]
call fcn.0040ead0
mov dword [esi], edi
mov al, 1
jmp 0x40ea2c
cmp ecx, dword [ebp - 0x14]
jne 0x40eaad
mov dword [esi + eax*4], edi
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
jmp 0x40ea92
or eax, 1
mov ecx, dword [esi + eax*4]
mov ecx, dword [ecx]
mov dword [esi + eax*4], ecx
cmp ecx, edi
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
je 0x40ea92
mov ecx, dword [ecx + 0xc]
mov edx, dword [ecx + eax*4]
mov edx, dword [edx + 4]
mov dword [ecx + eax*4], edx
jmp 0x40eaa8