joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42942d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x10005004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
mov eax, ecx
mov dword [ebp - 0x4c], eax
push esi
mov esi, dword [ebp + 0xc]
test ebx, ebx
je 0x429550
push edi
mov edi, dword [ebp + 8]
nop dword [eax]
lea ecx, [ebp - 0x44]
push ecx
mov ecx, eax
call fcn.0042911d
cmp ebx, 0x40
mov eax, 0x40
mov edx, ebx
cmovae edx, eax
xor eax, eax
test edx, edx
je 0x429544
cmp edx, 8
jb 0x429530
lea ecx, [edi - 1]
add ecx, edx
cmp esi, ecx
ja 0x42949e
lea ecx, [esi - 1]
add ecx, edx
cmp ecx, edi
jae 0x429530
lea ecx, [ebp + edx - 0x45]
cmp esi, ecx
ja 0x4294b6
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x48], ecx
lea ecx, [esi - 1]
add ecx, edx
cmp ecx, dword [ebp - 0x48]
jae 0x429530
movaps xmm4, xmmword [0x100040c0]
mov ecx, edx
and ecx, 7
mov dword [ebp - 0x48], edx
sub dword [ebp - 0x48], ecx
xorps xmm3, xmm3
movaps xmm2, xmm3
lea ecx, [ebp - 0x40]
movd xmm0, dword [edi]
lea ecx, [ecx + 8]
movd xmm1, dword [ecx - 0xc]
add eax, 8
pxor xmm1, xmm0
psubd xmm3, xmm4
movd dword [esi], xmm1
psubd xmm2, xmm4
movd xmm0, dword [edi + 4]
add edi, 8
movd xmm1, dword [ecx - 8]
pxor xmm1, xmm0
movd dword [esi + 4], xmm1
add esi, 8
cmp eax, dword [ebp - 0x48]
jb 0x4294d1
paddd xmm2, xmm3
movaps xmm0, xmm2
psrldq xmm0, 8
paddd xmm2, xmm0
movaps xmm0, xmm2
psrldq xmm0, 4
paddd xmm2, xmm0
movd ecx, xmm2
add ebx, ecx
cmp eax, edx
jae 0x429544
mov cl, byte [ebp + eax - 0x44]
dec ebx
xor cl, byte [edi]
inc eax
mov byte [esi], cl
inc edi
inc esi
cmp eax, edx
jb 0x429534
mov eax, dword [ebp - 0x4c]
test ebx, ebx
jne 0x42945d
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0042b216
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4aedea
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov dword [ebp + 8], 0x3b36
mov eax, dword [ebp + 8]
leave
sub esp, 0x60
pushfd
pushal
push dword [esp + 0x84]
push 0
push eax
fnsave dword [esp + 0x30]
wait
push dword fs:[0]
mov dword fs:[0], esp
mov eax, 1
jmp dword [esp + 0xc]
Function at 0x6847b5
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
sub esp, 0x20
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 8], 8
fild dword [ebp - 8]
fild dword [eax + 4]
fprem
fistp dword [ebp - 8]
fninit
cmp dword [ebp - 8], 0
je 0x68481f
mov dword [ebp - 4], 0xffffffff
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
cmp dword [ebx + 4], 0x10
je 0x684831
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 4], 0xffffffff
jne 0x684845
mov eax, 0x377
jmp 0x68498f
mov eax, dword [ebx + 8]
bswap eax
xor edx, edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0xc]
bswap eax
xor edx, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x10]
bswap eax
xor edx, edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x14]
bswap eax
xor edx, edx
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov eax, dword [ebx + 8]
bswap eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0xc]
bswap eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], 0xe3779b90
mov ecx, 0x10
mov eax, dword [ebp - 0x20]
shl eax, 4
add eax, dword [ebp - 0x18]
mov edx, eax
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x28]
xor edx, eax
mov eax, dword [ebp - 0x20]
shr eax, 5
add eax, dword [ebp - 0x1c]
xor edx, eax
mov eax, dword [ebp - 0x24]
sub eax, edx
mov dword [ebp - 0x24], eax
shl eax, 4
add eax, dword [ebp - 0x10]
mov edx, eax
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x28]
xor edx, eax
mov eax, dword [ebp - 0x24]
shr eax, 5
add eax, dword [ebp - 0x14]
xor edx, eax
mov eax, dword [ebp - 0x20]
sub eax, edx
mov dword [ebp - 0x20], eax
sub dword [ebp - 0x28], 0x9e3779b9
loop 0x68488e
xor ecx, ecx
bswap eax
mov cl, al
and cl, 7
mov dword [ebp - 0x30], ecx
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov eax, dword [ebx + 4]
sub eax, ecx
sub eax, 0xa
mov dword [ebp - 4], eax
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov ecx, dword [ebx + 4]
mov dword [ebp - 0x2c], ecx
push dword [ebp - 4]
call fcn.00683f94
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x684929
push ebx
call fcn.006b5804
add esp, 4
pop eax
mov dword [ebp - 8], eax
push dword [ebp - 0x30]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x24]
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call fcn.006849a7
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x684985
mov eax, dword [ebp - 8]
test eax, eax
je 0x68497b
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.006b57fe
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x68498f
mov eax, 0x377
jmp 0x68498f
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x6849a0
push ebx
call fcn.006b5804
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8
Function at 0x401980
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x14c
mov eax, dword [0x4320d0]
xor eax, esp
mov dword [esp + 0x148], eax
push ebx
mov eax, ecx
push 0
push 2
mov dword [esp + 0xc], eax
mov dword [eax + 8], 0
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov ebx, eax
mov dword [esp + 8], ebx
cmp ebx, 0xffffffff
jne 0x4019d4
call dword [sym.imp.KERNEL32.DLL_GetLastError]
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x148]
xor ecx, esp
call fcn.00424429
add esp, 0x14c
ret
push ebp
push esi
push edi
push 0x124
lea eax, [esp + 0x20]
mov dword [esp + 0x1c], 0x128
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x18]
push eax
push ebx
call sub.KERNEL32.DLL_Process32First
test eax, eax
je 0x401b22
mov ebp, dword [esp + 0x10]
nop word [eax + eax]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x140], 0
mov dword [esp + 0x150], 0
lea edx, [ecx + 1]
mov dword [esp + 0x154], 0xf
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401a38
sub ecx, edx
lea eax, [esp + 0x3c]
push ecx
push eax
lea ecx, [esp + 0x148]
call fcn.00401f20
cmp dword [ebp + 0x28], 0x10
lea edx, [ebp + 0x14]
jb 0x401a5f
mov edx, dword [ebp + 0x14]
mov ebx, dword [esp + 0x154]
lea ecx, [esp + 0x140]
mov edi, dword [esp + 0x140]
cmp ebx, 0x10
mov esi, dword [esp + 0x150]
cmovae ecx, edi
cmp esi, dword [ebp + 0x24]
jne 0x401ae0
sub esi, 4
jb 0x401aa1
nop dword [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x401aa6
add ecx, 4
add edx, 4
sub esi, 4
jae 0x401a90
cmp esi, 0xfffffffc
je 0x401ada
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x401ad3
cmp esi, 0xfffffffd
je 0x401ada
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x401ad3
cmp esi, 0xfffffffe
je 0x401ada
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x401ad3
cmp esi, 0xffffffff
je 0x401ada
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x401ada
sbb eax, eax
or eax, 1
jmp 0x401adc
xor eax, eax
test eax, eax
je 0x401b42
cmp ebx, 0x10
jb 0x401b0c
lea ecx, [ebx + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x401b02
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401b7f
push ecx
push edi
call fcn.0042441b
add esp, 8
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x18]
call sub.KERNEL32.DLL_Process32Next
test eax, eax
jne 0x401a10
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x158]
pop edi
pop esi
mov eax, dword [eax + 8]
pop ebp
pop ebx
xor ecx, esp
call fcn.00424429
add esp, 0x14c
ret
mov ecx, ebp
cmp dword [ecx + 8], 0
jne 0x401b51
mov eax, dword [esp + 0x20]
mov dword [ecx + 8], eax
cmp ebx, 0x10
jb 0x401b22
lea ecx, [ebx + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x401b73
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401b7f
push ecx
push edi
call fcn.0042441b
add esp, 8
jmp 0x401b22
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x401b90
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_SetEvent]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x401ba4
push eax
call edi
mov eax, dword [esi]
test eax, eax
je 0x401bc0
push eax
call edi
mov eax, dword [esi + 4]
test eax, eax
je 0x401bc0
push 0x2710
push eax
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push 0
push dword [esi + 8]
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
mov eax, dword [esi]
mov edi, dword [sym.imp.KERNEL32.DLL_ResetEvent]
test eax, eax
je 0x401bda
push eax
call edi
mov eax, dword [esi + 4]
test eax, eax
je 0x401be4
push eax
call edi
mov eax, dword [esi + 8]
mov edi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
test eax, eax
je 0x401bfb
push eax
call edi
mov dword [esi + 8], 0
mov eax, dword [esi + 0xc]
test eax, eax
je 0x401c0c
push eax
call edi
mov dword [esi + 0xc], 0
pop edi
pop esi
ret
Function at 0x40c510
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x425fe5
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x4320d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x434808], 0
mov dword [ebp - 4], 0
je 0x40c6dc
push 1
push 0x429a7c
lea ecx, [ebp + 0xc]
call fcn.00402ec0
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040d890
add esp, 8
cmp dword [eax + 0x14], 0x10
mov ecx, eax
mov byte [ebp - 4], 1
jb 0x40c57d
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp + 0xc]
call fcn.00402ec0
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp ecx, 0x10
jb 0x40c5c3
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40c5b9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40c5b9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0042441b
add esp, 8
push 1
push 0x429940
lea ecx, [ebp + 0xc]
call fcn.00402ec0
cmp dword [ebp + 0x20], 0x10
lea eax, [ebp + 0xc]
mov dword [ebp - 0x38], str.HIKVISION_Secure_Connect_Service
cmovae eax, dword [ebp + 0xc]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 8]
cmp eax, 3
ja case.default.0x40c5f3
jmp dword [eax*4 + 0x40c72c]
lea eax, [ebp - 0x30]
mov esi, 4
push eax
call fcn.0040f370
add esp, 4
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 2
push ecx
mov ecx, dword [eax]
push 0x429a80
call fcn.00405870
lea ecx, [ebp - 0x30]
call fcn.00402390
jmp 0x40c6bc
lea eax, [ebp - 0x30]
mov esi, 2
push eax
call fcn.0040f370
add esp, 4
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 3
push ecx
mov ecx, dword [eax]
push 0x429a80
call fcn.004077b0
lea ecx, [ebp - 0x30]
call fcn.00402390
jmp 0x40c6bc
lea eax, [ebp - 0x30]
mov esi, 1
push eax
call fcn.0040f370
add esp, 4
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 4
push ecx
mov ecx, dword [eax]
push 0x429a80
call fcn.00404a90
lea ecx, [ebp - 0x30]
call fcn.00402390
jmp 0x40c6bc
lea eax, [ebp - 0x30]
mov esi, 0x10
push eax
call fcn.0040f370
add esp, 4
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 5
push ecx
mov ecx, dword [eax]
push 0x429a80
call fcn.00404bf0
lea ecx, [ebp - 0x30]
call fcn.00402390
jmp 0x40c6bc
mov esi, dword [ebp - 0x34]
push 0
lea eax, [ebp - 0x38]
push eax
push 0
push 2
push 0
push 0x6655
push 0
push esi
push dword [0x434808]
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
mov ecx, dword [ebp + 0x20]
cmp ecx, 0x10
jb 0x40c712
mov edx, dword [ebp + 0xc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40c708
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40c708
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0042441b
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00424429
mov esp, ebp
pop ebp
ret
Function at 0x40e520
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4261e4
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x4320d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x18], esi
lea eax, [ebp + 8]
mov dword [ebp - 4], 1
push eax
lea ecx, [esi + 4]
mov byte [esi], 0
call fcn.00402150
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 2
mov dword [esi + 0x5c], 0
push dword [ebp + 0x3c]
lea eax, [ebp + 0x20]
mov byte [ebp - 4], 6
push dword [ebp + 0x38]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
call fcn.00402150
sub esp, 0x18
mov byte [ebp - 4], 7
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00402150
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.0040fa10
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00402150
mov ecx, esi
call fcn.0040f870
push 0
push 3
call fcn.0041d310
mov ecx, dword [ebp + 0x1c]
add esp, 8
cmp ecx, 0x10
jb 0x40e625
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40e61b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e65d
push ecx
push edx
call fcn.0042441b
add esp, 8
mov ecx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp ecx, 0x10
jb 0x40e66d
mov edx, dword [ebp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40e663
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40e663
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0042441b
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x38
Function at 0x410700
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42659f
mov eax, dword fs:[0]
push eax
sub esp, 0x854
mov eax, dword [0x4320d0]
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
mov esi, dword [ebp + 8]
mov dword [ebp - 0x860], esi
mov dword [ebp - 0x85c], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
push 0x800
lea eax, [ebp - 0x858]
mov dword [ebp - 0x85c], 1
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov dword [ebp - 0x58], 0
add esp, 0xc
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
lea eax, [ebp - 0x858]
mov dword [ebp - 4], 1
push eax
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x4108f2
xor eax, eax
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x858]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
lea edx, [ecx + 2]
mov word [ebp - 0x40], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4107e7
sub ecx, edx
lea eax, [ebp - 0x858]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.00410970
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004112c0
add esp, 8
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 4
cmp ecx, 8
jb 0x41085a
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x410850
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x410850
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0042441b
add esp, 8
mov edx, dword [ebp - 0x14]
lea edi, [ebp - 0x28]
mov ecx, dword [ebp - 0x28]
xor eax, eax
mov ebx, dword [ebp - 0x18]
cmp edx, 0x10
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x28]
cmovae edi, ecx
mov dword [ebp - 0x30], 0
add edi, ebx
mov dword [ebp - 0x2c], 7
cmp edx, 0x10
cmovae eax, ecx
cmp eax, edi
je 0x4108a6
nop
cmp byte [eax], 0x5c
jne 0x410898
mov byte [eax], 0x2f
inc eax
cmp eax, edi
jne 0x410890
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x28]
cmp esi, eax
je 0x4108c2
cmp edx, 0x10
push ebx
cmovae eax, ecx
mov ecx, esi
push eax
call fcn.00401f20
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
cmp edx, 0x10
jb 0x4108f2
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4108e8
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4108e8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0042441b
add esp, 8
mov eax, esi
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.00424429
mov esp, ebp
pop ebp
ret
Function at 0x4172e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
mov ebp, ecx
mov esi, edi
cmp dword [edi + 0x14], 0x10
jb 0x4172f4
mov esi, dword [edi]
mov ebx, dword [edi + 0x10]
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x417313
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x417302
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp + 0xc]
and ecx, edx
mov edx, dword [ebp + 4]
mov dword [esp + 0x18], edx
mov esi, dword [eax + ecx*8 + 4]
cmp esi, edx
jne 0x41733e
mov eax, dword [esp + 0x14]
xor esi, esi
test esi, esi
pop edi
cmove esi, edx
mov dword [eax], esi
pop esi
pop ebp
pop ebx
ret 8
mov ebp, dword [eax + ecx*8]
cmp dword [esi + 0x1c], 0x10
lea edx, [esi + 8]
jb 0x41734d
mov edx, dword [esi + 8]
cmp dword [edi + 0x14], 0x10
mov ecx, edi
jb 0x417357
mov ecx, dword [edi]
push dword [esi + 0x18]
push edx
push ebx
push ecx
call fcn.004016f0
add esp, 0x10
test al, al
jne 0x417374
cmp esi, ebp
je 0x417372
mov esi, dword [esi + 4]
jmp 0x417341
xor esi, esi
mov eax, dword [esp + 0x14]
test esi, esi
mov edx, dword [esp + 0x18]
cmove esi, edx
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
ret 8
Function at 0x41b750
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x427265
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x4320d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 8]
mov edx, edi
cmp dword [edi + 0x14], 0x10
jb 0x41b787
mov edx, dword [edi]
xor ecx, ecx
mov esi, 0x811c9dc5
cmp dword [edi + 0x10], ecx
jbe 0x41b7a5
movzx eax, byte [ecx + edx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, dword [edi + 0x10]
jb 0x41b793
push esi
push edi
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.00416e50
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x41b875
cmp dword [ebx + 8], 0x6666666
je 0x41b88c
lea eax, [ebx + 4]
mov dword [ebp - 0x1c], eax
push 0x28
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
call fcn.004243eb
mov ecx, eax
add esp, 4
mov dword [ebp - 0x18], ecx
push edi
lea edi, [ecx + 8]
mov ecx, edi
call fcn.00402150
xorps xmm0, xmm0
movq qword [edi + 0x18], xmm0
mov dword [edi + 0x1c], 0
mov eax, dword [ebx + 8]
inc eax
mov dword [ebp - 4], 1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x42b3d0]
mov eax, dword [ebx + 0x1c]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x42b3d0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [ebx]
jbe 0x41b866
mov ecx, ebx
call fcn.0041c180
push esi
push edi
lea eax, [ebp - 0x24]
mov ecx, ebx
push eax
call fcn.00416e50
mov ecx, dword [eax]
jmp 0x41b869
mov ecx, dword [ebp - 0x14]
push dword [ebp - 0x18]
push ecx
push esi
mov ecx, ebx
call fcn.0041c120
add eax, 0x20
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 sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__
int3
Function at 0x41bdf0
Capabilities:
Hash data using fnv

