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

Disassembly:
sub esp, 0x18
cmp byte [esi], 0
je 0x427245
cmp byte [esi + 1], 0
je 0x42724d
mov eax, dword [esi + 4]
push 2
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp byte [esi], 0
push ebp
je 0x427262
cmp byte [esi + 1], 0
je 0x427254
mov edx, dword [esi + 4]
push 1
push 0
push 0
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ebp, eax
sub ebp, dword [esi + 0xc]
mov dword [esp + 4], ebp
jmp 0x42726b
mov ecx, dword [esi + 0x18]
mov dword [esi + 0x1c], ecx
jmp 0x42721e
or eax, 0xffffffff
add esp, 0x18
ret
mov dword [esp + 4], 0
mov ebp, dword [esp + 4]
jmp 0x42726b
mov eax, dword [esi + 0x1c]
mov dword [esp + 4], eax
mov ebp, eax
push edi
mov edi, 0xffff
cmp ebp, edi
mov dword [esp + 0xc], edi
jae 0x42727f
mov dword [esp + 0xc], ebp
mov edi, ebp
push ebx
push 0x404
call dword [sym.imp.MSVCR80.dll_malloc]
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x42729e
pop ebx
pop edi
or eax, 0xffffffff
pop ebp
add esp, 0x18
ret
mov eax, 4
cmp edi, eax
mov dword [esp + 0x18], 0xffffffff
jbe 0x4273c3
jmp 0x4272cc
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0xc]
add eax, 0x400
cmp eax, edi
mov dword [esp + 0x14], edi
ja 0x4272dd
mov dword [esp + 0x14], eax
mov eax, ebp
sub eax, dword [esp + 0x14]
sub ebp, eax
cmp ebp, 0x404
mov dword [esp + 0x20], eax
jbe 0x4272f6
mov ebp, 0x404
cmp byte [esi], 0
je 0x42731b
cmp byte [esi + 1], 0
je 0x4273c3
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 4]
push 0
push 0
add ecx, eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x42731e
mov dword [esi + 0x1c], eax
cmp byte [esi], 0
mov edi, ebp
je 0x427346
mov ecx, dword [esi + 4]
push 0
lea eax, [esp + 0x20]
push eax
push ebp
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x427340
mov byte [esi + 8], 1
mov eax, dword [esp + 0x1c]
jmp 0x42736c
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
lea edx, [eax + ebp]
cmp edx, ecx
jbe 0x427357
sub ecx, eax
mov edi, ecx
mov ecx, dword [esi + 0x14]
push edi
add ecx, eax
push ecx
push ebx
call sub.MSVCR80.dll_memcpy
add esp, 0xc
add dword [esi + 0x1c], edi
mov eax, edi
xor edx, edx
div ebp
cmp eax, 1
jne 0x4273c3
lea eax, [ebp - 3]
test eax, eax
jl 0x4273ae
lea esp, [esp]
sub eax, 1
cmp byte [eax + ebx], 0x50
jne 0x42739e
cmp byte [eax + ebx + 1], 0x4b
jne 0x42739e
cmp byte [eax + ebx + 2], 5
jne 0x42739e
cmp byte [eax + ebx + 3], 6
je 0x4273a4
test eax, eax
jge 0x427380
jmp 0x4273ae
mov edx, dword [esp + 0x20]
add eax, edx
mov dword [esp + 0x18], eax
cmp dword [esp + 0x18], 0
jne 0x4273c3
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x14], eax
jb 0x4272c0
push ebx
call dword [sym.imp.MSVCR80.dll_free]
mov eax, dword [esp + 0x1c]
add esp, 4
pop ebx
pop edi
pop ebp
add esp, 0x18
ret
Function at 0x427cf0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x14]
xor ebx, ebx
cmp ebp, ebx
jne 0x427d0a
pop ebp
mov eax, 0xffffff9a
pop ebx
add esp, 8
ret
cmp dword [ebp + 0x18], ebx
je 0x427cff
cmp dword [ebp + 0x7c], ebx
je 0x427d1d
mov ebx, ebp
call fcn.004280e0
xor ebx, ebx
push edi
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x18]
push edx
mov edi, ebp
call fcn.00427a60
add esp, 0xc
test eax, eax
je 0x427d47
pop edi
pop ebp
mov eax, 0xffffff99
pop ebx
add esp, 8
ret
push esi
mov esi, dword [sym.imp.MSVCR80.dll_malloc]
push 0x84
call esi
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x427d89
push 0x4000
call esi
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
add esp, 4
cmp eax, ebx
mov dword [edi], eax
mov dword [edi + 0x44], ecx
mov dword [edi + 0x48], edx
mov dword [edi + 0x4c], ebx
jne 0x427d96
push edi
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
pop esi
pop edi
pop ebp
mov eax, 0xffffff98
pop ebx
add esp, 8
ret
mov dword [edi + 0x40], ebx
mov ecx, dword [ebp + 0x3c]
xor eax, eax
cmp dword [ebp + 0x34], ebx
mov dword [edi + 0x54], ecx
mov dword [edi + 0x50], ebx
mov edx, dword [ebp + 0x34]
sete al
mov dword [edi + 0x64], edx
mov ecx, dword [ebp]
mov dword [edi + 0x60], ecx
mov edx, dword [ebp + 0xc]
mov dword [edi + 0x68], edx
mov dword [edi + 0x18], ebx
cmp eax, ebx
jne 0x427ddf
lea esi, [edi + 4]
mov dword [edi + 0x24], ebx
mov dword [edi + 0x28], ebx
mov dword [edi + 0x2c], ebx
call fcn.00426b40
test eax, eax
jne 0x427ddf
mov dword [edi + 0x40], 1
mov eax, dword [ebp + 0x40]
mov dword [edi + 0x58], eax
mov ecx, dword [ebp + 0x44]
mov dword [edi + 0x5c], ecx
mov dl, byte [ebp + 0x30]
and dl, 1
mov byte [edi + 0x6c], dl
mov eax, dword [ebp + 0x30]
shr eax, 3
test al, 1
je 0x427e09
mov cl, byte [ebp + 0x39]
mov byte [edi + 0x80], cl
jmp 0x427e12
mov dl, byte [ebp + 0x3f]
mov byte [edi + 0x80], dl
mov al, byte [edi + 0x6c]
mov esi, dword [esp + 0x20]
neg al
lea edx, [edi + 0x70]
mov dword [edx], 0x12345678
mov dword [edi + 0x74], 0x23456789
mov dword [edi + 0x78], 0x34567890
sbb eax, eax
and eax, 0xc
cmp esi, ebx
mov dword [edi + 0x7c], eax
je 0x427e50
mov edi, edi
mov cl, byte [esi]
cmp cl, bl
je 0x427e50
call fcn.00426880
add esi, 1
jne 0x427e40
mov ecx, dword [ebp + 0x78]
mov edx, dword [esp + 0x14]
lea eax, [ecx + edx + 0x1e]
mov dword [edi + 0x3c], eax
mov dword [edi + 8], ebx
pop esi
mov dword [ebp + 0x7c], edi
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
Function at 0x4281d0
Capabilities:
Get common file path

