joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409490
Capabilities:
Acquire debug privileges
Enumerate processes

Disassembly:
sub esp, 0x418
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll_putchar]
push ebp
push esi
push 0x30
call ebx
add esp, 4
lea eax, [esp + 0x18]
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
push 0x30
call ebx
push 0x30
mov dword [esp + 0x24], 1
call ebx
add esp, 8
lea ecx, [esp + 0x20]
xor ebp, ebp
push ecx
push str.SeDebugPrivilege
push ebp
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
push 0x30
call ebx
push 0x30
mov dword [esp + 0x30], 2
call ebx
mov eax, dword [esp + 0x20]
add esp, 8
lea edx, [esp + 0x1c]
push ebp
push ebp
push 0x10
push edx
push ebp
push eax
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push 0x30
call ebx
add esp, 4
push ebp
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, ebp
mov dword [esp + 0x14], esi
jne 0x40953b
mov eax, dword [esp + 0x42c]
pop esi
mov dword [eax + 4], ebp
pop ebp
mov dword [eax], 0x25000004
pop ebx
add esp, 0x418
ret
push edi
push 0x30
mov dword [esp + 0xe0], 0x128
mov dword [esp + 0x208], 0x224
mov dword [esp + 0x14], ebp
call ebx
add esp, 4
lea ecx, [esp + 0xdc]
push ecx
push esi
call sub.KERNEL32.dll_Process32First
push 0x30
mov edi, eax
call ebx
add esp, 4
cmp edi, ebp
je 0x40968c
mov edx, dword [esp + 0x42c]
mov ebp, dword [sym.imp.MSVCRT.dll_strncpy]
mov dword [esp + 0x14], edx
push 0x30
call ebx
mov eax, dword [esp + 0xe8]
add esp, 4
push eax
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
push 0x30
mov esi, eax
call ebx
add esp, 4
lea ecx, [esp + 0x204]
push ecx
push esi
call sub.KERNEL32.dll_Module32First
push 0x30
call ebx
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x30
call ebx
mov edx, dword [esp + 0xe8]
add esp, 4
xor eax, eax
mov ecx, 0x2b
lea edi, [esp + 0x30]
push edx
push eax
push 0x400
rep stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0x30
mov esi, eax
call ebx
push 0x30
call ebx
mov eax, dword [esp + 0xec]
mov ecx, dword [esp + 0xf8]
add esp, 8
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetPriorityClass]
mov dword [esp + 0x38], eax
lea edx, [esp + 0x100]
push 0x20
lea eax, [esp + 0x40]
push edx
push eax
call ebp
lea ecx, [esp + 0x330]
push 0x80
lea edx, [esp + 0x6c]
push ecx
push edx
call ebp
mov eax, dword [esp + 0x2c]
mov ecx, 0x2b
lea esi, [esp + 0x48]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x28]
add eax, 0xac
add ecx, 0xac
add esp, 0x18
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0xdc]
push eax
push ecx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x40958d
mov esi, dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x430]
mov edx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov dword [eax], 0
mov dword [eax + 4], edx
pop ebx
add esp, 0x418
ret
Function at 0x4096c0
Capabilities:
Terminate process

Disassembly:
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll_putchar]
push esi
push edi
push 0x30
call ebx
mov esi, dword [esp + 0x18]
add esp, 4
mov eax, dword [esi + 8]
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0x30
mov edi, eax
call ebx
add esp, 4
test edi, edi
jne 0x4096ff
mov dword [esi + 4], edi
mov dword [esi], 0x25000005
pop edi
pop esi
pop ebx
ret
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x409719
mov dword [esi], 0x25000005
mov dword [esi + 4], eax
pop edi
pop esi
pop ebx
ret
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
mov dword [esi + 4], 0
pop edi
pop esi
pop ebx
ret

