joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000c6a0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [edi + 4], eax
push ebx
xor ebx, ebx
mov dword [edi], vtable.CTcpClient.0
mov eax, 1
mov dword [edi + 8], eax
mov dword [edi + 0xc], 5
mov dword [edi + 0x10], ebx
push esi
mov dword [edi + 0x14], 0xffffffff
mov dword [edi + 0x18], ebx
mov dword [edi + 0x1c], ebx
test byte [0x101a4e5c], al
jne 0x1000c6f3
or dword [0x101a4e5c], eax
lea ecx, [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov edx, dword [ebp - 0x20]
mov dword [0x101a4e58], edx
mov eax, dword [0x101a4e58]
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], 0xa
mov dword [edi + 0x28], 0x28
mov dword [edi + 0x2c], 0x7530
mov dword [edi + 0x30], 0x2710
mov dword [edi + 0x34], ebx
mov dword [edi + 0x38], ebx
mov dword [edi + 0x3c], ebx
mov dword [edi + 0x40], ebx
mov dword [edi + 0x44], 3
mov dword [edi + 0x48], ebx
mov dword [edi + 0x4c], ebx
mov dword [edi + 0x50], ebx
mov dword [edi + 0x54], ebx
mov dword [edi + 0x58], ebx
mov edx, dword [0x1019eb98]
mov eax, dword [edx + 0xc]
mov ecx, 0x1019eb98
call eax
add eax, 0x10
xor ecx, ecx
mov dword [edi + 0x5c], eax
lea esi, [edi + 0x64]
mov word [edi + 0x60], cx
call fcn.10011090
push 0x1000
lea edx, [edi + 0x148]
mov dword [edi + 0x144], ebx
push edx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
push ebx
push ebx
push ebx
mov dword [edi + 0x16c], esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventA]
push ebx
mov dword [edi + 0x164], ebx
mov dword [edi + 0x168], ebx
mov dword [edi + 0x160], ebx
call esi
push ebx
push ebx
push ebx
push ebx
mov dword [edi + 0x170], eax
call esi
mov dword [edi + 0x174], eax
mov dword [edi + 0x178], ebx
pop esi
mov dword [edi + 0x17c], ebx
mov eax, edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000cba0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10127bea
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
push ebx
push esi
push edi
mov eax, dword [0x1019f010]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
test byte [0x101a4e64], 1
mov esi, dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov dword [edi], vtable.CTcpAgent.0
mov dword [edi + 4], ebx
mov dword [edi + 8], 0x2710
jne 0x1000cc2a
or dword [0x101a4e64], 1
lea eax, [ebp - 0x30]
push eax
call esi
mov ecx, dword [ebp - 0x1c]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1f4
jae 0x1000cc20
lea eax, [ebp - 0x54]
push eax
call esi
mov ecx, dword [ebp - 0x40]
lea edx, [ecx + ecx + 2]
mov dword [0x101a4e60], edx
jmp 0x1000cc2a
mov dword [0x101a4e60], 0x1f4
test byte [0x101a4e5c], 1
mov eax, dword [0x101a4e60]
mov dword [edi + 0xc], eax
jne 0x1000cc51
or dword [0x101a4e5c], 1
lea ecx, [ebp - 0x78]
push ecx
call esi
mov edx, dword [ebp - 0x74]
mov dword [0x101a4e58], edx
mov eax, dword [0x101a4e58]
mov ecx, dword [ebp + 0xc]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 0x3a98
mov dword [edi + 0x18], 0x96
mov dword [edi + 0x1c], 0x12c
mov dword [edi + 0x20], 0x258
mov dword [edi + 0x24], 0x4b0
mov dword [edi + 0x28], 0x7530
mov dword [edi + 0x2c], 0x2710
mov dword [edi + 0x30], ebx
mov dword [edi + 0x38], ebx
mov dword [edi + 0x3c], ebx
mov dword [edi + 0x40], ecx
mov dword [edi + 0x48], ebx
mov dword [edi + 0x4c], 3
mov dword [edi + 0x50], ebx
mov eax, 1
mov dword [edi + 0x34], eax
mov dword [edi + 0x44], eax
xor edx, edx
mov word [edi + 0x54], dx
mov dword [edi + 0x56], ebx
mov dword [edi + 0x5a], ebx
mov dword [edi + 0x5e], ebx
mov dword [edi + 0x62], ebx
mov dword [edi + 0x66], ebx
mov dword [edi + 0x6a], ebx
mov word [edi + 0x6e], bx
mov dword [edi + 0x70], ebx
mov dword [edi + 0x74], ebx
mov dword [edi + 0x78], ebx
push ebx
push ebx
push ebx
mov dword [edi + 0x84], ebx
mov dword [edi + 0x88], ebx
mov dword [edi + 0x8c], ebx
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov dword [edi + 0x80], eax
lea esi, [edi + 0x90]
call fcn.100112c0
lea eax, [edi + 0x174]
mov byte [ebp - 4], 3
mov dword [edi + 0x170], ebx
push eax
call fcn.10011410
mov dword [edi + 0x2c0], ebx
mov eax, dword [edi + 0x2c0]
mov dword [edi + 0x2bc], ebx
mov dword [edi + 0x300], ebx
mov dword [edi + 0x340], ebx
cmp eax, ebx
je 0x1000cd5b
push eax
call fcn.1010ef42
mov dword [edi + 0x2c0], ebx
mov dword [edi + 0x2bc], ebx
mov dword [edi + 0x300], ebx
add esp, 4
mov dword [edi + 0x340], ebx
mov byte [ebp - 4], 5
mov dword [edi + 0x380], ebx
push 8
mov dword [edi + 0x384], ebx
call fcn.1010ee2e
add esp, 4
cmp eax, ebx
je 0x1000cd80
mov dword [eax], ebx
mov dword [eax + 4], ebx
jmp 0x1000cd82
xor eax, eax
mov dword [edi + 0x38c], eax
mov dword [edi + 0x388], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1000f190
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
xor eax, eax
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x20]
mov word [ebp - 0x20], ax
mov eax, dword [ebp + 8]
push edx
push eax
mov dword [ebp - 4], 0x1c
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x1000f1c1
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
push ecx
push edx
lea ecx, [ebp + 8]
lea eax, [ebp - 0x20]
call fcn.1002de90
add esp, 8
pop edi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x100167e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push esi
mov eax, ecx
push edi
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x100167f0
sub eax, esi
add eax, ecx
mov edx, 0x811c9dc5
cmp ecx, eax
je 0x10016814
movsx esi, byte [ecx]
imul edx, edx, 0x1000193
inc ecx
xor edx, esi
cmp ecx, eax
jne 0x10016804
mov eax, dword [ebx + 0x20]
mov edi, eax
and edi, edx
cmp dword [ebx + 0x24], edi
ja 0x10016829
shr eax, 1
or ecx, 0xffffffff
sub ecx, eax
add edi, ecx
mov edx, dword [ebx + 0x10]
mov esi, dword [edx + edi*8]
nop
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 4]
cmp dword [eax + edi*8], ecx
lea eax, [eax + edi*8]
je 0x10016843
mov ecx, dword [eax + 4]
mov ecx, dword [ecx]
cmp esi, ecx
je 0x100168be
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
test eax, eax
je 0x10016865
mov ecx, dword [esi + 8]
push eax
push ecx
call fcn.1011077a
add esp, 8
test eax, eax
je 0x1001686f
mov esi, dword [esi]
jmp 0x10016830
push 0x80004005
call fcn.10017700
mov dword [ebp - 4], esi
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 4]
cmp dword [eax + edi*8], ecx
lea eax, [eax + edi*8]
je 0x10016885
mov ecx, dword [eax + 4]
mov ecx, dword [ecx]
cmp esi, ecx
je 0x100168a7
mov eax, dword [esi + 8]
test eax, eax
je 0x10016865
mov edx, dword [ebp + 0xc]
mov ecx, dword [edx]
push eax
push ecx
call fcn.1011077a
add esp, 8
test eax, eax
jne 0x100168a7
mov esi, dword [esi]
jmp 0x10016872
mov ecx, dword [ebp - 4]
cmp ecx, esi
je 0x100168be
mov eax, dword [ebp + 8]
pop edi
mov dword [eax + 4], esi
mov dword [eax], ecx
pop esi
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebx + 4]
mov ecx, dword [ebp + 8]
pop edi
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov eax, ecx
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x10016960
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebx + 8]
mov eax, ecx
push edi
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10016970
sub eax, edi
add eax, ecx
mov edx, 0x811c9dc5
cmp ecx, eax
je 0x10016994
movsx edi, byte [ecx]
imul edx, edx, 0x1000193
inc ecx
xor edx, edi
cmp ecx, eax
jne 0x10016984
mov ecx, dword [esi + 0x20]
mov eax, ecx
and eax, edx
cmp dword [esi + 0x24], eax
ja 0x100169a9
shr ecx, 1
or edx, 0xffffffff
sub edx, ecx
add eax, edx
mov ecx, dword [esi + 0x10]
cmp dword [ecx + eax*8 + 4], ebx
lea ecx, [ecx + eax*8]
jne 0x100169d2
cmp dword [ecx], ebx
jne 0x100169ca
mov edx, dword [esi + 4]
mov dword [ecx], edx
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 4]
mov dword [ecx + eax*8 + 4], edx
jmp 0x100169da
mov eax, dword [ebx + 4]
mov dword [ecx + 4], eax
jmp 0x100169da
cmp dword [ecx], ebx
jne 0x100169dd
mov edx, dword [ebx]
mov dword [ecx], edx
mov ebx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
lea edi, [esi + 4]
call fcn.10016a00
pop edi
mov eax, ebx
pop ebx
pop ebp
ret 8
Function at 0x10016aa0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [eax]
mov al, byte [ecx]
mov esi, 0x811c9dc5
test al, al
je 0x10016adc
lea esp, [esp]
lea edx, [eax - 0x41]
inc ecx
cmp dl, 0x19
ja 0x10016acb
add al, 0x20
imul esi, esi, 0x1000193
movsx eax, al
xor esi, eax
mov al, byte [ecx]
test al, al
jne 0x10016ac0
mov eax, dword [edi + 0x20]
mov ebx, eax
and ebx, esi
cmp dword [edi + 0x24], ebx
ja 0x10016af1
shr eax, 1
or ecx, 0xffffffff
sub ecx, eax
add ebx, ecx
mov edx, dword [edi + 0x10]
mov ecx, dword [edx + ebx*8]
mov esi, dword [edi + 4]
lea eax, [edx + ebx*8]
cmp esi, ecx
je 0x10016b3d
mov eax, dword [eax + 4]
mov esi, dword [eax]
cmp esi, ecx
je 0x10016b3d
mov esi, dword [esi + 4]
mov eax, dword [esi + 8]
test eax, eax
je 0x10016b31
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx]
push eax
push ecx
call fcn.10110a9a
add esp, 8
test eax, eax
je 0x10016b3b
mov edx, dword [edi + 0x10]
cmp esi, dword [edx + ebx*8]
jne 0x10016b0a
jmp 0x10016b3d
push 0x80004005
call fcn.10017700
mov esi, dword [esi]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
cmp esi, ecx
je 0x10016b56
push ecx
push eax
lea ecx, [edi + 4]
push esi
mov edx, ecx
call fcn.1003c6f0
mov eax, dword [ebp + 0x10]
mov dword [esp + 0xc], eax
mov eax, dword [edi + 0x10]
mov ecx, dword [eax + ebx*8]
lea eax, [eax + ebx*8]
cmp ecx, dword [edi + 4]
jne 0x10016b7a
mov ecx, dword [ebp + 0x10]
mov dword [eax], ecx
mov edx, dword [edi + 0x10]
mov eax, dword [esp + 0xc]
mov dword [edx + ebx*8 + 4], eax
jmp 0x10016ba3
cmp ecx, esi
jne 0x10016b85
mov ecx, dword [ebp + 0x10]
mov dword [eax], ecx
jmp 0x10016ba3
mov edx, dword [eax + 4]
mov ecx, dword [edx]
mov dword [eax + 4], ecx
cmp ecx, dword [esp + 0xc]
je 0x10016ba3
mov eax, dword [edi + 0x10]
mov ecx, dword [eax + ebx*8 + 4]
mov edx, dword [ecx + 4]
lea eax, [eax + ebx*8 + 4]
mov dword [eax], edx
call fcn.10016d30
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
pop edi
pop esi
mov dword [eax], ecx
mov byte [eax + 4], 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10016bc0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [eax]
mov eax, ecx
mov dword [esp + 0x10], edi
lea esi, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10016be0
sub eax, esi
add eax, ecx
mov edx, 0x811c9dc5
cmp ecx, eax
je 0x10016c04
movsx esi, byte [ecx]
imul edx, edx, 0x1000193
inc ecx
xor edx, esi
cmp ecx, eax
jne 0x10016bf4
mov eax, dword [edi + 0x20]
mov ebx, eax
and ebx, edx
cmp dword [edi + 0x24], ebx
ja 0x10016c19
shr eax, 1
or ecx, 0xffffffff
sub ecx, eax
add ebx, ecx
mov edx, dword [edi + 0x10]
mov ecx, dword [edx + ebx*8]
mov esi, dword [edi + 4]
add edi, 4
lea eax, [edx + ebx*8]
cmp esi, ecx
je 0x10016c5e
mov eax, dword [eax + 4]
mov esi, dword [eax]
cmp esi, ecx
je 0x10016c5e
mov esi, dword [esi + 4]
mov eax, dword [esi + 8]
test eax, eax
je 0x10016ca6
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx]
push eax
push ecx
call fcn.1011077a
add esp, 8
test eax, eax
je 0x10016c9d
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x10]
cmp esi, dword [eax + ebx*8]
jne 0x10016c35
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx]
cmp esi, eax
je 0x10016c76
push eax
push ecx
push esi
mov ecx, edi
mov edx, edi
call fcn.1003c6f0
mov ecx, dword [ebp + 0x10]
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0x10]
lea eax, [edx + ebx*8]
mov edx, dword [eax]
mov dword [esp + 0x14], ecx
cmp edx, dword [edi]
jne 0x10016ce4
mov edx, dword [esp + 0x14]
mov dword [eax], ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x10]
mov dword [ecx + ebx*8 + 4], edx
jmp 0x10016d0e
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
test eax, eax
jne 0x10016cb0
push 0x80004005
call fcn.10017700
mov ecx, dword [esi + 8]
push eax
push ecx
call fcn.1011077a
add esp, 8
test eax, eax
je 0x10016cc5
mov esi, dword [esi]
jmp 0x10016c5e
mov edx, dword [ebp + 0x10]
push edx
lea ebx, [esp + 0x18]
call fcn.10016a00
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp edx, esi
jne 0x10016cec
mov dword [eax], ecx
jmp 0x10016d0e
mov ecx, dword [eax + 4]
mov ecx, dword [ecx]
mov dword [eax + 4], ecx
cmp ecx, dword [esp + 0x14]
je 0x10016d0e
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x10]
mov ecx, dword [eax + ebx*8 + 4]
mov edx, dword [ecx + 4]
lea ebx, [eax + ebx*8 + 4]
mov dword [ebx], edx
mov edi, dword [esp + 0x10]
call fcn.10016e00
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
pop edi
pop esi
mov dword [eax], ecx
mov byte [eax + 4], 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100172b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, eax
mov eax, dword [ebp + 8]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x100172c8
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x100172fa
mov ecx, dword [ebp + 8]
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x100172f6
cmp esi, eax
jae 0x100172fa
dec edi
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x100172e8
cmp esi, eax
jb 0x10017300
pop esi
xor eax, eax
pop edi
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
ret
Function at 0x1001f150
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10128472
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x1019f010]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
lea edx, [ebp + 0xa]
mov dword [esi + 8], eax
lea eax, [esi + 0x30]
push edx
xor edi, edi
push eax
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 0xc], ecx
call fcn.100157f0
lea ecx, [ebp + 0xa]
lea eax, [esi + 0x5c]
push ecx
push eax
mov dword [ebp - 4], edi
call fcn.100157f0
mov byte [ebp - 4], 1
mov edx, dword [0x1019eb98]
mov eax, dword [edx + 0xc]
mov ecx, 0x1019eb98
call eax
add eax, 0x10
mov dword [esi + 0x88], eax
mov byte [ebp - 4], 2
mov edx, dword [0x1019eb98]
mov eax, dword [edx + 0xc]
mov ecx, 0x1019eb98
call eax
add eax, 0x10
mov dword [esi + 0x8c], eax
mov byte [ebp - 4], 3
mov eax, dword [esi]
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, 0xffff0001
add ecx, 0xffff
mov word [esi + 0x90], cx
mov dword [esi + 0x94], edi
mov dword [esi + 0x98], edi
mov dword [esi + 0x9c], edi
mov dword [esi + 0xa0], edi
cmp eax, edi
je 0x1001f247
push 0x20
call fcn.1010ed79
add esp, 4
cmp eax, edi
je 0x1001f26e
push fcn.10017690
push 0x100176d0
push 7
lea edi, [eax + 4]
push 4
push edi
mov dword [eax], 7
call fcn.1011083e
jmp 0x1001f26e
push 4
call fcn.1010ee2e
mov ebx, eax
add esp, 4
cmp ebx, edi
je 0x1001f26e
mov edx, dword [0x1019eb98]
mov eax, dword [edx + 0xc]
mov ecx, 0x1019eb98
call eax
add eax, 0x10
mov dword [ebx], eax
mov edi, ebx
mov eax, esi
mov dword [esi + 0x94], edi
call fcn.1002c970
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10024ab0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1012a0a0
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x1019f010]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
lea eax, [esp + 0x14]
push eax
mov esi, ecx
call fcn.10017590
xor edi, edi
mov dword [esp + 0x48], edi
mov edx, dword [0x1019eb98]
mov eax, dword [edx + 0xc]
mov ecx, 0x1019eb98
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
lea esi, [esp + 0x18]
call fcn.10017630
mov esi, dword [ebp + 8]
lea ecx, [esp + 0x1c]
push ecx
mov byte [esp + 0x4c], 2
call fcn.10017590
mov esi, dword [ebp + 0xc]
lea edx, [esp + 0x20]
push edx
mov byte [esp + 0x4c], 3
call fcn.10017590
mov byte [esp + 0x48], 4
or eax, 0xffffffff
lea ebx, [esp + 0x1c]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
call fcn.10025ec0
mov edi, eax
call fcn.10025de0
xor edx, edx
lea ecx, [esp + 0x20]
call fcn.100235e0
lea ecx, [esp + 0x14]
mov dword [esp + 0x48], 5
call fcn.10024ba0
lea esi, [esp + 0x14]
mov edi, eax
call fcn.100168e0
mov eax, edi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x100263f0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push esi
mov eax, ecx
push edi
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10026400
sub eax, esi
add eax, ecx
mov edx, 0x811c9dc5
cmp ecx, eax
je 0x10026424
movsx esi, byte [ecx]
imul edx, edx, 0x1000193
inc ecx
xor edx, esi
cmp ecx, eax
jne 0x10026414
mov eax, dword [ebx + 0x20]
mov esi, eax
and esi, edx
cmp dword [ebx + 0x24], esi
ja 0x10026439
shr eax, 1
or ecx, 0xffffffff
sub ecx, eax
add esi, ecx
mov edx, dword [ebx + 0x10]
mov edi, dword [edx + esi*8]
mov dword [ebp - 4], edi
mov ecx, dword [ebx + 0x10]
mov eax, dword [ebx + 4]
cmp dword [ecx + esi*8], eax
lea ecx, [ecx + esi*8]
je 0x10026455
mov edx, dword [ecx + 4]
mov eax, dword [edx]
cmp edi, eax
je 0x100264d5
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
test eax, eax
je 0x10026477
mov ecx, dword [edi + 8]
push eax
push ecx
call fcn.1011077a
add esp, 8
test eax, eax
je 0x10026484
mov edi, dword [edi]
jmp 0x10026442
push 0x80004005
mov dword [ebp - 4], edi
call fcn.10017700
mov eax, dword [edi + 8]
mov dword [ebp - 4], edi
test eax, eax
jne 0x10026498
push 0x80004005
call fcn.10017700
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx]
push eax
push ecx
call fcn.1011077a
add esp, 8
test eax, eax
je 0x100264c3
mov edx, dword [ebx + 4]
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], edx
mov ecx, dword [eax]
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], ecx
pop esi
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 4]
mov ecx, dword [eax]
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], ecx
pop esi
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebx + 4]
mov eax, dword [ebp + 8]
mov dword [ebp - 4], edi
pop edi
mov dword [eax], edx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x100264f0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push esi
mov eax, ecx
push edi
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10026500
sub eax, esi
add eax, ecx
mov edx, 0x811c9dc5
cmp ecx, eax
je 0x10026524
movsx esi, byte [ecx]
imul edx, edx, 0x1000193
inc ecx
xor edx, esi
cmp ecx, eax
jne 0x10026514
mov eax, dword [ebx + 0x20]
mov edi, eax
and edi, edx
cmp dword [ebx + 0x24], edi
ja 0x10026539
shr eax, 1
or ecx, 0xffffffff
sub ecx, eax
add edi, ecx
mov edx, dword [ebx + 0x10]
mov esi, dword [edx + edi*8]
nop
mov ecx, dword [ebx + 0x10]
mov eax, dword [ebx + 4]
cmp dword [ecx + edi*8], eax
lea ecx, [ecx + edi*8]
je 0x10026553
mov edx, dword [ecx + 4]
mov eax, dword [edx]
cmp esi, eax
je 0x100265ce
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
test eax, eax
je 0x10026575
mov ecx, dword [esi + 8]
push eax
push ecx
call fcn.1011077a
add esp, 8
test eax, eax
je 0x1002657f
mov esi, dword [esi]
jmp 0x10026540
push 0x80004005
call fcn.10017700
mov dword [ebp - 4], esi
mov ecx, dword [ebx + 0x10]
mov eax, dword [ebx + 4]
cmp dword [ecx + edi*8], eax
lea ecx, [ecx + edi*8]
je 0x10026595
mov edx, dword [ecx + 4]
mov eax, dword [edx]
cmp esi, eax
je 0x100265b7
mov eax, dword [esi + 8]
test eax, eax
je 0x10026575
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx]
push eax
push ecx
call fcn.1011077a
add esp, 8
test eax, eax
jne 0x100265b7
mov esi, dword [esi]
jmp 0x10026582
mov ecx, dword [ebp - 4]
cmp ecx, esi
je 0x100265ce
mov eax, dword [ebp + 8]
pop edi
mov dword [eax + 4], esi
mov dword [eax], ecx
pop esi
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebx + 4]
mov ecx, dword [ebp + 8]
pop edi
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov eax, ecx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x100266e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push esi
mov eax, ecx
push edi
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x100266f0
sub eax, esi
add eax, ecx
mov edx, 0x811c9dc5
cmp ecx, eax
je 0x10026714
movsx esi, byte [ecx]
imul edx, edx, 0x1000193
inc ecx
xor edx, esi
cmp ecx, eax
jne 0x10026704
mov eax, dword [ebx + 0x20]
mov esi, eax
and esi, edx
cmp dword [ebx + 0x24], esi
ja 0x10026729
shr eax, 1
or ecx, 0xffffffff
sub ecx, eax
add esi, ecx
mov edx, dword [ebx + 0x10]
mov edi, dword [edx + esi*8]
mov dword [ebp - 4], edi
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 4]
cmp dword [eax + esi*8], ecx
lea eax, [eax + esi*8]
je 0x10026745
mov ecx, dword [eax + 4]
mov ecx, dword [ecx]
cmp edi, ecx
je 0x100267c5
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
test eax, eax
je 0x10026767
mov ecx, dword [edi + 8]
push eax
push ecx
call fcn.1011077a
add esp, 8
test eax, eax
je 0x10026774
mov edi, dword [edi]
jmp 0x10026732
push 0x80004005
mov dword [ebp - 4], edi
call fcn.10017700
mov eax, dword [edi + 8]
mov dword [ebp - 4], edi
test eax, eax
jne 0x10026788
push 0x80004005
call fcn.10017700
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx]
push eax
push ecx
call fcn.1011077a
add esp, 8
test eax, eax
je 0x100267b3
mov edx, dword [ebx + 4]
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], edx
mov ecx, dword [eax]
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], ecx
pop esi
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 4]
mov ecx, dword [eax]
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], ecx
pop esi
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebx + 4]
mov eax, dword [ebp + 8]
mov dword [ebp - 4], edi
pop edi
mov dword [eax], edx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x10026a20
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov al, byte [ecx]
push esi
push edi
mov esi, 0x811c9dc5
test al, al
je 0x10026a52
lea edx, [eax - 0x41]
inc ecx
cmp dl, 0x19
ja 0x10026a41
add al, 0x20
imul esi, esi, 0x1000193
movsx eax, al
xor esi, eax
mov al, byte [ecx]
test al, al
jne 0x10026a36
mov eax, dword [ebx + 0x20]
mov edi, eax
and edi, esi
cmp dword [ebx + 0x24], edi
ja 0x10026a67
shr eax, 1
or ecx, 0xffffffff
sub ecx, eax
add edi, ecx
mov edx, dword [ebx + 0x10]
mov esi, dword [edx + edi*8]
mov dword [ebp - 4], esi
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 4]
cmp dword [eax + edi*8], ecx
lea eax, [eax + edi*8]
je 0x10026a83
mov ecx, dword [eax + 4]
mov ecx, dword [ecx]
cmp esi, ecx
je 0x10026b03
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
test eax, eax
je 0x10026aa5
mov ecx, dword [esi + 8]
push eax
push ecx
call fcn.10110a9a
add esp, 8
test eax, eax
je 0x10026ab2
mov esi, dword [esi]
jmp 0x10026a70
push 0x80004005
mov dword [ebp - 4], esi
call fcn.10017700
mov eax, dword [esi + 8]
mov dword [ebp - 4], esi
test eax, eax
jne 0x10026ac6
push 0x80004005
call fcn.10017700
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx]
push eax
push ecx
call fcn.10110a9a
add esp, 8
test eax, eax
je 0x10026af1
mov edx, dword [ebx + 4]
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], edx
mov ecx, dword [eax]
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], ecx
pop esi
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 4]
mov ecx, dword [eax]
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], ecx
pop esi
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebx + 4]
mov eax, dword [ebp + 8]
pop edi
mov dword [ebp - 4], esi
mov dword [eax], edx
pop esi
mov esp, ebp
pop ebp
ret 8