joyce8/EMBER2024-capa huggingface dataset:
Function at 0x487580
Capabilities:
Hash data using fnv

Disassembly:
sub esp, 0x10
push ebx
mov ebx, ecx
mov eax, 0x1fffffff
bsr ecx, eax
push ebp
push esi
push edi
mov edi, 1
mov dword [esp + 0x1c], ebx
mov eax, edi
shl eax, cl
mov ecx, dword [esp + 0x24]
cmp ecx, eax
ja 0x4876d5
lea eax, [ecx - 1]
mov esi, dword [ebx + 4]
or eax, edi
lea ebp, [ebx + 0xc]
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
mov ecx, ebp
lea eax, [edi + edi]
push eax
call fcn.00486a70
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x4876af
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul edi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor edi, edx
movzx edx, byte [eax + 0xa]
imul edi, edi, 0x1000193
xor edi, edx
movzx edx, byte [eax + 0xb]
imul edi, edi, 0x1000193
xor edi, edx
imul edx, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, edx
mov edx, dword [ebp]
mov ebx, dword [edx + edi*8]
lea ebp, [edx + edi*8]
mov dword [esp + 0x14], ebp
cmp ebx, esi
jne 0x487635
mov dword [ebp], eax
mov dword [ebp + 4], eax
jmp 0x48769e
mov edx, dword [ebp + 4]
mov edi, dword [eax + 8]
cmp edi, dword [edx + 8]
jne 0x48766f
mov edx, dword [edx]
mov dword [esp + 0x18], edx
cmp edx, eax
je 0x48766a
mov ebx, dword [eax + 4]
mov ebp, dword [esp + 0x18]
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 + 0x14]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov dword [ebp + 4], eax
jmp 0x48769e
cmp ebx, edx
je 0x48767f
mov edx, dword [edx + 4]
cmp edi, dword [edx + 8]
je 0x4876b9
cmp ebx, edx
jne 0x487673
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 + 0x14]
mov dword [ecx + 4], ebp
mov dword [eax + 4], edi
mov dword [edx], eax
mov ebx, dword [esp + 0x1c]
mov eax, ecx
lea ebp, [ebx + 0xc]
cmp ecx, esi
jne 0x4875e1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
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 0x48769e
push str.invalid_hash_bucket_count
call fcn.004f78b7
int3

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