Function at 0x409920
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov esi, ecx
call fcn.00409990
mov ecx, dword [esi + 0xc]
mov eax, dword [esp + 0xc]
shr ecx, 2
test eax, eax
jne 0x409951
test ecx, ecx
jle 0x409986
mov edx, dword [esi + 4]
mov edi, dword [esi + 8]
mov edx, dword [edx + eax*4]
mov dword [edi + eax*4], edx
inc eax
cmp eax, ecx
jl 0x40993b
pop edi
pop esi
ret 4
jbe 0x409986
xor eax, eax
test ecx, ecx
jle 0x409986
push ebx
mov edx, dword [esi + 4]
mov edi, dword [esi + 8]
mov edi, dword [edi + eax*4]
mov ebx, dword [edx + eax*4]
lea edx, [edx + eax*4]
xor ebx, edi
mov dword [edx], ebx
mov edx, dword [esi + 8]
mov edi, dword [esi + 4]
mov ebx, dword [edx + eax*4]
lea edx, [edx + eax*4]
mov edi, dword [edi + eax*4]
xor ebx, edi
inc eax
cmp eax, ecx
mov dword [edx], ebx
jl 0x40995a
pop ebx
pop edi
pop esi
ret 4
Function at 0x409990
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x34
push ebx
push ebp
mov ebp, dword [sym.imp.MSVCRT.dll_putchar]
push esi
push edi
mov ebx, ecx
push 0x30
call ebp
add esp, 4
push 0
push 0
push 0
push str.DISPLAY
call dword [sym.imp.GDI32.dll_CreateDCA]
mov esi, eax
push 0x30
mov dword [esp + 0x1c], esi
call ebp
add esp, 4
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, eax
push 0x30
mov dword [esp + 0x18], edi
call ebp
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x14]
add esp, 4
push eax
push ecx
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push 0x30
mov dword [esp + 0x14], eax
call ebp
mov edx, dword [esp + 0x14]
add esp, 4
push edx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x30
call ebp
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x14]
add esp, 4
push 0xcc0020
push 0
push 0
push esi
push eax
push ecx
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
push 0x30
call ebp
mov eax, dword [ebx + 0x18]
mov cx, word [ebx + 0x1c]
mov edx, dword [ebx + 0x14]
add esp, 4
mov dword [esp + 0x24], eax
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov eax, dword [ebx + 4]
mov word [esp + 0x2a], cx
mov ecx, 0xa
lea esi, [esp + 0x1c]
mov edi, eax
mov dword [esp + 0x1c], 0x28
mov dword [esp + 0x20], edx
mov word [esp + 0x28], 1
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebx + 0x10]
push 0
push eax
mov eax, dword [ebx + 4]
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
add edx, eax
mov eax, dword [ebx + 0x18]
push edx
push eax
push 0
push edi
push esi
call dword [sym.imp.GDI32.dll_GetDIBits]
push 0x30
call ebp
add esp, 4
push esi
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
call esi
push 0x30
call ebp
mov ecx, dword [esp + 0x1c]
add esp, 4
push ecx
call esi
push 0x30
call ebp
add esp, 4
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
push 0x30
call ebp
push 0x30
call ebp
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
Function at 0x409bc0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x14
push ebx
xor ebx, ebx
push esi
push ebx
mov esi, ecx
push ebx
push ebx
push ebx
mov dword [esi], 0x40fed0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esi + 4], eax
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
call fcn.00409df0
test al, al
je 0x409c87
cmp byte [0x426424], bl
jne 0x409c87
push ebx
push ebx
mov al, 0x37
push ebx
push ebx
mov byte [esp + 0x1b], al
mov byte [esp + 0x1c], al
push ebx
mov al, 0x43
push ebx
push ebx
mov byte [esp + 0x2c], al
mov byte [esp + 0x32], al
push ebx
push connect
lea eax, [esp + 0x2c]
push 0x415d30
push eax
push ebx
mov byte [esp + 0x38], 0x23
mov byte [esp + 0x39], 0x33
mov byte [esp + 0x3a], 0x32
mov byte [esp + 0x3d], 0x30
mov byte [esp + 0x3e], bl
mov byte [esp + 0x41], 0x56
mov byte [esp + 0x42], 0x69
mov byte [esp + 0x43], 0x64
mov byte [esp + 0x44], 0x65
mov byte [esp + 0x45], 0x6f
mov byte [esp + 0x47], 0x61
mov byte [esp + 0x48], 0x70
mov byte [esp + 0x49], bl
call dword [sym.imp.USER32.dll_CreateWindowExA]
push ebx
push eax
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x28]
push 0x50000000
push ecx
mov dword [esi + 0x10], eax
call sub.AVICAP32.dll_capCreateCaptureWindowA
mov dword [esi + 0x14], eax
mov eax, esi
pop esi
pop ebx
add esp, 0x14
ret
Function at 0x4050b1
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 8]
and ecx, 0x530e7a5
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x78]
mov eax, dword [ecx + 0x7c]
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
sub ecx, 0x5884675c
test ecx, ecx
je 0x405100
cmp dword [ebp + 0x10], 0
je 0x405100
mov dword [ebp - 0x30], 1
jmp 0x405107
mov dword [ebp - 0x30], 0
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp + 8]
add eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 8]
and ecx, 0x7eef087f
and ecx, dword [0x4140d0]
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
lea edx, [eax + edx - 0x2bd1a3cc]
and ecx, edx
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp + 0xc]
add eax, dword [ebp + 8]
add eax, dword [0x4140d8]
test eax, eax
jne 0x40515a
mov ecx, dword [ebp + 0x10]
and ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x40515a
mov dword [ebp - 0x34], 0
jmp 0x405161
mov dword [ebp - 0x34], 1
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x24], edx
cmp dword [str.41_av], 0
jne 0x405183
jmp 0x7234d0
mov dword [ebp - 0x38], 1
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x20]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp + 8]
add edx, dword [eax + ecx*4]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.004036cf
add esp, 8
test eax, eax
je 0x4051b5
jmp 0x4051f7
mov dword [ebp - 0x18], 0
jmp 0x4051c7
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
cmp eax, dword [edx + 0x18]
jae 0x405222
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x20]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 8]
add ecx, dword [edx + eax*4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.004036cf
add esp, 8
test eax, eax
jne 0x4051f7
jmp 0x4051be
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x24]
mov edx, dword [ebp - 0x18]
xor eax, eax
mov ax, word [ecx + edx*2]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x1c]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
add ecx, dword [edx + eax*4]
mov eax, ecx
jmp 0x405224
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x40976f
Capabilities:
Terminate process

