joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4926fe
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00401db6
mov eax, dword [0x692338]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.00405eb1
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x492740
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x49289c
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00406014
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x695fb8]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.00403279
mov ecx, dword [esi*4 + 0x695fb8]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x492895
cmp eax, dword [edi + ecx + 0x24]
jne 0x492895
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x492895
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00403279
add esp, 0x14
test edx, edx
jl 0x492895
jg 0x49280b
test eax, eax
jb 0x492895
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x492895
jl 0x492825
cmp dword [ebp - 0x1008], eax
ja 0x492895
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x492843
test ebx, ebx
je 0x49287c
cmp ecx, edi
jae 0x49287c
mov al, byte [ecx]
cmp al, 0xd
jne 0x49285d
lea eax, [edi - 1]
cmp ecx, eax
jae 0x492869
cmp byte [ecx + 1], 0xa
jne 0x492869
inc ecx
jmp 0x492869
movzx eax, al
movsx eax, byte [eax + 0x692ea8]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x492843
cmp edx, ebx
jne 0x492843
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x49289a
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040306c
leave
ret
Function at 0x498fd1
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x692338]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x49901c
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00499493
test al, al
jne 0x499016
sub edx, 2
cmp edx, edi
jne 0x498ffc
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x49903e
lea eax, [edi + 2]
cmp edx, eax
je 0x49903e
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00498bca
add esp, 0x10
jmp 0x499138
push esi
lea ecx, [ebp - 0x255]
call fcn.00499493
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x499081
push dword [ebp - 0x25c]
jmp 0x49902e
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x4990be
cmp word [ebp - 0x226], 0
je 0x4990df
cmp word [ebp - 0x226], ax
jne 0x4990be
cmp word [ebp - 0x224], 0
je 0x4990df
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00498bca
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x49912b
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x499098
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x499113
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x499138
push 0x4985b2
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.0040556a
add esp, 0x10
jmp 0x499108
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040306c
leave
ret
Function at 0x4a11fc
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x695fb8]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4a123c
cmp byte [ebx], 0xa
jne 0x4a123c
or byte [eax + edi + 0x28], 4
jmp 0x4a1241
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x4a133f
mov al, byte [edx]
cmp al, 0x1a
je 0x4a1321
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x4a1270
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x4a1295
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x4a129f
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x4a1252
jmp 0x4a133f
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4a131c
cmp dword [ebp - 0xc], 0
je 0x4a131c
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x695fb8]
test byte [eax + edi + 0x28], 0x48
je 0x4a12f6
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x4a12e1
mov byte [esi], dl
jmp 0x4a12f2
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x695fb8]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x4a133f
cmp byte [ebp - 1], 0xa
jne 0x4a1305
cmp esi, ebx
jne 0x4a1305
mov byte [esi], 0xa
jmp 0x4a133e
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0040194c
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x4a133f
mov byte [esi], 0xd
jmp 0x4a133e
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x695fb8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4a133b
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4a133f
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4a139b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x695fb8]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4a13de
cmp word [esi], dx
jne 0x4a13de
or byte [edi + eax + 0x28], 4
jmp 0x4a13e3
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x4a1536
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x4a1516
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x4a1425
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x4a145b
cmp eax, edx
jae 0x4a1467
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x4a13fd
jmp 0x4a1536
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4a1512
cmp dword [ebp - 0x14], 0
je 0x4a1512
mov eax, dword [ebx*4 + 0x695fb8]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x4a14ea
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x4a14b3
mov word [esi], cx
jmp 0x4a14e6
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x695fb8]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x695fb8]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x695fb8]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x4a1536
pop ebx
cmp word [ebp - 4], bx
jne 0x4a14fb
cmp esi, dword [ebp + 0xc]
jne 0x4a14fb
mov word [esi], bx
jmp 0x4a1533
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0040194c
add esp, 0x10
cmp word [ebp - 4], bx
je 0x4a1536
push 0xd
jmp 0x4a152f
mov ecx, dword [ebx*4 + 0x695fb8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4a152d
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4a1536
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x10001cc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x14]
sub esp, 0xc
xor ecx, ecx
test edx, edx
je 0x10001dc6
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
cmp edx, 0x40
jb 0x10001da8
lea eax, [edx - 1]
add eax, ebx
cmp edi, eax
ja 0x10001cfe
lea eax, [edx - 1]
add eax, edi
cmp eax, ebx
jae 0x10001da8
lea eax, [edx - 1]
add eax, esi
cmp edi, eax
ja 0x10001d14
lea eax, [edx - 1]
add eax, edi
cmp eax, esi
jae 0x10001da8
mov eax, edx
mov edx, esi
sub edx, ebx
and eax, 0xffffffc0
mov dword [ebp + 8], edx
mov edx, edi
sub edx, ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], edx
lea eax, [ebx + 0x10]
mov ebx, dword [ebp + 8]
mov edx, esi
sub edx, edi
mov dword [ebp - 8], edx
lea edx, [edi + 0x20]
nop word [eax + eax]
movups xmm0, xmmword [eax - 0x10]
mov edi, dword [ebp - 4]
lea eax, [eax + 0x40]
movups xmm1, xmmword [ecx + esi]
lea edx, [edx + 0x40]
pxor xmm1, xmm0
movups xmm0, xmmword [eax - 0x40]
movups xmmword [edx - 0x60], xmm1
movups xmm1, xmmword [ebx + eax - 0x40]
pxor xmm1, xmm0
movups xmm0, xmmword [eax - 0x30]
movups xmmword [edi + eax - 0x40], xmm1
mov edi, dword [ebp - 8]
movups xmm1, xmmword [edi + edx - 0x40]
mov edi, dword [ebp + 0x10]
pxor xmm1, xmm0
movups xmm0, xmmword [eax - 0x20]
movups xmmword [edx - 0x40], xmm1
movups xmm1, xmmword [ecx + esi + 0x30]
add ecx, 0x40
pxor xmm1, xmm0
movups xmmword [edx - 0x30], xmm1
cmp ecx, dword [ebp - 0xc]
jb 0x10001d40
mov edx, dword [ebp + 0x14]
mov ebx, dword [ebp + 0xc]
mov dword [ebp + 0x10], ecx
cmp ecx, edx
jae 0x10001dc3
sub esi, ebx
lea eax, [ecx + ebx]
sub edi, ebx
sub edx, ecx
mov cl, byte [eax + esi]
lea eax, [eax + 1]
xor cl, byte [eax - 1]
mov byte [eax + edi - 1], cl
sub edx, 1
jne 0x10001db1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10002bf0
Capabilities:
Authenticate hmac
Encode data using xor
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x368
mov eax, dword [0x1004e054]
xor eax, esp
mov dword [esp + 0x364], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], eax
push esi
push edi
cmp edx, 0x40
jne 0x10002c26
mov edi, edx
jmp 0x10002d04
jbe 0x10002cc5
push edx
mov edx, ecx
mov dword [esp + 0xac], 0x6a09e667
lea ecx, [esp + 0x24]
mov dword [esp + 0xb0], 0xbb67ae85
mov edi, 0x20
mov dword [esp + 0xb4], 0x3c6ef372
mov dword [esp + 0xb8], 0xa54ff53a
mov dword [esp + 0xbc], 0x510e527f
mov dword [esp + 0xc0], 0x9b05688c
mov dword [esp + 0xc4], 0x1f83d9ab
mov dword [esp + 0xc8], 0x5be0cd19
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
call fcn.10003120
add esp, 4
lea edx, [esp + 0x340]
lea ecx, [esp + 0x20]
call fcn.100031c0
lea eax, [esp + 0x340]
mov dword [esp + 0x14], eax
jmp 0x10002ccb
mov dword [esp + 0x14], ecx
mov edi, edx
mov esi, 0x40
lea eax, [esp + 0x2c0]
sub esi, edi
add eax, edi
push esi
push 0x36
push eax
call fcn.1001a930
add esp, 0xc
lea eax, [esp + 0x300]
add eax, edi
push esi
push 0x5c
push eax
call fcn.1001a930
add esp, 0xc
test edi, edi
jle 0x10002d35
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x2c0]
sub ecx, eax
xor eax, eax
mov dword [esp + 0x14], ecx
lea esi, [esp + 0x2c0]
add esi, eax
inc eax
mov dl, byte [ecx + esi]
mov cl, dl
xor dl, 0x5c
xor cl, 0x36
mov byte [esi + 0x40], dl
mov byte [esi], cl
mov ecx, dword [esp + 0x14]
cmp eax, edi
jl 0x10002d13
push 0x40
lea edx, [esp + 0x2c4]
mov dword [esp + 0xac], 0x6a09e667
lea ecx, [esp + 0x24]
mov dword [esp + 0xb0], 0xbb67ae85
mov dword [esp + 0xb4], 0x3c6ef372
mov dword [esp + 0xb8], 0xa54ff53a
mov dword [esp + 0xbc], 0x510e527f
mov dword [esp + 0xc0], 0x9b05688c
mov dword [esp + 0xc4], 0x1f83d9ab
mov dword [esp + 0xc8], 0x5be0cd19
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
call fcn.10003120
add esp, 4
mov dword [esp + 0x150], 0x6a09e667
lea edx, [esp + 0x300]
mov dword [esp + 0x154], 0xbb67ae85
lea ecx, [esp + 0xc8]
mov dword [esp + 0x158], 0x3c6ef372
mov dword [esp + 0x15c], 0xa54ff53a
push 0x40
mov dword [esp + 0x164], 0x510e527f
mov dword [esp + 0x168], 0x9b05688c
mov dword [esp + 0x16c], 0x1f83d9ab
mov dword [esp + 0x170], 0x5be0cd19
mov dword [esp + 0xd0], 0
mov dword [esp + 0xcc], 0
call fcn.10003120
mov edx, dword [esp + 0x1c]
lea esi, [esp + 0x24]
mov ecx, 0x2a
lea edi, [esp + 0x174]
rep movsd dword es:[edi], dword [esi]
add esp, 4
lea esi, [esp + 0xc8]
mov ecx, 0x2a
lea edi, [esp + 0x218]
rep movsd dword es:[edi], dword [esi]
push dword [ebp + 0xc]
lea ecx, [esp + 0x24]
call fcn.10003120
add esp, 4
lea edx, [esp + 0x340]
lea ecx, [esp + 0x20]
call fcn.100031c0
push 0x20
lea edx, [esp + 0x344]
lea ecx, [esp + 0xcc]
call fcn.10003120
add esp, 4
lea edx, [esp + 0x340]
lea ecx, [esp + 0xc8]
call fcn.100031c0
mov eax, dword [esp + 0x1c]
movups xmm0, xmmword [esp + 0x340]
mov ecx, dword [esp + 0x36c]
pop edi
movups xmmword [eax], xmm0
pop esi
movups xmm0, xmmword [esp + 0x348]
xor ecx, esp
movups xmmword [eax + 0x10], xmm0
call fcn.10018a16
mov esp, ebp
pop ebp
ret
Function at 0x100035f0
Capabilities:
Encode data using base64