Disassembly:
push ecx
cmp dword [esi], 0
push edi
jne 0x428271
cmp dword [esi + 4], 0xffffffff
jne 0x428271
lea edi, [esi + 0x244]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov eax, edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x428200
sub eax, edx
sar eax, 1
movzx eax, word [esi + eax*2 + 0x242]
cmp ax, 0x5c
je 0x428239
cmp ax, 0x2f
je 0x428239
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x428226
mov eax, dword [0x431d78]
mov dword [edi], eax
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0xc]
push ecx
call fcn.00426fa0
add esp, 4
test eax, eax
jne 0x428257
mov eax, dword [esp + 0xc]
pop edi
pop ecx
ret 4
call fcn.004273e0
mov dword [esi], eax
neg eax
sbb eax, eax
and eax, 0xfffffe00
add eax, 0x200
pop edi
pop ecx
ret 4
mov eax, 0x1000000
pop edi
pop ecx
ret 4

Function at 0x428840
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
sub esp, 0x414
mov eax, dword [0x44901c]
xor eax, esp
mov dword [esp + 0x410], eax
push ebx
mov ebx, dword [esp + 0x420]
push edi
mov edi, dword [esp + 0x420]
test edi, edi
je 0x42887d
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x42887d
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
movzx eax, word [ebx]
test ax, ax
je 0x42895a
mov ecx, ebx
mov edx, ebx
movzx eax, ax
cmp ax, 0x2f
je 0x42889c
cmp ax, 0x5c
jne 0x42889e
mov ecx, edx
movzx eax, word [edx + 2]
add edx, 2
test ax, ax
jne 0x428890
cmp ecx, ebx
push esi
je 0x4288e1
sub ecx, ebx
sar ecx, 1
add ecx, ecx
mov esi, ecx
push esi
lea eax, [esp + 0x218]
push ebx
push eax
call sub.MSVCR80.dll_memcpy
lea ecx, [esp + 0x220]
push ecx
push edi
mov word [esp + esi + 0x228], 0
call fcn.00428840
add esp, 0x14
test edi, edi
mov word [esp + 0xc], 0
je 0x428903
lea edx, [esp + 0xc]
mov eax, edi
sub edx, edi
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4288f4
mov eax, ebx
mov edx, ebx
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x428907
lea edi, [esp + 0xc]
sub eax, edx
add edi, 0xfffffffe
jmp 0x428920
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x428920
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea edx, [esp + 0xc]
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
pop esi
jne 0x42895a
push 0
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [esp + 0x418]
pop edi
pop ebx
xor ecx, esp
call fcn.00429602
add esp, 0x414
ret
Function at 0x429602
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44901c]
jne 0x42960c
repz ret
jmp fcn.00429b73
Function at 0x100215c0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100eee3b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x3c
push esi
mov eax, dword [0x10114080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x101252a8]
test al, 1
jne 0x10021705
or eax, 1
mov dword [0x101252a8], eax
mov dword [ebp - 4], 0
mov eax, 0x10
movaps xmm0, xmmword [0x10104360]
xorps xmm0, xmmword [0x10103fe0]
mov dword [ebp - 0x20], 0x6190619
mov dword [ebp - 0x1c], 0x6006641e
mov word [ebp - 0x18], 0x2617
movups xmmword [ebp - 0x30], xmm0
xor byte [ebp + eax - 0x30], 0x26
inc eax
cmp eax, 0x1a
jb 0x10021643
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x34], 0
movups xmmword [ebp - 0x48], xmm0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10021670
sub ecx, edx
lea eax, [ebp - 0x30]
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.10028220
mov byte [ebp - 4], 1
mov edx, dword [0x101391e4]
test edx, edx
je 0x10021699
mov edx, dword [edx + 0x50]
jmp 0x1002169b
xor edx, edx
mov eax, dword [0x101391dc]
test eax, eax
je 0x100216a9
mov eax, dword [eax + 0x18]
jmp 0x100216ab
xor eax, eax
lea ecx, [ebp - 0x48]
push ecx
push eax
lea ecx, [ebp - 0x14]
call fcn.100210e0
mov eax, dword [ebp - 0x14]
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x34]
mov dword [0x101252ac], eax
cmp ecx, 0xf
jbe 0x100216fc
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100216ed
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10021725
push ecx
push edx
call fcn.100c2c51
mov eax, dword [0x101252ac]
add esp, 8
mov dword [ebp - 4], 0xffffffff
jmp 0x1002170a
mov eax, dword [0x101252ac]
test eax, eax
je 0x10021712
mov ecx, esi
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.100c8cda
int3
Function at 0x100278b0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100eed70
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x10114080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
call fcn.100c27f2
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.100c182a
add esp, 8
mov dword [esi + 4], eax
mov ecx, edi
mov dword [edi + 0x34], esi
call fcn.10027bf0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10028060
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ef1e7
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x10114080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x10], ecx
push 0x40c
call fcn.100c27f2
mov ebx, eax
add esp, 4
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 0
lea edi, [ebx + 0xc]
xorps xmm0, xmm0
mov ecx, edi
movq qword [ebx], xmm0
mov dword [ebx + 8], 0
mov dword [ebx + 4], 1
mov dword [ebx + 8], 1
mov dword [ebx], vtable.std::_Ref_count_obj2_class_LagRecord_.0
mov eax, dword [esi]
push eax
mov dword [edi + 0xc], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x3b4], 0
mov dword [edi + 0x3b8], 0
mov dword [edi + 0x3bc], 0
mov byte [edi + 0x3c0], 0
mov dword [edi + 0x3c4], 0
mov byte [edi + 0x3c8], 0
mov dword [edi + 0x3cc], 0
mov dword [edi + 0x3d0], 0
mov dword [edi + 0x3d4], 0
mov dword [edi + 0x3d8], 0
mov dword [edi + 0x3dc], 0
mov dword [edi + 0x3e0], 0
mov word [edi + 0x3f0], 0
call fcn.10021730
mov eax, dword [ebp - 0x10]
xorps xmm0, xmm0
movq qword [eax], xmm0
mov dword [eax + 4], 0
mov dword [eax], edi
mov dword [eax + 4], ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1002fac0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0x10], 0x4342496b
xor eax, eax
mov dword [ebp - 0xc], 0x4352064a
mov dword [ebp - 8], 0x5453525e
mov word [ebp - 4], 0x5543
mov byte [ebp - 2], 0x26
xor byte [ebp + eax - 0x10], 0x26
inc eax
cmp eax, 0xf
jb 0x1002fae7
movaps xmm0, xmmword [0x10104670]
mov eax, 0x10
xorps xmm0, xmmword [0x10104360]
mov dword [ebp - 0x18], 0x53455248
mov word [ebp - 0x14], 0x4344
mov byte [ebp - 0x12], 0x26
movups xmmword [ebp - 0x28], xmm0
nop word [eax + eax]
xor byte [ebp + eax - 0x28], 0x26
inc eax
cmp eax, 0x17
jb 0x1002fb20
mov ecx, dword [0x10139250]
lea edx, [ebp - 0x10]
push 0
push 1
push edx
mov eax, dword [ecx]
lea edx, [ebp - 0x28]
push edx
mov eax, dword [eax + 0x150]
call eax
mov ecx, eax
mov dword [0x101378b0], ecx
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov dword [ebp - 0x10], 0x4342496b
xor eax, eax
mov dword [ebp - 0xc], 0x4352064a
mov dword [ebp - 8], 0x5453525e
mov word [ebp - 4], 0x5543
mov byte [ebp - 2], 0x26
xor byte [ebp + eax - 0x10], 0x26
inc eax
cmp eax, 0xf
jb 0x1002fb77
movaps xmm0, xmmword [0x10104510]
mov eax, 0x10
xorps xmm0, xmmword [0x10104360]
mov dword [ebp - 0x18], 0x2652474a
movups xmmword [ebp - 0x28], xmm0
xor byte [ebp + eax - 0x28], 0x26
inc eax
cmp eax, 0x14
jb 0x1002fba0
mov ecx, dword [0x10139250]
lea edx, [ebp - 0x10]
push 0
push 1
push edx
mov eax, dword [ecx]
lea edx, [ebp - 0x28]
push edx
mov eax, dword [eax + 0x150]
call eax
mov ecx, eax
mov dword [0x101378b4], ecx
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov esp, ebp
pop ebp
ret
Function at 0x10032890
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ef8c5
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x10114080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], 0x72626f6b
mov dword [ebp - 0x20], 0x706f6b61
lea edx, [ecx + 1]
mov word [ebp - 0x1c], 0x66
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100328d5
sub ecx, edx
lea eax, [ebp - 0x24]
push ecx
push eax
mov ecx, 0x10114cb0
call fcn.1002d6c0
mov ecx, 0x101391a8
call fcn.100922a0
test al, al
jne 0x10032902
xor eax, eax
jmp 0x10032a24
mov esi, dword [0x10114b24]
xor eax, eax
mov dword [ebp - 0x24], 0x454a4351
mov dword [ebp - 0x20], 0x6434b49
mov dword [ebp - 0x1c], 0x262c5503
nop
xor byte [ebp + eax - 0x24], 0x26
inc eax
cmp eax, 0xc
jb 0x10032920
push 0x10114cb0
lea edx, [ebp - 0x24]
lea ecx, [ebp - 0x44]
call fcn.100357a0
mov ebx, eax
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], 0x41000000
push eax
mov edx, ebx
mov dword [ebp - 0x14], esi
lea ecx, [ebp - 0x2c]
call fcn.1002df10
add esp, 0xc
mov edx, eax
mov byte [ebp - 4], 1
mov ecx, dword [0x101393d0]
cmp ecx, dword [0x101393d4]
je 0x100329a4
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov dword [edx], 0
mov dword [edx + 4], 0
add dword [0x101393d0], 8
jmp 0x100329ab
push edx
push ecx
call fcn.1002f260
mov byte [ebp - 4], 0
mov esi, dword [ebp - 0x28]
test esi, esi
je 0x100329d7
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x100329d7
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x100329d7
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
sub esp, 0x18
mov ecx, esp
push ebx
call fcn.10027110
push 0x10114b30
call fcn.10034970
mov ecx, dword [ebp - 0x30]
add esp, 0x1c
cmp ecx, 0xf
jbe 0x10032a1f
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10032a15
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10032a40
push ecx
push edx
call fcn.100c2c51
add esp, 8
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100c27d1
mov esp, ebp
pop ebp
ret
call fcn.100c8cda
int3
Function at 0x10032e30
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp byte [0x101224fc], 0
push ebx
push esi
push edi
je 0x10032fbe
mov ecx, dword [0x10139220]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x10032fbe
mov ecx, dword [0x101392a4]
xor ebx, ebx
mov dword [ebp - 4], ecx
mov eax, dword [ecx + 0x28]
mov dword [ebp - 8], eax
test eax, eax
je 0x10032fbe
mov eax, dword [ecx + 0x1c]
mov ecx, dword [eax + ebx*4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov esi, eax
mov edi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [esi + ecx], 0
jne 0x10032e90
xor edx, edx
test ecx, ecx
je 0x10032eb9
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10032ea0
cmp edi, 0x5ff56dc5
je 0x10032ec8
inc ebx
cmp ebx, dword [ebp - 8]
jae 0x10032fbe
mov ecx, dword [ebp - 4]
jmp 0x10032e74
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov edi, dword [eax + ebx*4]
test edi, edi
je 0x10032fbe
mov edx, dword [edi + 0x88]
test edx, edx
je 0x10032fbe
movss xmm1, dword [0x10103d88]
xor ebx, ebx
cmp edx, 4
jl 0x10032f8b
mov ecx, dword [edi + 0x7c]
lea esi, [edx - 4]
shr esi, 2
add ecx, 0x1078
inc esi
lea ebx, [esi*4]
movss xmm0, dword [ecx - 0xc60]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10032f2c
mov dword [ecx - 0xc60], 0x7f7fffff
movss xmm0, dword [ecx - 0x840]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10032f47
mov dword [ecx - 0x840], 0x7f7fffff
movss xmm0, dword [ecx - 0x420]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10032f62
mov dword [ecx - 0x420], 0x7f7fffff
movss xmm0, dword [ecx]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10032f75
mov dword [ecx], 0x7f7fffff
add ecx, 0x1080
sub esi, 1
jne 0x10032f11
cmp ebx, edx
jl 0x10032f8f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edx, edx
jle 0x10032fbe
imul ecx, ebx, 0x420
add ecx, 0x418
add ecx, dword [edi + 0x7c]
sub edx, ebx
movss xmm0, dword [ecx]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10032fb3
mov dword [ecx], 0x7f7fffff
add ecx, 0x420
sub edx, 1
jne 0x10032fa0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10034d00
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100efa25
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x10114080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor ecx, eax
movzx eax, byte [edi + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
lea eax, [ebp - 0x14]
imul ebx, ecx, 0x1000193
push ebx
push edi
push eax
call fcn.10036840
mov esi, dword [ebp - 0x10]
test esi, esi
jne 0x10034e61
cmp dword [0x1013e450], 0xfffffff
je 0x10034e78
mov dword [ebp - 0x1c], 0x1013e44c
mov dword [ebp - 4], esi
push 0x10
mov dword [ebp - 0x18], esi
call fcn.100c27f2
mov ecx, dword [edi]
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
mov dword [esi + 8], ecx
mov dword [esi + 0xc], 0
mov dword [ebp - 4], 1
mov ecx, dword [0x1013e450]
lea eax, [ecx + 1]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10104540]
mov eax, dword [0x1013e464]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10104540]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [0x1013e448]
jbe 0x10034e1a
call fcn.10036600
push ebx
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10036840
mov ecx, dword [0x1013e450]
mov edx, dword [eax]
jmp 0x10034e1d
mov edx, dword [ebp - 0x14]
mov edi, dword [edx + 4]
inc ecx
mov dword [0x1013e450], ecx
mov dword [esi], edx
mov dword [esi + 4], edi
mov dword [edi], esi
mov dword [edx + 4], esi
mov eax, dword [0x1013e460]
mov ecx, dword [0x1013e454]
and eax, ebx
mov ebx, dword [ecx + eax*8]
cmp ebx, dword [0x1013e44c]
jne 0x10034e4e
mov dword [ecx + eax*8], esi
jmp 0x10034e5d
cmp ebx, edx
jne 0x10034e57
mov dword [ecx + eax*8], esi
jmp 0x10034e61
cmp dword [ecx + eax*8 + 4], edi
jne 0x10034e61
mov dword [ecx + eax*8 + 4], esi
lea eax, [esi + 0xc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push str.unordered_map_set_too_long
call fcn.100c1658
int3
Function at 0x10035210
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x18
mov edx, dword [ebp + 8]
push ebx
mov ebx, ecx
cmp edx, eax
je 0x10035366
mov eax, dword [ebx + 4]
mov dword [ebp - 0x14], eax
mov eax, dword [edx + 4]
mov dword [ebp - 8], eax
movzx eax, byte [edx + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 9]
push esi
push edi
mov edi, dword [ebx + 0xc]
mov esi, edx
xor ecx, eax
mov dword [ebp - 0x18], edi
movzx eax, byte [edx + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [ebx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [edi + eax*8]
mov dword [ebp - 4], ecx
lea eax, [edi + eax*8]
mov dword [ebp - 0xc], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov eax, esi
mov edi, esi
mov esi, dword [esi]
push 0x10
push eax
call fcn.100c2c51
dec dword [ebx + 8]
add esp, 8
cmp edi, dword [ebp - 0x10]
je 0x100352c9
mov eax, dword [ebp + 0xc]
cmp esi, eax
jne 0x10035287
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jne 0x1003535c
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
pop edi
mov dword [edx], esi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
cmp ecx, dword [ebp + 8]
jne 0x100352dd
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov dword [edx], eax
jmp 0x100352e0
mov ecx, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
mov dword [edx + 4], ecx
cmp esi, eax
je 0x1003535c
nop word [eax + eax]
movzx eax, byte [esi + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [esi + 9]
xor ecx, eax
movzx eax, byte [esi + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [ebx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax*8]
mov dword [ebp - 4], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov eax, esi
mov edi, esi
mov esi, dword [esi]
push 0x10
push eax
call fcn.100c2c51
dec dword [ebx + 8]
add esp, 8
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp - 0x10]
je 0x1003536d
cmp esi, eax
jne 0x10035337
mov ecx, dword [ebp - 4]
mov dword [ecx], esi
mov ecx, dword [ebp - 8]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov dword [ecx], edx
mov dword [ecx + 4], edx
cmp esi, eax
jne 0x100352f0
mov ecx, dword [ebp - 8]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8