Disassembly:
cmp dword [0x41f470], 2
je fcn.0040977d
jmp loc.0072fb00
Function at 0x40d532
Capabilities:
Query environment variable

Disassembly:
push ecx
push ecx
mov eax, dword [0x41f6d8]
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
push esi
push edi
xor ebx, ebx
xor esi, esi
xor edi, edi
cmp eax, ebx
jne 0x40d580
call ebp
jmp loc.00726410
cmp eax, 1
jne 0x40d60a
cmp esi, ebx
jne 0x40d599
call ebp
mov esi, eax
cmp esi, ebx
je 0x40d65b
cmp word [esi], bx
mov eax, esi
je 0x40d5ae
inc eax
inc eax
cmp word [eax], bx
jne 0x40d5a0
inc eax
inc eax
cmp word [eax], bx
jne 0x40d5a0
sub eax, esi
mov edi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
sar eax, 1
push ebx
push ebx
inc eax
push ebx
push ebx
push eax
push esi
push ebx
push ebx
mov dword [esp + 0x34], eax
call edi
mov ebp, eax
cmp ebp, ebx
je 0x40d5ff
push ebp
call fcn.00408f12
cmp eax, ebx
pop ecx
mov dword [esp + 0x10], eax
je 0x40d5ff
push ebx
push ebx
push ebp
push eax
push dword [esp + 0x24]
push esi
push ebx
push ebx
call edi
test eax, eax
jne 0x40d5fb
push dword [esp + 0x10]
call fcn.004090ec
pop ecx
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
jmp fcn.0040d65d
cmp eax, 2
jne 0x40d65b