Disassembly:
pop edi
movzx ebx, dx
ror bx, cl
pop esi
or ebx, edi
bts bx, ax
sar bl, cl
xor eax, eax
pop ebx
mov esp, ebp
xchg bp, bp
pop ebp
jmp 0x10003531
ret
lea esp, [esp + 4]
test di, 0x7069
test edi, edi
jmp 0x100037fa
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov ebx, edx
mov edi, ecx
push 0x10047cb4
mov dword [ebp - 8], ebx
jmp 0x1000355d
je 0x100034d2
test ebx, ebx
jmp fcn.100759a3

Function at 0x1000fd30
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub dword [ebp + 0xc], 1
jne 0x1000fd4a
push 0
push 0
push 0x1000fbf0
call fcn.10023d0f
add esp, 0xc
mov eax, 1
pop ebp
ret 0xc
Function at 0x10013510
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0xc], edi
test eax, eax
jg 0x10013542
jl 0x10013535
test ecx, ecx
jne 0x10013542
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x10013602
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov ecx, ebx
call fcn.10014960
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x100135ae
jg 0x1001356d
test esi, esi
je 0x100135ae
mov ecx, dword [esp + 0xc]
cmp ecx, eax
jg 0x10013585
mov eax, dword [esp + 0x10]
jl 0x1001357f
cmp eax, esi
jae 0x10013585
mov esi, eax
mov dword [esp + 0x14], ecx
mov eax, dword [ebx + 0x1c]
push esi
push dword [eax]
push edi
call fcn.1001a3a0
mov eax, dword [ebx + 0x2c]
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
sub ecx, esi
sbb edx, dword [esp + 0x14]
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
jmp 0x100135cf
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
mov edx, dword [esp + 0xc]
cmp eax, 0xffffffff
je 0x100135eb
mov ecx, dword [esp + 0x10]
mov esi, 1
add ecx, 0xffffffff
mov byte [edi], al
adc edx, 0xffffffff
add edi, esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
test edx, edx
jg 0x10013554
jl 0x100135eb
test ecx, ecx
jne 0x10013554
mov eax, dword [ebp + 0xc]
sub eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0x10]
sbb ecx, edx
mov edx, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
mov edi, ecx
mov edx, dword [eax]
test edx, edx
je 0x10013641
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
test eax, eax
je 0x10013641
mov edi, dword [esp + 0xc]
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push edx
push edi
call fcn.1001a3a0
mov eax, dword [ebx + 0x2c]
add edi, esi
mov dword [esp + 0x18], edi
add esp, 0xc
mov edi, dword [ebp + 0xc]
sub edi, esi
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
cmp dword [ebx + 0x4c], 0
mov ecx, edi
je 0x100136b0
mov esi, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [esi], eax
jne 0x10013667
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [esi], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [ebx + 0x2c]
mov dword [eax], edx
mov esi, dword [esp + 0xc]
mov ecx, edi
cmp edi, 0xfff
jbe 0x10013699
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call fcn.10024d68
sub edi, eax
add esp, 0x10
add esi, eax
mov ecx, edi
cmp eax, 0xfff
jne 0x100136c4
cmp edi, eax
ja 0x10013675
test ecx, ecx
je 0x100136b0
push dword [ebx + 0x4c]
push edi
push 1
push esi
call fcn.10024d68
mov ecx, edi
add esp, 0x10
sub ecx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, ecx
sbb edx, 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
pop edi
pop esi
sbb edx, 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10014f20
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003a88c
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x1004e054]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ecx + 0x30]
mov edi, dword [eax + 4]
mov ecx, edi
mov dword [ebp - 0x28], edi
mov eax, dword [edi]
call dword [eax + 4]
push 0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0
call fcn.10017ef9
mov byte [ebp - 4], 1
mov ecx, dword [0x10073800]
mov eax, dword [0x100745a4]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], ecx
test ecx, ecx
jne 0x10014fb7
push ecx
lea ecx, [ebp - 0x18]
call fcn.10017ef9
cmp dword [0x10073800], 0
jne 0x10014fa6
mov eax, dword [0x100737e8]
inc eax
mov dword [0x100737e8], eax
mov dword [0x10073800], eax
lea ecx, [ebp - 0x18]
call fcn.10017f51
mov ecx, dword [0x10073800]
mov dword [ebp - 0x24], ecx
cmp ecx, dword [edi + 0xc]
jae 0x10014fcc
mov eax, dword [edi + 8]
mov esi, dword [eax + ecx*4]
test esi, esi
jne 0x10015061
jmp 0x10014fce
xor esi, esi
cmp byte [edi + 0x14], 0
je 0x10014fe7
call fcn.100180d7
mov esi, dword [ebp - 0x24]
cmp esi, dword [eax + 0xc]
jae 0x10014feb
mov eax, dword [eax + 8]
mov esi, dword [eax + esi*4]
test esi, esi
jne 0x10015061
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10014ff6
mov esi, eax
jmp 0x10015061
push 0x18
call fcn.10018c0e
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 2
mov eax, dword [edi + 0x18]
test eax, eax
jne 0x10015013
lea eax, [edi + 0x1c]
push eax
lea ecx, [ebp - 0x70]
call fcn.100102f0
lea eax, [ebp - 0x3c]
mov dword [esi + 4], 0
push eax
mov dword [esi], vtable.std::ctype_char_.0
call fcn.100184d6
add esp, 4
lea ecx, [ebp - 0x70]
movups xmm0, xmmword [eax]
movups xmmword [esi + 8], xmm0
call fcn.100103a0
mov dword [ebp - 0x14], esi
push esi
mov byte [ebp - 4], 3
call fcn.100180ab
mov eax, dword [esi]
add esp, 4
mov ecx, esi
call dword [eax + 4]
mov dword [0x100745a4], esi
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0
call fcn.10017f51
mov eax, dword [esi]
mov ecx, esi
push 0x20
mov eax, dword [eax + 0x20]
call eax
mov edx, dword [edi]
mov ecx, edi
mov byte [ebp - 0x1d], al
mov edx, dword [edx + 8]
call edx
test eax, eax
je 0x10015090
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov al, byte [ebp - 0x1d]
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.10018a16
mov esp, ebp
pop ebp
ret 4
Function at 0x10015b60
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, ecx
mov eax, 0x1fffffff
bsr ecx, eax
push esi
mov esi, 1
mov dword [ebp - 0x18], ebx
mov eax, esi
shl eax, cl
mov ecx, dword [ebp + 8]
push edi
cmp ecx, eax
ja 0x10015cf0
lea eax, [ecx - 1]
or eax, esi
bsr ecx, eax
mov eax, dword [ebx + 4]
push eax
mov dword [ebp - 0xc], eax
lea ecx, [ecx + 1]
shl esi, cl
lea ecx, [ebx + 0xc]
lea eax, [esi + esi]
push eax
call fcn.10014de0
mov edi, dword [ebx + 4]
lea eax, [esi - 1]
mov ecx, dword [ebp - 0xc]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], esi
mov edi, dword [edi]
mov eax, edi
cmp edi, ecx
je 0x10015cc8
cmp dword [edi + 0x1c], 0x10
lea ebx, [edi + 8]
mov eax, dword [eax]
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], ebx
jb 0x10015bdb
mov edx, dword [ebx]
mov dword [ebp - 0x10], edx
mov esi, dword [ebx + 0x10]
xor edx, edx
mov dword [ebp - 4], 0x811c9dc5
mov dword [ebp - 0x14], esi
test esi, esi
je 0x10015c13
mov ecx, dword [ebp - 4]
mov eax, esi
mov ebx, dword [ebp - 0x10]
movzx esi, byte [edx + ebx]
inc edx
xor esi, ecx
imul ecx, esi, 0x1000193
cmp edx, eax
jb 0x10015bf6
mov eax, dword [ebp - 8]
lea ebx, [edi + 8]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
mov esi, dword [edx + 0x18]
and esi, dword [ebp - 4]
mov edx, dword [edx + 0xc]
lea edx, [edx + esi*8]
mov esi, dword [edx]
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], esi
cmp esi, ecx
jne 0x10015c38
mov dword [edx], edi
mov dword [edx + 4], edi
jmp 0x10015cbe
mov esi, dword [edx + 4]
lea eax, [esi + 8]
push eax
push ebx
call fcn.10016410
test al, al
jne 0x10015c72
mov ebx, dword [esi]
mov eax, dword [ebp - 8]
cmp ebx, edi
je 0x10015c6a
mov esi, dword [edi + 4]
mov dword [esi], eax
mov edx, dword [eax + 4]
mov dword [edx], ebx
mov ecx, dword [ebx + 4]
mov dword [ecx], edi
mov dword [ebx + 4], edx
mov dword [eax + 4], esi
mov dword [edi + 4], ecx
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], edi
jmp 0x10015cbb
mov ebx, esi
cmp dword [ebp - 0x10], esi
je 0x10015c9b
nop dword [eax]
mov esi, dword [esi + 4]
mov ebx, esi
lea eax, [ebx + 8]
push eax
lea eax, [edi + 8]
push eax
call fcn.10016410
test al, al
je 0x10015cd1
cmp dword [ebp - 0x10], esi
jne 0x10015c80
mov esi, dword [edi + 4]
mov eax, dword [ebp - 8]
mov dword [esi], eax
mov edx, dword [eax + 4]
mov dword [edx], ebx
mov ecx, dword [ebx + 4]
mov dword [ecx], edi
mov dword [ebx + 4], edx
mov dword [eax + 4], esi
mov dword [edi + 4], ecx
mov ecx, dword [ebp - 4]
mov dword [ecx], edi
mov ecx, dword [ebp - 0xc]
mov edi, eax
cmp eax, ecx
jne 0x10015bc5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [esi]
mov esi, dword [edi + 4]
mov eax, dword [ebp - 8]
mov dword [esi], eax
mov edx, dword [eax + 4]
mov dword [edx], ebx
mov ecx, dword [ebx + 4]
mov dword [ecx], edi
mov dword [ebx + 4], edx
mov dword [eax + 4], esi
mov dword [edi + 4], ecx
jmp 0x10015cbb
push str.invalid_hash_bucket_count
call fcn.10017e6c
int3