Disassembly:
sub esp, 8
mov edx, dword [esp + 0xc]
mov eax, 0x1fffffff
push ebp
mov ebp, ecx
bsr ecx, eax
push edi
mov edi, 1
mov dword [esp + 0xc], ebp
mov eax, edi
shl eax, cl
cmp edx, eax
ja 0x41bf1f
lea eax, [edx - 1]
or eax, edi
bsr ecx, eax
push esi
mov esi, dword [ebp + 4]
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebp + 0xc]
lea eax, [edi + edi]
push eax
call fcn.0041bba0
lea eax, [edi - 1]
mov dword [ebp + 0x1c], edi
mov dword [ebp + 0x18], eax
mov eax, dword [ebp + 4]
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x41befa
push ebx
nop
mov bl, byte [eax + 8]
mov edi, dword [ebp + 0x18]
mov ecx, dword [ecx]
movzx edx, bl
xor edx, 0x811c9dc5
imul edx, edx, 0x1000193
and edi, edx
mov edx, dword [ebp + 0xc]
lea ebp, [edx + edi*8]
mov edi, dword [ebp]
mov dword [esp + 0x1c], ebp
cmp edi, esi
jne 0x41be82
mov dword [ebp], eax
mov dword [ebp + 4], eax
jmp 0x41beeb
mov edx, dword [ebp + 4]
cmp bl, byte [edx + 8]
jne 0x41beb9
mov edx, dword [edx]
mov dword [esp + 0x10], edx
cmp edx, eax
je 0x41beb4
mov ebx, dword [eax + 4]
mov ebp, dword [esp + 0x10]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [ebp + 4], edi
mov ebp, dword [esp + 0x1c]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov dword [ebp + 4], eax
jmp 0x41beeb
cmp edi, edx
je 0x41becc
nop dword [eax]
mov edx, dword [edx + 4]
cmp bl, byte [edx + 8]
je 0x41bf03
cmp edi, edx
jne 0x41bec0
mov ebp, dword [eax + 4]
mov dword [ebp], ecx
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], ebx
mov edx, dword [esp + 0x1c]
mov dword [ecx + 4], ebp
mov dword [eax + 4], edi
mov dword [edx], eax
mov ebp, dword [esp + 0x14]
mov eax, ecx
cmp ecx, esi
jne 0x41be50
pop ebx
pop esi
pop edi
pop ebp
add esp, 8
ret 4
mov ebx, dword [eax + 4]
mov ebp, dword [edx]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], ebp
mov edx, dword [ebp + 4]
mov dword [edx], eax
mov dword [ebp + 4], edi
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x41beeb
push str.invalid_hash_bucket_count
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__
int3