Function at 0x410859
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
cmp esi, dword [0x41faa0]
jae 0x410a36
mov eax, esi
and esi, 0x1f
sar eax, 5
shl esi, 3
jmp loc.00731e70
and dword [0x41f588], 0
mov dword [0x41f584], 9
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret

Function at 0x432004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..rsrc
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x473310ac
nop
nop
nop
nop
test eax, eax
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x432024
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
mov ecx, 0x24ca2338
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x432084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43206c
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x40d818
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x23c
mov dword [esp + 0x12c], edx
mov dword [esp + 0x130], eax
mov edi, edx
xor eax, eax
mov dh, byte [edi]
mov ecx, edi
test dh, dh
je 0x40d844
inc ecx
inc eax
mov dl, byte [ecx]
test dl, dl
jne 0x40d83c
mov ecx, eax
xor eax, eax
xor eax, ecx
mov edx, dword [esp + 0x12c]
cmp ecx, 4
jl 0x40d87c
imul ebp, dword [edx], 0x5bd1e995
mov ebx, ebp
shr ebx, 0x18
xor ebp, ebx
imul esi, ebp, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor eax, esi
add edx, 4
add ecx, 0xfffffffc
cmp ecx, 4
jge 0x40d856
cmp ecx, 3
je 0x40d88d
cmp ecx, 2
je 0x40d896
cmp ecx, 1
je 0x40d89f
jmp 0x40d8aa
movzx ecx, byte [edx + 2]
shl ecx, 0x10
xor eax, ecx
movzx ecx, byte [edx + 1]
shl ecx, 8
xor eax, ecx
movzx edx, byte [edx]
xor eax, edx
imul eax, eax, 0x5bd1e995
mov edx, eax
shr edx, 0xd
xor eax, edx
imul eax, eax, 0x5bd1e995
mov ecx, eax
shr ecx, 0xf
xor eax, ecx
mov edx, dword [0x8086d8]
test edx, edx
jle 0x40da7b
xor ebx, ebx
mov ebp, eax
mov ecx, dword [0x8086dc]
cmp ebp, dword [ecx + ebx*4]
jne 0x40da00
mov byte [esp + 0xc], 0
movsx edx, byte [0x808458]
test edx, edx
jne 0x40d902
lea esi, [esp + 0xc]
mov edi, 0x682660
mov dl, byte [edi]
inc edi
mov byte [esi], dl
inc esi
test dl, dl
jne 0x40d8f8
mov ecx, dword [0x8086e0]
mov edx, dword [ecx + ebx*4]
mov esi, dword [0x8086d0]
lea edi, [esp + 0xc]
mov edx, dword [esi + edx*4]
mov ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
dec edi
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
test al, al
jne 0x40d922
mov ecx, dword [0x8086e0]
mov esi, dword [ecx + ebx*4]
mov edi, dword [esp + 0x130]
mov dword [edi + 0x10], esi
lea eax, [esp + 0x114]
lea edx, [esp + 0xc]
call fcn.0045f6a4
movsx edx, byte [esp + 0x11c]
test edx, edx
je 0x40da7f
mov edx, dword [0x8086e4]
mov ecx, dword [edx + ebx*4]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
lea eax, [esp + 0x114]
call fcn.0040da94
lea eax, [esp + 0x114]
call fcn.0040dab8
movzx eax, al
neg eax
movzx esi, byte [eax + 0x681ddf]
lea eax, [esp + 0x114]
lea edx, [esp + 0x134]
mov ecx, esi
call fcn.0045f720
mov byte [esp + esi + 0x134], 0
test esi, esi
jle 0x40d9d2
xor edx, edx
movzx eax, byte [esp + edx + 0x134]
neg eax
dec eax
mov byte [esp + edx + 0x134], al
inc edx
cmp edx, esi
jl 0x40d9bb
lea edx, [esp + 0x134]
push edx
mov ecx, dword [esp + 0x130]
push ecx
call fcn.00469840
add esp, 8
test eax, eax
je 0x40da38
lea eax, [esp + 0x114]
call fcn.0045f734
mov edx, dword [0x8086d8]
inc ebx
cmp ebx, edx
jl 0x40d8d0
cmp ebx, edx
jge 0x40da2b
mov edx, dword [esp + 0x130]
mov dword [edx + 0xc], ebx
mov byte [edx + 8], 2
mov eax, 2
add esp, 0x23c
pop ebx
pop ebp
pop esi
pop edi
ret
xor eax, eax
add esp, 0x23c
pop ebx
pop ebp
pop esi
pop edi
ret
lea eax, [esp + 0x114]
call fcn.0040dab8
mov edx, dword [esp + 0x130]
mov byte [edx + 9], al
lea eax, [esp + 0x114]
call fcn.0040dad4
mov ecx, dword [esp + 0x130]
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], edx
lea eax, [esp + 0x114]
call fcn.0045f734
mov edx, dword [0x8086d8]
jmp 0x40da09
xor ebx, ebx
jmp 0x40da09
mov eax, 0xfffffffe
add esp, 0x23c
pop ebx
pop ebp
pop esi
pop edi
ret
Function at 0x40dab8
Capabilities:
Read file on windows