Disassembly:
push esi
mov esi, dword [esp + 0x10]
xor ecx, ecx
test esi, esi
je 0x487e5a
mov edx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x487e44
pop edi
mov eax, edx
pop esi
ret
mov eax, dword [esp + 8]
pop esi
ret
Function at 0x488d00
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55fb90
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
push esi
mov eax, dword [0x60b3c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x50]
test eax, eax
jne 0x488e10
call fcn.004895b0
test al, al
je 0x488eae
cmp dword [0x61a9b0], 0x10
mov eax, 0x61a99c
cmovae eax, dword [0x61a99c]
push eax
push 0
lea eax, [esi + 0xa8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov ecx, dword [esi + 0x50]
mov dword [esi + 0x50], eax
test ecx, ecx
je 0x488d77
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0x50]
test eax, eax
jne 0x488e10
call fcn.0045b3b0
push 1
lea ecx, [ebp - 0xb8]
push ecx
mov ecx, eax
call fcn.0045b920
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], str.ipc_stats_collector.cpp
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x10], 0x51
call fcn.00418540
mov edx, str.Failed_to_create_IPC_stats_mutex__error
lea ecx, [ebp - 0xb8]
call fcn.004185a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [ebp - 0x10]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0xb8]
call fcn.0043d580
lea ecx, [ebp - 0x60]
call fcn.00459e90
lea eax, [ebp - 0x60]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x60], vtable.std::ios_base.0
call fcn.004f7d4c
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x488ec2
cmp eax, 0xffffffff
jne 0x488eae
call fcn.0045b3b0
push 1
lea ecx, [ebp - 0x158]
push ecx
mov ecx, eax
call fcn.0045b920
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], str.ipc_stats_collector.cpp
lea ecx, [ebp - 0x158]
mov dword [ebp - 0x10], 0x5c
call fcn.00418540
mov edx, str.Mutex_wait_failed__error
lea ecx, [ebp - 0x158]
call fcn.004185a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [ebp - 0x10]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x158]
call fcn.0043d580
lea ecx, [ebp - 0x100]
call fcn.00459e90
lea eax, [ebp - 0x100]
mov dword [ebp - 4], 1
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.004f7d4c
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x488ee0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
push ebx
push esi
mov dword [esp + 0xc], ecx
mov ecx, dword [ebp + 8]
push edi
mov dword [esp + 0x14], ecx
push ecx
lea ecx, [esp + 0x24]
call fcn.0041b1f0
mov edi, eax
mov esi, edi
cmp dword [edi + 0x14], 8
mov ebx, dword [edi + 0x10]
jb 0x488f10
mov esi, dword [edi]
xor ecx, ecx
mov edx, 0x811c9dc5
add ebx, ebx
je 0x488f31
nop dword [eax + eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x488f20
push edx
push edi
mov edi, dword [esp + 0x18]
lea eax, [esp + 0x20]
push eax
lea ecx, [edi + 0x54]
call fcn.00489e40
mov esi, dword [eax + 4]
test esi, esi
jne 0x488f4e
mov esi, dword [edi + 0x58]
lea ecx, [esp + 0x20]
call fcn.00417680
cmp dword [edi + 0x58], esi
jne 0x488f7f
push dword [esp + 0x14]
lea eax, [esp + 0x1c]
push eax
lea ecx, [edi + 0x54]
call fcn.00489a60
mov eax, dword [eax]
mov dword [eax + 0x20], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
inc dword [esi + 0x20]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x489140
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55d420
mov eax, dword fs:[0]
push eax
sub esp, 0x154
mov eax, dword [0x60b3c4]
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 + 0x14]
mov edi, dword [ebp + 8]
cmp dword [esi], 0
je 0x489345
mov ecx, dword [ebp + 0xc]
sub esp, 8
mov edx, esp
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
lea ebx, [ecx + 2]
mov dword [edx], ecx
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x489192
sub ecx, ebx
lea eax, [ebp - 0x18]
sar ecx, 1
mov dword [edx + 4], ecx
mov ecx, edi
push eax
call fcn.00488960
mov dword [ebp - 0x20], eax
test eax, eax
je 0x489265
cmp eax, 2
je 0x48925d
call fcn.0045b3b0
push 1
lea ecx, [ebp - 0xc0]
push ecx
mov ecx, eax
call fcn.0045b920
lea edx, [ebp - 0x18]
mov dword [ebp - 0x18], str.ipc_stats_collector.cpp
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0x14], 0xaf
call fcn.00418540
mov edx, str.Failed_to_query_value__
lea ecx, [ebp - 0xc0]
call fcn.004185a0
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0x1c], eax
call fcn.00418720
mov edx, str._._Error
lea ecx, [ebp - 0xc0]
call fcn.004185a0
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0xc0]
call fcn.0043d500
lea ecx, [ebp - 0x68]
call fcn.00459e90
lea eax, [ebp - 0x68]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x68], vtable.std::ios_base.0
call fcn.004f7d4c
add esp, 4
jmp 0x489345
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
mov eax, dword [esi]
xor ecx, ecx
add dword [ebp - 0x18], eax
mov eax, dword [edi + 4]
adc ecx, dword [ebp - 0x14]
mov dword [ebp - 0x14], ecx
test eax, eax
jne 0x489280
mov eax, 6
jmp 0x489294
push 8
lea ecx, [ebp - 0x18]
push ecx
push 0xb
push 0
push dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x48933f
call fcn.0045b3b0
push 1
lea ecx, [ebp - 0x160]
push ecx
mov ecx, eax
call fcn.0045b920
lea edx, [ebp - 0x18]
mov dword [ebp - 0x18], str.ipc_stats_collector.cpp
lea ecx, [ebp - 0x160]
mov dword [ebp - 0x14], 0xbb
call fcn.00418540
mov edx, str.Failed_to_set_value__
lea ecx, [ebp - 0x160]
call fcn.004185a0
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x160]
mov dword [ebp - 0x1c], eax
call fcn.00418720
mov edx, str._._Error
lea ecx, [ebp - 0x160]
call fcn.004185a0
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0x160]
call fcn.0043d500
lea ecx, [ebp - 0x108]
call fcn.00459e90
lea eax, [ebp - 0x108]
mov dword [ebp - 4], 1
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.004f7d4c
add esp, 4
jmp 0x489345
mov dword [esi], 0
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.0050fd4b
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4898b0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x18
push ebp
mov ebp, ecx
mov ecx, dword [esp + 0x20]
cmp ecx, eax
je 0x489a22
cmp dword [ecx + 0x1c], 8
lea edx, [ecx + 8]
mov eax, dword [ebp + 4]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [edx + 0x10]
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 4]
push esi
mov dword [esp + 0x10], eax
mov esi, ecx
jb 0x4898ed
mov edx, dword [edx]
xor ecx, ecx
push edi
mov edi, 0x811c9dc5
add ebx, ebx
je 0x489911
nop dword [eax]
movzx eax, byte [ecx + edx]
inc ecx
xor eax, edi
imul edi, eax, 0x1000193
cmp ecx, ebx
jb 0x489900
mov eax, dword [ebp + 0x18]
mov ecx, dword [esp + 0x20]
and eax, edi
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov dword [esp + 0x18], eax
mov eax, dword [eax + 4]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], eax
nop
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea ecx, [edi + 8]
call fcn.00417680
push 0x24
push edi
call fcn.0050fd95
dec dword [ebp + 8]
add esp, 8
cmp ebx, dword [esp + 0x1c]
je 0x489981
mov eax, dword [esp + 0x30]
cmp esi, eax
jne 0x489930
mov ecx, dword [esp + 0x10]
cmp ecx, dword [esp + 0x2c]
jne 0x489a16
mov ecx, dword [esp + 0x18]
pop edi
mov dword [ecx], esi
mov ecx, dword [esp + 0x10]
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
pop ebp
add esp, 0x18
ret 8
mov ecx, dword [esp + 0x10]
cmp ecx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
jne 0x489997
mov eax, dword [esp + 0x24]
mov dword [ecx], eax
jmp 0x48999b
mov eax, dword [esp + 0x14]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x30]
cmp esi, eax
je 0x489a16
cmp dword [esi + 0x1c], 8
lea edi, [esi + 8]
mov ebx, dword [edi + 0x10]
jb 0x4899b4
mov edi, dword [edi]
xor ecx, ecx
mov edx, 0x811c9dc5
add ebx, ebx
je 0x4899d1
nop
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x4899c0
and edx, dword [ebp + 0x18]
mov eax, dword [esp + 0x20]
lea eax, [eax + edx*8]
mov dword [esp + 0x10], eax
mov eax, dword [eax + 4]
mov dword [esp + 0x1c], eax
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea ecx, [edi + 8]
call fcn.00417680
push 0x24
push edi
call fcn.0050fd95
dec dword [ebp + 8]
add esp, 8
mov eax, dword [esp + 0x30]
cmp ebx, dword [esp + 0x1c]
je 0x489a29
cmp esi, eax
jne 0x4899e6
mov ecx, dword [esp + 0x10]
mov dword [ecx], esi
mov ecx, dword [esp + 0x14]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
pop ebp
add esp, 0x18
ret 8
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
mov dword [ecx], edx
mov dword [ecx + 4], edx
cmp esi, eax
jne 0x4899a6
mov ecx, dword [esp + 0x14]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
pop ebp
add esp, 0x18
ret 8
Function at 0x489a60
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55fc95
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x60b3c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x20], esi
mov edx, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x14], edx
cmp dword [edx + 0x14], 8
mov ecx, dword [edx + 0x10]
mov dword [ebp - 0x18], edx
jb 0x489aaa
mov eax, dword [edx]
mov dword [ebp - 0x18], eax
lea eax, [ecx + ecx]
mov edi, 0x811c9dc5
xor ecx, ecx
test eax, eax
je 0x489ad7
mov ebx, dword [ebp - 0x18]
mov esi, eax
nop dword [eax]
movzx eax, byte [ecx + ebx]
inc ecx
xor eax, edi
imul edi, eax, 0x1000193
cmp ecx, esi
jb 0x489ac0
mov ebx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
push edi
push edx
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.00489e40
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x489b07
mov dword [ebx], eax
mov eax, ebx
mov byte [ebx + 4], 0
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
cmp dword [esi + 8], 0x71c71c7
je 0x489c48
lea eax, [esi + 4]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 0
push 0x24
mov dword [ebp - 0x28], 0
call fcn.0050fd59
add esp, 4
mov ebx, eax
mov dword [ebp - 0x28], ebx
push dword [ebp - 0x14]
lea ecx, [ebx + 8]
call fcn.0041b1f0
mov esi, dword [ebp - 0x20]
mov dword [ebp - 4], 1
mov dword [ebx + 0x20], 0
mov eax, dword [esi + 8]
inc eax
movss xmm3, dword [esi]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x5f5580]
mov eax, dword [esi + 0x1c]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
addsd xmm1, qword [eax*8 + 0x5f5580]
movaps xmm2, xmm0
cvtpd2ps xmm1, xmm1
divss xmm2, xmm1
comiss xmm2, xmm3
jbe 0x489be8
divss xmm0, xmm3
call fcn.00487df0
call fcn.00510890
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [esi + 0x1c]
cmp eax, ecx
jae 0x489bcc
cmp eax, 0x200
jae 0x489bca
shl eax, 3
cmp eax, ecx
jae 0x489bcc
mov eax, ecx
push eax
mov ecx, esi
call fcn.00489cb0
push edi
lea eax, [ebx + 8]
mov ecx, esi
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00489e40
mov edx, dword [eax]
jmp 0x489beb
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
inc dword [esi + 8]
mov dword [ebx + 4], eax
mov dword [ebx], edx
mov dword [eax], ebx
mov dword [edx + 4], ebx
mov ecx, dword [esi + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x18]
and eax, edi
mov edi, dword [ebp - 0x10]
mov esi, dword [ecx + eax*8]
cmp esi, dword [edi]
jne 0x489c15
mov dword [ecx + eax*8], ebx
jmp 0x489c27
cmp esi, edx
jne 0x489c1e
mov dword [ecx + eax*8], ebx
jmp 0x489c2b
mov edx, dword [ebp - 0x14]
cmp dword [ecx + eax*8 + 4], edx
jne 0x489c2b
mov dword [ecx + eax*8 + 4], ebx
mov eax, dword [ebp - 0x24]
mov dword [eax], ebx
mov byte [eax + 4], 1
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
push str.unordered_map_set_too_long
call fcn.004f78b7
int3
Function at 0x489cb0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub esp, 0x10
push ebx
mov ebx, ecx
mov eax, 0x1fffffff
bsr ecx, eax
push ebp
push esi
mov esi, 1
mov dword [esp + 0x18], ebx
mov eax, esi
shl eax, cl
mov ecx, dword [esp + 0x20]
push edi
cmp ecx, eax
ja 0x489e2b
lea eax, [ecx - 1]
or eax, esi
bsr ecx, eax
mov eax, dword [ebx + 4]
push eax
mov dword [esp + 0x18], eax
lea ecx, [ecx + 1]
shl esi, cl
lea ecx, [ebx + 0xc]
lea eax, [esi + esi]
push eax
call fcn.00486a70
lea eax, [esi - 1]
mov dword [ebx + 0x1c], esi
mov dword [ebx + 0x18], eax
mov esi, dword [ebx + 4]
mov eax, dword [esp + 0x14]
mov esi, dword [esi]
mov edi, esi
cmp esi, eax
je 0x489e05
cmp dword [esi + 0x1c], 8
lea ebp, [esi + 8]
mov edi, dword [edi]
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x10], ebp
jb 0x489d30
mov ecx, dword [ebp]
mov dword [esp + 0x10], ecx
lea ecx, [edx + edx]
mov ebx, 0x811c9dc5
xor edx, edx
mov dword [esp + 0x18], ecx
test ecx, ecx
je 0x489d60
mov eax, dword [esp + 0x10]
mov ebp, ecx
movzx ecx, byte [edx + eax]
inc edx
xor ecx, ebx
imul ebx, ecx, 0x1000193
cmp edx, ebp
jb 0x489d48
mov eax, dword [esp + 0x14]
lea ebp, [esi + 8]
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + 0x18]
mov ecx, dword [ecx + 0xc]
and edx, ebx
lea ecx, [ecx + edx*8]
mov dword [esp + 0x10], ecx
cmp dword [ecx], eax
jne 0x489d7e
mov dword [ecx], esi
mov dword [ecx + 4], esi
jmp 0x489dfb
mov ebx, dword [ecx + 4]
lea eax, [ebx + 8]
push eax
push ebp
call fcn.00489ec0
test al, al
jne 0x489db6
mov ebx, dword [ebx]
cmp ebx, esi
je 0x489dad
mov edx, dword [esi + 4]
mov dword [edx], edi
mov ecx, dword [edi + 4]
mov dword [ecx], ebx
mov eax, dword [ebx + 4]
mov dword [eax], esi
mov dword [ebx + 4], ecx
mov dword [edi + 4], edx
mov dword [esi + 4], eax
mov eax, dword [esp + 0x10]
mov dword [eax + 4], esi
jmp 0x489df7
mov eax, dword [esp + 0x10]
cmp dword [eax], ebx
je 0x489dd9
nop
mov ebx, dword [ebx + 4]
lea eax, [ebx + 8]
push eax
push ebp
call fcn.00489ec0
test al, al
je 0x489e0f
mov eax, dword [esp + 0x10]
cmp dword [eax], ebx
jne 0x489dc0
mov edx, dword [esi + 4]
mov dword [edx], edi
mov ecx, dword [edi + 4]
mov dword [ecx], ebx
mov eax, dword [ebx + 4]
mov dword [eax], esi
mov dword [ebx + 4], ecx
mov dword [edi + 4], edx
mov dword [esi + 4], eax
mov eax, dword [esp + 0x10]
mov dword [eax], esi
mov eax, dword [esp + 0x14]
mov esi, edi
cmp edi, eax
jne 0x489d17
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
mov edx, dword [esi + 4]
mov ebx, dword [ebx]
mov dword [edx], edi
mov ecx, dword [edi + 4]
mov dword [ecx], ebx
mov eax, dword [ebx + 4]
mov dword [eax], esi
mov dword [ebx + 4], ecx
mov dword [edi + 4], edx
mov dword [esi + 4], eax
jmp 0x489df7
push str.invalid_hash_bucket_count
call fcn.004f78b7
int3
Function at 0x489f20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55fccd
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x60b3c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi]
xor edx, edx
add ecx, 4
call fcn.0048ba50
test al, al
jne 0x489ff8
call fcn.0045b3b0
push 1
lea ecx, [ebp - 0xc0]
push ecx
mov ecx, eax
call fcn.0045b920
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x5f3004
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0x18], 0x2c
call fcn.00418540
mov edx, str.Failed_to_create_background_wake_event__error
lea ecx, [ebp - 0xc0]
call fcn.004185a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0xc0]
call fcn.0043d580
lea ecx, [ebp - 0x68]
call fcn.00459e90
mov dword [ebp - 4], 0
lea eax, [ebp - 0x68]
mov dword [ebp - 0x68], vtable.std::ios_base.0
push eax
call fcn.004f7d4c
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050fd4b
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi]
xor edx, edx
add ecx, 8
call fcn.0048ba50
test al, al
jne 0x48a074
call fcn.0045b3b0
push 1
lea ecx, [ebp - 0xc0]
push ecx
mov ecx, eax
call fcn.0045b920
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x5f3004
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0x18], 0x32
call fcn.00418540
mov edx, str.Failed_to_create_background_stop_event__error
lea ecx, [ebp - 0xc0]
call fcn.004185a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0xc0]
call fcn.0043d580
lea ecx, [ebp - 0x68]
call fcn.00459e90
mov dword [ebp - 4], 1
jmp 0x489fc9
push 8
call fcn.0050fd59
mov ecx, dword [esi]
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [eax], ecx
mov dword [eax + 4], 0x48a200
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 2
push ecx
push 0
push eax
push 0x48aaf0
push 0
push 0
call fcn.0052a65c
mov edx, eax
add esp, 0x18
mov dword [ebp - 0x1c], edx
test edx, edx
je 0x48a0da
mov ecx, dword [esi]
cmp dword [ecx + 0x54], 0
jne 0x48a0e8
mov eax, dword [ebp - 0x18]
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
mov dword [ecx + 0x50], edx
mov dword [ecx + 0x54], eax
cmp dword [ebp - 0x18], 0
jne 0x48a0e8
mov al, 1
jmp 0x489fde
push 6
mov dword [ebp - 0x18], 0
call fcn.004f8906
call fcn.0052a324
int3
Function at 0x48b4e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55fff8
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x60b3c4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov eax, dword [edi + 0x4c]
mov dword [ebp - 0x1c], edi
test eax, eax
je 0x48b545
cmp eax, 0xffffffff
je 0x48b545
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CancelIoEx]
mov eax, dword [edi + 0x4c]
mov dword [edi + 0x4c], 0
test eax, eax
je 0x48b545
cmp eax, 0xffffffff
je 0x48b545
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea esi, [edi + 0x1c]
push esi
call fcn.004f87d3
add esp, 4
test eax, eax
jne 0x48b821
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
je 0x48b564
mov dword [edi + 8], eax
mov eax, dword [edi + 0x10]
cmp eax, dword [edi + 0x14]
je 0x48b56f
mov dword [edi + 0x14], eax
push esi
call fcn.004f87f8
add esp, 4
lea ecx, [edi + 0xcc]
mov edx, 1
call fcn.0048ba50
test al, al
je 0x48b7de
xor edx, edx
lea ecx, [edi + 0x114]
call fcn.0048ba50
test al, al
je 0x48b7de
lea eax, [edi + 0x118]
xor edx, edx
mov ecx, eax
call fcn.0048ba50
test al, al
je 0x48b7de
lea ecx, [edi + 0xd0]
xor edx, edx
call fcn.0048ba50
test al, al
je 0x48b5df
lea ecx, [edi + 0xd4]
xor edx, edx
call fcn.0048ba50
test al, al
setne al
test al, al
je 0x48b7de
mov eax, dword [edi + 0x114]
push dword [edi + 0xcc]
mov dword [edi + 0x80], eax
mov eax, dword [edi + 0x118]
mov dword [edi + 0x6c], eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov dword [ebp - 4], 0
cmp dword [edi + 0x120], 0
jne 0x48b677
push 8
call fcn.0050fd59
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [eax], 0x48b0b0
mov dword [eax + 4], edi
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
push ecx
push 0
push eax
push 0x43ec10
push 0
push 0
call fcn.0052a65c
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x24], ecx
test ecx, ecx
je 0x48b832
mov byte [ebp - 4], 0
cmp dword [edi + 0x120], 0
jne 0x48b827
mov eax, dword [ebp - 0x20]
mov dword [edi + 0x11c], ecx
mov dword [edi + 0x120], eax
lea esi, [edi + 0x84]
push esi
call fcn.004f87d3
add esp, 4
test eax, eax
jne 0x48b82c
jmp 0x48b7a1
cmp dword [edi + 0xc8], 8
lea ecx, [edi + 0xb4]
jb 0x48b7b6
mov ecx, dword [edi + 0xb4]
xor eax, eax
mov dword [edi + 0xc4], 0
push esi
mov word [ecx], ax
call fcn.004f87f8
add esp, 4
push dword [edi + 0xd0]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov al, 1
jmp 0x48b805
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub esp, 8
mov ecx, edi
mov edx, esp
push eax
push 0xa1
mov dword [edx], str.evt_fail
mov dword [edx + 4], 8
call fcn.00481870
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0050fd4b
mov esp, ebp
pop ebp
ret
push eax
call fcn.004f88d9
call fcn.0052a324
push eax
call fcn.004f88d9
push 6
mov dword [ebp - 0x20], 0
call fcn.004f8906
int3
Function at 0x491eb0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
mov edi, dword [esi + 8]
cmp eax, edi
je 0x491f2e
mov edx, dword [ebx]
sub edi, eax
push ebp
mov ebp, dword [ebx + 4]
mov ecx, ebp
sub ecx, edx
cmp edi, ecx
jae 0x491edb
lea eax, [edx + edi]
mov dword [ebx + 4], eax
jmp 0x491f06
jbe 0x491f06
mov eax, dword [ebx + 8]
sub eax, edx
cmp edi, eax
jbe 0x491ef1
push ecx
push edi
mov ecx, ebx
call fcn.00496450
jmp 0x491f06
sub edi, ecx
je 0x491f03
push edi
push 0
push ebp
call fcn.00512700
add esp, 0xc
add ebp, edi
mov dword [ebx + 4], ebp
mov eax, dword [esi + 8]
xor edx, edx
mov edi, dword [esi + 4]
pop ebp
sub eax, edi
je 0x491f2e
mov eax, dword [esi + 0x10]
mov cl, byte [eax + edx]
mov eax, dword [ebx]
xor cl, byte [edi + edx]
mov byte [edx + eax], cl
inc edx
mov eax, dword [esi + 8]
mov edi, dword [esi + 4]
sub eax, edi
cmp edx, eax
jb 0x491f13
pop edi
pop esi
pop ebx
ret 4