joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10073fb0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.10074100
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x10074085
mov edx, dword [ebp - 4]
cmp edx, dword [0x101eb1b0]
jb 0x10073ff5
mov eax, dword [ebp - 4]
cmp eax, dword [0x101eb1b4]
ja 0x10073ff5
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x10073fc5
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.10004188
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualQuery
test eax, eax
jne 0x1007401a
jmp 0x10074085
cmp dword [ebp - 0x14], 0x10000
jne 0x1007406e
cmp dword [ebp - 0x18], 0x10000
jb 0x1007406e
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_VirtualAlloc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10074051
mov eax, dword [ebp - 8]
jmp 0x10074087
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x10074061
xor eax, eax
jmp 0x10074087
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10074080
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.10074100
add esp, 4
mov dword [ebp - 4], eax
jmp 0x10073fc5
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10074140
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10005669
add esp, 0xc
mov dword [ebp - 4], 0
cmp dword [0x101f1b00], 0
jne 0x1007417d
cmp dword [0x101f1afc], 0
je 0x1007417d
mov eax, dword [0x101f1afc]
mov dword [0x101f1b00], eax
cmp dword [0x101f1b00], 0
je 0x100741fa
mov ecx, dword [0x101f1b00]
cmp dword [ecx + 8], 0
je 0x100741fa
mov edx, dword [0x101f1b00]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0x10]
jb 0x100741fa
mov ecx, dword [0x101f1b00]
mov edx, dword [ecx + 8]
cmp edx, dword [ebp - 0xc]
ja 0x100741fa
mov eax, dword [0x101f1b00]
mov ecx, dword [eax + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jb 0x100741c9
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jbe 0x100741d0
xor eax, eax
jmp 0x10074319
mov ecx, dword [0x101f1b00]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x40]
mov dword [ecx + 8], eax
push 0x48
push 0xcc
mov ecx, dword [ebp - 4]
push ecx
call fcn.10004188
add esp, 0xc
mov eax, dword [ebp - 4]
jmp 0x10074319
mov edx, dword [0x101f1afc]
mov dword [0x101f1b00], edx
jmp 0x10074216
mov eax, dword [0x101f1b00]
mov ecx, dword [eax + 4]
mov dword [0x101f1b00], ecx
cmp dword [0x101f1b00], 0
je 0x10074256
cmp dword [0x101f1b00], 0
je 0x10074254
mov edx, dword [0x101f1b00]
cmp dword [edx + 8], 0
je 0x10074254
mov eax, dword [0x101f1b00]
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 0x10]
jb 0x10074254
mov edx, dword [0x101f1b00]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0xc]
ja 0x10074254
jmp 0x100741ae
jmp 0x10074208
mov ecx, dword [ebp + 8]
and ecx, 0xffff
mov edx, dword [ebp + 8]
sub edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.100743a0
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10074317
mov eax, dword [ebp - 0x18]
mov dword [0x101f1b00], eax
mov ecx, dword [0x101f1b00]
mov dword [ecx], 0x52727464
mov edx, dword [0x101f1b00]
mov dword [edx + 8], 0
mov eax, dword [0x101f1b00]
mov ecx, dword [0x101f1afc]
mov dword [eax + 4], ecx
mov edx, dword [0x101f1b00]
mov dword [0x101f1afc], edx
mov dword [ebp - 0x14], 0
mov eax, dword [0x101f1b00]
add eax, 0x48
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x38c
jmp 0x100742e7
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 1
jle 0x10074307
imul edx, dword [ebp - 8], 0x48
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov dword [eax + edx + 0x40], ecx
imul edx, dword [ebp - 8], 0x48
add edx, dword [ebp - 4]
mov dword [ebp - 0x14], edx
jmp 0x100742de
mov eax, dword [0x101f1b00]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 8], ecx
jmp 0x100741ae
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10075410
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x101f1afc]
mov dword [ebp - 4], eax
jmp 0x10075429
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x10075450
lea eax, [ebp - 8]
push eax
push 0x40
push 0x10000
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x1007544e
call sub.KERNEL32.dll_GetLastError
jmp 0x10075452
jmp 0x10075420
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10077b90
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x101f1b58], 0
je 0x10077ba6
xor eax, eax
jmp 0x10077db8
cmp dword [0x101f1b54], 0
je 0x10077bb9
mov eax, dword [0x101f1b54]
jmp 0x10077db8
push 0x24
push 0
push 0x101f1b28
call fcn.10004188
add esp, 0xc
call sub.KERNEL32.dll_GetCurrentProcess
mov dword [0x101f1b28], eax
push 0
push 0
push str.dbghelp.dll
call sub.KERNEL32.dll_LoadLibraryExW
mov dword [0x101f1b2c], eax
cmp dword [0x101f1b2c], 0
jne 0x10077c5b
mov dword [0x101f1b58], 1
cmp dword [0x101f1b2c], 0
je 0x10077c0e
mov eax, dword [0x101f1b2c]
push eax
call sub.KERNEL32.dll_FreeLibrary
mov dword [0x101f1b30], 0
mov dword [0x101f1b34], 0
mov dword [0x101f1b38], 0
mov dword [0x101f1b3c], 0
mov dword [0x101f1b40], 0
mov dword [0x101f1b44], 0
mov dword [0x101f1b48], 0
xor eax, eax
jmp 0x10077db8
push str.ImagehlpApiVersionEx
mov ecx, dword [0x101f1b2c]
push ecx
call sub.KERNEL32.dll_GetProcAddress
mov dword [0x101f1b30], eax
push str.SymInitialize
mov edx, dword [0x101f1b2c]
push edx
call sub.KERNEL32.dll_GetProcAddress
mov dword [0x101f1b34], eax
push str.SymSetOptions
mov eax, dword [0x101f1b2c]
push eax
call sub.KERNEL32.dll_GetProcAddress
mov dword [0x101f1b38], eax
push str.SymGetOptions
mov ecx, dword [0x101f1b2c]
push ecx
call sub.KERNEL32.dll_GetProcAddress
mov dword [0x101f1b3c], eax
push str.SymLoadModule64
mov edx, dword [0x101f1b2c]
push edx
call sub.KERNEL32.dll_GetProcAddress
mov dword [0x101f1b40], eax
push str.SymGetModuleInfo64
mov eax, dword [0x101f1b2c]
push eax
call sub.KERNEL32.dll_GetProcAddress
mov dword [0x101f1b44], eax
push str.SymFromName
mov ecx, dword [0x101f1b2c]
push ecx
call sub.KERNEL32.dll_GetProcAddress
mov dword [0x101f1b48], eax
push 8
push 0
lea edx, [ebp - 0xc]
push edx
call fcn.10004188
add esp, 0xc
mov eax, 0xc
mov word [ebp - 0xc], ax
cmp dword [0x101f1b30], 0
je 0x10077d39
cmp dword [0x101f1b34], 0
je 0x10077d39
cmp dword [0x101f1b40], 0
je 0x10077d39
cmp dword [0x101f1b44], 0
je 0x10077d39
cmp dword [0x101f1b48], 0
jne 0x10077d3e
jmp 0x10077bf0
lea ecx, [ebp - 0xc]
push ecx
call dword [0x101f1b30]
movzx edx, word [ebp - 0xc]
cmp edx, 0xc
jge 0x10077d56
jmp 0x10077bf0
push 0
push 0
mov eax, dword [0x101f1b28]
push eax
call dword [0x101f1b34]
test eax, eax
jne 0x10077d6f
jmp 0x10077bf0
cmp dword [0x101f1b3c], 0
je 0x10077da9
cmp dword [0x101f1b38], 0
je 0x10077da9
call dword [0x101f1b3c]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
and ecx, 0xfffffff8
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
or edx, 0x2704
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
push eax
call dword [0x101f1b38]
mov dword [0x101f1b54], 0x101f1b28
mov eax, dword [0x101f1b54]
mov esp, ebp
pop ebp
ret
Function at 0x1014e550
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1434
call fcn.100024b9
mov eax, dword [0x101eb26c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
sar eax, 6
mov ecx, dword [ebp + 0xc]
and ecx, 0x3f
imul edx, ecx, 0x38
mov eax, dword [eax*4 + 0x101f2fa8]
mov ecx, dword [eax + edx + 0x18]
mov dword [ebp - 0x1434], ecx
mov edx, dword [ebp + 0x10]
add edx, dword [ebp + 0x14]
mov dword [ebp - 0x1424], edx
xor eax, eax
mov dword [ebp - 0x1410], eax
mov dword [ebp - 0x140c], eax
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x1420], ecx
mov edx, dword [ebp - 0x1420]
cmp edx, dword [ebp - 0x1424]
jae 0x1014e728
lea eax, [ebp - 5]
mov dword [ebp - 0x1430], eax
lea ecx, [ebp - 0x1404]
mov dword [ebp - 0x1418], ecx
mov edx, dword [ebp - 0x1418]
cmp edx, dword [ebp - 0x1430]
jae 0x1014e677
mov eax, dword [ebp - 0x1420]
cmp eax, dword [ebp - 0x1424]
jae 0x1014e677
mov ecx, dword [ebp - 0x1420]
mov dl, byte [ecx]
mov byte [ebp - 0x1419], dl
mov eax, dword [ebp - 0x1420]
add eax, 1
mov dword [ebp - 0x1420], eax
mov cl, byte [ebp - 0x1419]
mov byte [ebp - 0x1411], cl
movsx edx, byte [ebp - 0x1411]
cmp edx, 0xa
jne 0x1014e655
mov eax, dword [ebp - 0x1408]
add eax, 1
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp - 0x1418]
mov byte [ecx], 0xd
mov edx, dword [ebp - 0x1418]
add edx, 1
mov dword [ebp - 0x1418], edx
mov eax, dword [ebp - 0x1418]
mov cl, byte [ebp - 0x1411]
mov byte [eax], cl
mov edx, dword [ebp - 0x1418]
add edx, 1
mov dword [ebp - 0x1418], edx
jmp 0x1014e5d9
mov eax, dword [ebp - 0x1418]
lea ecx, [ebp - 0x1404]
sub eax, ecx
mov dword [ebp - 0x142c], eax
push 0
lea edx, [ebp - 0x1428]
push edx
mov eax, dword [ebp - 0x142c]
push eax
lea ecx, [ebp - 0x1404]
push ecx
mov edx, dword [ebp - 0x1434]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1014e6e1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1410], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1410]
mov dword [eax], ecx
mov edx, dword [ebp - 0x140c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x1408]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 8]
jmp 0x1014e748
mov edx, dword [ebp - 0x140c]
add edx, dword [ebp - 0x1428]
mov dword [ebp - 0x140c], edx
mov eax, dword [ebp - 0x1428]
cmp eax, dword [ebp - 0x142c]
jae 0x1014e723
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
jmp 0x1014e748
jmp 0x1014e5b2
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1410]
mov dword [eax], ecx
mov edx, dword [ebp - 0x140c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x1408]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000407a
mov esp, ebp
pop ebp
ret
Function at 0x1014e7e0
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1434
call fcn.100024b9
mov eax, dword [0x101eb26c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
sar eax, 6
mov ecx, dword [ebp + 0xc]
and ecx, 0x3f
imul edx, ecx, 0x38
mov eax, dword [eax*4 + 0x101f2fa8]
mov ecx, dword [eax + edx + 0x18]
mov dword [ebp - 0x1434], ecx
mov edx, dword [ebp + 0x10]
add edx, dword [ebp + 0x14]
mov dword [ebp - 0x1424], edx
xor eax, eax
mov dword [ebp - 0x1410], eax
mov dword [ebp - 0x140c], eax
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x141c], ecx
mov edx, dword [ebp - 0x141c]
cmp edx, dword [ebp - 0x1424]
jae 0x1014e9cb
lea eax, [ebp - 6]
mov dword [ebp - 0x1430], eax
lea ecx, [ebp - 0x1404]
mov dword [ebp - 0x1414], ecx
mov edx, dword [ebp - 0x1414]
cmp edx, dword [ebp - 0x1430]
jae 0x1014e916
mov eax, dword [ebp - 0x141c]
cmp eax, dword [ebp - 0x1424]
jae 0x1014e916
mov ecx, dword [ebp - 0x141c]
mov dx, word [ecx]
mov word [ebp - 0x141e], dx
mov eax, dword [ebp - 0x141c]
add eax, 2
mov dword [ebp - 0x141c], eax
mov cx, word [ebp - 0x141e]
mov word [ebp - 0x1418], cx
movzx edx, word [ebp - 0x1418]
cmp edx, 0xa
jne 0x1014e8f2
mov eax, dword [ebp - 0x1408]
add eax, 2
mov dword [ebp - 0x1408], eax
mov ecx, 0xd
mov edx, dword [ebp - 0x1414]
mov word [edx], cx
mov eax, dword [ebp - 0x1414]
add eax, 2
mov dword [ebp - 0x1414], eax
mov ecx, dword [ebp - 0x1414]
mov dx, word [ebp - 0x1418]
mov word [ecx], dx
mov eax, dword [ebp - 0x1414]
add eax, 2
mov dword [ebp - 0x1414], eax
jmp 0x1014e869
mov ecx, dword [ebp - 0x1414]
lea edx, [ebp - 0x1404]
sub ecx, edx
sar ecx, 1
shl ecx, 1
mov dword [ebp - 0x142c], ecx
push 0
lea eax, [ebp - 0x1428]
push eax
mov ecx, dword [ebp - 0x142c]
push ecx
lea edx, [ebp - 0x1404]
push edx
mov eax, dword [ebp - 0x1434]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1014e984
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1410], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
jmp 0x1014e9eb
mov eax, dword [ebp - 0x140c]
add eax, dword [ebp - 0x1428]
mov dword [ebp - 0x140c], eax
mov ecx, dword [ebp - 0x1428]
cmp ecx, dword [ebp - 0x142c]
jae 0x1014e9c6
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x1410]
mov dword [edx], eax
mov ecx, dword [ebp - 0x140c]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x1408]
mov dword [edx + 8], eax
mov eax, dword [ebp + 8]
jmp 0x1014e9eb
jmp 0x1014e842
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000407a
mov esp, ebp
pop ebp
ret
Function at 0x10004750
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
movzx edx, byte [eax + 8]
movzx ecx, byte [eax + 0xa]
xor edx, 0x811c9dc5
imul esi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor esi, edx
imul edx, esi, 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 0x100047c3
cmp ecx, eax
jne 0x100047bb
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 0x100047cb
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
jmp 0x100047cb
cmp ecx, eax
jne 0x100047cb
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov esi, dword [eax]
push 0x14
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.100bd88f
mov eax, dword [ebp + 8]
add esp, 8
pop edi
mov dword [eax], esi
pop esi
pop ebp
ret 8