Disassembly:
push esi
lea edx, [esp]
push 1
push edx
push dword [eax]
call fcn.0046a00e
movsx eax, byte [esp + 0xc]
add esp, 0x10
ret
Function at 0x414868
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push edi
push esi
push ebp
push ebx
push esi
mov esi, edx
mov ebx, dword [eax]
mov edx, ecx
xor eax, eax
xor eax, ecx
mov edi, esi
cmp ecx, 4
jl 0x4148aa
mov dword [esp], ecx
imul ebp, dword [edi], 0x5bd1e995
mov ecx, ebp
shr ecx, 0x18
xor ebp, ecx
imul ecx, ebp, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor eax, ecx
add edi, 4
add edx, 0xfffffffc
cmp edx, 4
jge 0x414881
mov ecx, dword [esp]
cmp edx, 3
je 0x4148bb
cmp edx, 2
je 0x4148c4
cmp edx, 1
je 0x4148cd
jmp 0x4148d8
movzx edx, byte [edi + 2]
shl edx, 0x10
xor eax, edx
movzx edx, byte [edi + 1]
shl edx, 8
xor eax, edx
movzx edi, byte [edi]
xor eax, edi
imul eax, eax, 0x5bd1e995
mov edi, eax
shr edi, 0xd
xor eax, edi
imul edi, eax, 0x5bd1e995
mov eax, edi
shr eax, 0xf
xor edi, eax
and edi, 0x7fffffff
add edi, 0x80000000
test ebx, ebx
je 0x414920
mov ebp, ecx
cmp edi, dword [ebx + 0x1c]
jne 0x414919
cmp ebp, dword [ebx + 0x18]
jne 0x414919
push ebp
push esi
push dword [ebx + 0x14]
call fcn.0046a550
add esp, 0xc
test eax, eax
je 0x414920
mov ebx, dword [ebx + 0xc]
test ebx, ebx
jne 0x4148fe
mov eax, ebx
pop ecx
pop ebx
pop ebp
pop esi
pop edi
ret
Function at 0x421200
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, dword [0x5b56d8]
cmp eax, 0x270
jl 0x4212ce
xor edx, edx
mov eax, dword [edx*4 + 0x5e7fa0]
and eax, 0x80000000
mov ecx, dword [edx*4 + 0x5e7fa4]
and ecx, 0x7fffffff
or eax, ecx
mov ecx, eax
shr ecx, 1
and eax, 1
xor ecx, dword [edx*4 + 0x5e85d4]
xor ecx, dword [eax*4 + 0x58d698]
mov dword [edx*4 + 0x5e7fa0], ecx
inc edx
cmp edx, 0xe3
jl 0x421212
cmp edx, 0x26f
jge 0x42129a
mov eax, dword [edx*4 + 0x5e7fa0]
and eax, 0x80000000
mov ecx, dword [edx*4 + 0x5e7fa4]
and ecx, 0x7fffffff
or eax, ecx
mov ecx, eax
shr ecx, 1
and eax, 1
xor ecx, dword [edx*4 + 0x5e7c14]
xor ecx, dword [eax*4 + 0x58d698]
mov dword [edx*4 + 0x5e7fa0], ecx
inc edx
cmp edx, 0x26f
jl 0x42125a
mov edx, dword [0x5e895c]
and edx, 0x80000000
mov eax, dword [0x5e7fa0]
and eax, 0x7fffffff
or edx, eax
mov ecx, edx
shr ecx, 1
xor ecx, dword [0x5e85d0]
and edx, 1
xor ecx, dword [edx*4 + 0x58d698]
mov dword [0x5e895c], ecx
xor eax, eax
lea edx, [eax + 1]
mov dword [0x5b56d8], edx
mov eax, dword [eax*4 + 0x5e7fa0]
mov ecx, eax
shr ecx, 0xb
xor eax, ecx
mov edx, eax
shl edx, 7
and edx, 0x9d2c5680
xor eax, edx
mov edx, eax
shl edx, 0xf
and edx, 0xefc60000
xor eax, edx
mov edx, eax
shr edx, 0x12
xor eax, edx
ret
Function at 0x4384b9
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x18
mov dword [esp + 0x14], ecx
mov ebx, edx
mov edx, eax
test ebx, ebx
je 0x438645
mov eax, ebx
call fcn.00461c8c
mov dword [esp + 0x10], eax
mov ecx, eax
test ecx, ecx
je 0x43861e
movsx ecx, byte [ebx]
test ecx, ecx
je 0x43863e
xor ebp, ebp
mov ecx, ebx
movsx edx, byte [ecx]
cmp edx, 0x2f
je 0x43850e
movzx edx, dl
movzx ecx, byte [edx + 0x5b50a0]
inc ecx
movsx esi, cl
add ebp, esi
jmp 0x438513
lea ebx, [ecx + 1]
xor ebp, ebp
lea ecx, [ebp + ebx]
movsx edx, byte [ecx]
test edx, edx
jne 0x4384f7
push 0x38
call fcn.00403564
pop ecx
mov esi, eax
test esi, esi
je 0x438628
lea ecx, [ebp + 1]
push ecx
call fcn.004696fc
pop ecx
mov dword [esi + 0x14], eax
test eax, eax
je 0x43860f
push ebp
push ebx
push eax
call dword [0x5d248c]
add esp, 0xc
mov ecx, dword [esi + 0x14]
xor edx, edx
mov byte [ecx + ebp], dl
mov ecx, ebp
xor edx, ebp
cmp ebp, 4
jl 0x438588
imul eax, dword [ebx], 0x5bd1e995
mov edi, eax
shr edi, 0x18
xor eax, edi
imul edi, eax, 0x5bd1e995
imul edx, edx, 0x5bd1e995
xor edx, edi
add ebx, 4
add ecx, 0xfffffffc
cmp ecx, 4
jge 0x438562
cmp ecx, 3
je 0x438599
cmp ecx, 2
je 0x4385a2
cmp ecx, 1
je 0x4385ab
jmp 0x4385b6
movzx ecx, byte [ebx + 2]
shl ecx, 0x10
xor edx, ecx
movzx ecx, byte [ebx + 1]
shl ecx, 8
xor edx, ecx
movzx ecx, byte [ebx]
xor edx, ecx
imul edx, edx, 0x5bd1e995
mov ebx, edx
shr ebx, 0xd
xor edx, ebx
imul edx, edx, 0x5bd1e995
mov edi, edx
shr edi, 0xf
xor edx, edi
and edx, 0x7fffffff
mov ecx, dword [esp + 0x14]
mov ebx, ecx
shl ebx, 0x1f
add ebx, edx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], ebp
mov byte [esi + 0x30], cl
mov ebp, dword [esp + 0x34]
mov dword [esi + 0x28], ebp
mov edx, dword [esp + 0x38]
mov dword [esi + 0x2c], edx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x10]
mov edx, esi
call fcn.00461d24
mov eax, esi
add esp, 0x18
pop ebx
pop ebp
pop esi
pop edi
ret
push 1
push 0x186aa
call fcn.0046683c
add esp, 8
xor eax, eax
add esp, 0x18
pop ebx
pop ebp
pop esi
pop edi
ret
push 1
push 0x186aa
call fcn.0046683c
xor eax, eax
add esp, 0x20
pop ebx
pop ebp
pop esi
pop edi
ret
xor ebp, ebp
jmp 0x43851e
push 1
push 0xdbbb4
call fcn.0046683c
xor eax, eax
add esp, 0x20
pop ebx
pop ebp
pop esi
pop edi
ret
Function at 0x43efe8
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
push ebx
push esi
mov ecx, edx
mov edx, eax
mov esi, ecx
shr esi, 2
and ecx, 3
test esi, esi
je 0x43f06f
je 0x43f09e
mov eax, 0xffffffff
xor ebx, ebx
mov dword [esp], edi
movzx edi, byte [edx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x5b51a0]
movzx edi, byte [edx + 1]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x5b51a0]
movzx edi, byte [edx + 2]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x5b51a0]
movzx edi, byte [edx + 3]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x5b51a0]
add edx, 4
inc ebx
cmp ebx, esi
jb 0x43f00b
mov edi, dword [esp]
jmp 0x43f074
mov eax, 0xffffffff
test ecx, ecx
je 0x43f098
je 0x43f098
xor ebx, ebx
inc edx
movzx esi, byte [edx - 1]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x5b51a0]
inc ebx
cmp ebx, ecx
jb 0x43f07c
not eax
pop ecx
pop ebx
pop esi
ret
mov eax, 0xffffffff
jmp 0x43f074

Function at 0x43f0ac
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
lea edx, [esp]
push 8
push edx
push dword [eax]
call fcn.0046a00e
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
add esp, 0x14
ret
Function at 0x452440
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 8
mov dword [esp], eax
xor ecx, ecx
xor ecx, edx
cmp edx, 4
jl 0x452479
imul ebp, dword [eax], 0x5bd1e995
mov ebx, ebp
shr ebx, 0x18
xor ebp, ebx
imul esi, ebp, 0x5bd1e995
imul ecx, ecx, 0x5bd1e995
xor ecx, esi
add eax, 4
add edx, 0xfffffffc
cmp edx, 4
jge 0x452453
cmp edx, 3
je 0x45248a
cmp edx, 2
je 0x452493
cmp edx, 1
je 0x45249c
jmp 0x4524a7
movzx edx, byte [eax + 2]
shl edx, 0x10
xor ecx, edx
movzx edx, byte [eax + 1]
shl edx, 8
xor ecx, edx
movzx eax, byte [eax]
xor ecx, eax
imul ecx, ecx, 0x5bd1e995
mov edx, ecx
shr edx, 0xd
xor ecx, edx
imul edx, ecx, 0x5bd1e995
mov eax, edx
shr eax, 0xf
xor edx, eax
mov ecx, edx
shr ecx, 0x18
mov eax, dword [ecx*4 + 0x7ad180]
mov ecx, dword [0x8088d0]
mov dword [esp + 4], ecx
cmp eax, ecx
jge 0x45251e
mov ecx, dword [0x8088d4]
mov ebx, eax
mov ebp, edx
mov esi, dword [ecx + ebx*4]
cmp ebp, dword [esi + 4]
jne 0x452515
mov edi, dword [esi]
mov esi, dword [esp]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x45250c
or dl, dl
je 0x452508
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x45250c
add edi, 2
add esi, 2
or dl, dl
jne 0x4524ec
xor eax, eax
jmp 0x452511
sbb eax, eax
or eax, 1
test eax, eax
je 0x45252b
inc ebx
mov esi, dword [esp + 4]
cmp ebx, esi
jl 0x4524df
mov eax, 0xffffffff
add esp, 8
pop ebx
pop ebp
pop esi
pop edi
ret
mov eax, ebx
add esp, 8
pop ebx
pop ebp
pop esi
pop edi
ret