Function at 0x10004e70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x10122fb8]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 0x100f2ba4
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x204], 0
mov dword [ebp - 0x200], 0xf
mov byte [ebp - 0x214], 0
call fcn.10006d30
push 0x1f8
lea eax, [ebp - 0x1fc]
push 0
push eax
call fcn.100c05b0
cmp dword [ebp - 0x200], 0x10
lea eax, [ebp - 0x214]
push 0x1f3
cmovae eax, dword [ebp - 0x214]
push eax
lea eax, [ebp - 0x1f8]
push 0x1f4
push eax
call fcn.100c9110
mov edx, dword [ebp - 0x200]
add esp, 0x1c
cmp edx, 0x10
jb 0x10004f27
mov ecx, dword [ebp - 0x214]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10004f1d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004f7f
push edx
push ecx
call fcn.100bd88f
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.10007b70
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 2
push ecx
call fcn.100cc29c
add esp, 0x1c
lea eax, [ebp - 0x1fc]
push 0
push 0x101292c8
push 0x1f8
push eax
push dword [0x101222c8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100bd89d
mov esp, ebp
pop ebp
ret
call fcn.100c8b69
int3
Function at 0x10005000
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10122fb8]
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 [0x10129248]
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 0x10005066
mov dword [ebx + 0x10], 0
mov ecx, ebx
push 0
mov dword [ebx + 0x14], 0xf
push 0x100f2ba4
mov byte [ebx], 0
call fcn.10006d30
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100bd89d
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 0x10005034
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.100bfab0
add esp, 0xc
mov dword [ebp - 0xc], 0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 8], 0xf
mov byte [ebp - 0x1c], 0
push dword [ebp - 0x20]
push esi
call fcn.10006d30
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]
movups xmm0, xmmword [ebp - 0x1c]
mov dword [ebx + 0x10], 0
lea ecx, [ebp - 0x1c]
mov dword [ebx + 0x14], 0
movups xmmword [ebx], xmm0
mov byte [ebp - 0x1c], 0
movq xmm0, qword [ebp - 0xc]
movq qword [ebx + 0x10], xmm0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0xf
call fcn.100049c0
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100bd89d
mov esp, ebp
pop ebp
ret
Function at 0x10005650
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e5850
mov eax, dword fs:[0]
push eax
sub esp, 0x434
mov eax, dword [0x10122fb8]
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 - 0x440], esi
mov eax, dword [esi + 0x5f8]
test eax, eax
je 0x100056a3
push dword [esi]
push eax
push str._p____p
call fcn.10004e70
add esp, 0xc
mov eax, dword [0x10129250]
inc eax
mov dword [0x10129250], eax
cmp eax, 0x9c4
jl 0x100056c9
push str.too_many_hooks:_cant_insert
call fcn.10004e70
add esp, 4
xor al, al
jmp 0x10005887
test edi, edi
je 0x100056e6
cmp byte [edi], 0
je 0x100056e6
push 0x3b
push edi
lea eax, [esi + 0x1d0]
push 0x3c
push eax
call fcn.100c9110
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.10072f90
mov ecx, eax
add esp, 0xa10
cmp dword [ecx + 0x14], 8
jb 0x10005715
mov ecx, dword [ecx]
mov esi, dword [ebp - 0x440]
push ecx
push 0x1f4
lea eax, [esi + 0x20c]
push eax
mov dword [ebp - 0x43c], eax
call fcn.100c8c45
add esp, 0xc
lea ecx, [ebp - 0x28]
call fcn.10004a10
imul eax, dword [0x10129250], 0xac8
sub esp, 0xa08
mov edi, esp
mov ecx, 0x282
rep movsd dword es:[edi], dword [esi]
add eax, dword [0x1012924c]
mov ecx, eax
call fcn.10008240
test al, al
jne 0x1000580f
mov edx, dword [ebp - 0x43c]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10005790
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.10006e20
push 0xfde9
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10071b20
add esp, 0xc
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 1
jb 0x100057d1
mov eax, dword [eax]
push eax
push str.failed_to_insert_hook__s
call fcn.10004e70
add esp, 8
lea ecx, [ebp - 0x40]
call fcn.100049c0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.10004a10
imul ecx, dword [0x10129250], 0xac8
add ecx, dword [0x1012924c]
call fcn.10007ff0
xor al, al
jmp 0x10005887
mov eax, dword [ebp - 0x440]
lea ecx, [ebp - 0x428]
mov edx, ecx
mov dword [ebp - 0x438], 4
mov dword [ebp - 0x42c], 0
mov eax, dword [eax]
mov dword [ebp - 0x430], eax
mov eax, dword [ebp - 0x43c]
sub eax, edx
mov dword [ebp - 0x43c], eax
nop word [eax + eax]
movzx eax, word [eax + ecx]
lea ecx, [ecx + 2]
mov word [ecx - 2], ax
test ax, ax
mov eax, dword [ebp - 0x43c]
jne 0x10005850
push 0
push 0x101292c8
push 0x3f8
lea eax, [ebp - 0x438]
push eax
push dword [0x101222c8]
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.100bd89d
mov esp, ebp
pop ebp
ret
Function at 0x100058b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe18
mov eax, dword [0x10122fb8]
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.10072f90
add esp, 0xa10
cmp dword [eax + 0x14], 8
jb 0x10005901
mov eax, dword [eax]
push eax
lea eax, [ebp + 0x214]
push 0x1f4
push eax
call fcn.100c8c45
mov edx, dword [ebp - 8]
add esp, 0xc
cmp edx, 8
jb 0x10005950
mov ecx, dword [ebp - 0x1c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10005946
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100059cb
push edx
push ecx
call fcn.100bd88f
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.100c05b0
push 0x1f3
push dword [ebp - 0xe18]
lea eax, [ebp - 0x404]
push 0x1f4
push eax
call fcn.100c8d76
add esp, 0x1c
lea eax, [ebp - 0xe14]
push 0
push 0x101292c8
push 0xdf8
push eax
push dword [0x101222c8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.100bd89d
mov esp, ebp
pop ebp
ret
call fcn.100c8b69
int3

Function at 0x100059e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
sub esp, 0x10
test eax, eax
je 0x100059fb
push eax
push str.removing_hook:__s
call fcn.10004e70
add esp, 8
mov eax, dword [ebp + 8]
push 0
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
push 0x101292c8
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10]
push 0x10
push eax
push dword [0x101222c8]
mov dword [ebp - 0x10], 3
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov esp, ebp
pop ebp
ret
Function at 0x100066a0
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 0x101292c8
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 [0x101222c8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
pop esi
pop ebp
ret

Function at 0x10007350
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
mov ebx, dword [ebp + 8]
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul ecx, edx, 0x1000193
mov edx, dword [esi + 0xc]
xor ecx, eax
movzx eax, byte [edi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [esi + 0x18]
mov esi, dword [esi + 4]
and ecx, eax
lea eax, [ecx*8]
mov ecx, dword [eax + edx]
add edx, 4
add eax, edx
mov edx, ecx
mov dword [ebp + 0xc], eax
nop
cmp edx, esi
jne 0x100073b8
mov eax, esi
jmp 0x100073bc
mov eax, dword [eax]
mov eax, dword [eax]
cmp ecx, eax
je 0x100073d9
mov eax, dword [ecx + 8]
cmp eax, dword [edi]
je 0x100073ce
mov ecx, dword [ecx]
mov eax, dword [ebp + 0xc]
jmp 0x100073b0
pop edi
pop esi
mov dword [ebx], ecx
mov eax, ebx
pop ebx
pop ebp
ret 8
pop edi
mov dword [ebx], esi
mov eax, ebx
pop esi
pop ebx
pop ebp
ret 8