joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e6cd0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x6b93c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x7023c4]
push ebx
cmp eax, 0xe00e0804
je 0x4e6e9e
cmp eax, 0xe0090404
je 0x4e6e9e
mov ebx, dword [0x702478]
test ebx, ebx
je 0x4e6e9e
xor cl, cl
mov edx, 0x404
mov byte [ebp - 0x109], cl
cmp ax, dx
jne 0x4e6e8d
movups xmm0, xmmword [str.softwaremicrosoftwindowscurrentversion_]
mov ax, word [0x637850]
and ebx, 0xffff0000
mov word [ebp - 0xe0], ax
cmp ebx, 0x5010000
mov al, byte [0x637852]
mov edx, str.MSTCIPH
movups xmmword [ebp - 0x108], xmm0
mov byte [ebp - 0xde], al
mov eax, str.TINTLGNT
movups xmm0, xmmword [0x637838]
push esi
cmovb edx, eax
movups xmmword [ebp - 0xf8], xmm0
mov esi, edx
movq xmm0, qword [0x637848]
push edi
movq qword [ebp - 0xe8], xmm0
mov al, byte [edx]
inc edx
test al, al
jne 0x4e6d84
lea edi, [ebp - 0x108]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4e6d94
mov ecx, edx
lea eax, [ebp - 0x110]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push eax
push 0x20019
push 0
mov ecx, edx
lea eax, [ebp - 0x108]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
pop edi
pop esi
test eax, eax
jne 0x4e6e78
lea eax, [ebp - 0x114]
mov dword [ebp - 0x114], 4
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x11c]
push eax
push 0
push str.Keyboard_Mapping
push dword [ebp - 0x110]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4e6e55
mov eax, dword [ebp - 0x118]
cmp ebx, 0x5000000
ja 0x4e6e20
cmp al, 0x22
je 0x4e6e36
cmp al, 0x23
je 0x4e6e36
cmp ebx, 0x5010000
je 0x4e6e30
cmp ebx, 0x5020000
jne 0x4e6e55
sub al, 0x22
cmp al, 2
ja 0x4e6e55
push dword [ebp - 0x110]
mov bl, 1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00584ead
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x110]
mov bl, byte [ebp - 0x109]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00584ead
mov esp, ebp
pop ebp
ret
mov al, byte [ebp - 0x109]
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00584ead
mov esp, ebp
pop ebp
ret
mov al, cl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00584ead
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop ebx
call fcn.00584ead
mov esp, ebp
pop ebp
ret
Function at 0x4e79a0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x626a60
mov eax, dword fs:[0]
push eax
sub esp, 0x82c
mov eax, dword [0x6b93c0]
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, ecx
mov dword [ebp - 0x838], eax
cmp byte [eax + 0x20], 0
je 0x4e7ba8
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4e7ba8
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
push eax
mov dword [ebp - 0x834], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
mov dword [ebp - 0x818], 0
mov esi, edi
mov dword [ebp - 0x830], edi
xorps xmm0, xmm0
mov dword [ebp - 0x814], 0
movups xmmword [ebp - 0x828], xmm0
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x4e7a30
sub esi, ecx
cmp esi, 0x7fffffff
ja 0x4e7bc3
cmp esi, 0xf
ja 0x4e7a75
push esi
lea eax, [ebp - 0x828]
mov dword [ebp - 0x818], esi
push edi
push eax
mov dword [ebp - 0x814], 0xf
call fcn.005c0730
mov byte [ebp + esi - 0x828], 0
jmp 0x4e7af6
mov edi, esi
or edi, 0xf
cmp edi, 0x7fffffff
jbe 0x4e7a97
mov eax, closesocket
mov edi, closesocket
push eax
call fcn.0043d860
add esp, 4
jmp 0x4e7ac7
mov eax, 0x16
cmp edi, eax
cmovb edi, eax
lea eax, [edi + 1]
cmp eax, 0x1000
jb 0x4e7ab6
push eax
call fcn.0043d860
add esp, 4
jmp 0x4e7ac7
test eax, eax
je 0x4e7ac5
push eax
call fcn.00584ec9
add esp, 4
jmp 0x4e7ac7
xor eax, eax
push esi
push dword [ebp - 0x830]
mov dword [ebp - 0x82c], eax
push eax
mov dword [ebp - 0x828], eax
mov dword [ebp - 0x818], esi
mov dword [ebp - 0x814], edi
call fcn.005c0730
mov eax, dword [ebp - 0x82c]
mov byte [eax + esi], 0
add esp, 0xc
push dword [ebp - 0x834]
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [ebp - 0x818]
test eax, eax
je 0x4e7b72
cmp dword [ebp - 0x814], 0xf
lea edx, [ebp - 0x828]
push 0x400
cmova edx, dword [ebp - 0x828]
lea ecx, [ebp - 0x810]
push ecx
add eax, edx
sub eax, edx
push eax
push edx
push 0
push dword [0x7040bc]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, dword [ebp - 0x838]
push eax
lea eax, [ebp - 0x810]
push eax
call fcn.004e7360
mov ecx, dword [0x7038a0]
test ecx, ecx
je 0x4e7b72
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x814]
cmp ecx, 0xf
jbe 0x4e7ba8
mov edx, dword [ebp - 0x828]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4e7b9e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e7bc8
push ecx
push edx
call fcn.00584ebb
add esp, 8
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.00584ead
mov esp, ebp
pop ebp
ret
call fcn.0043d700
call fcn.005cadb0
int3
Function at 0x4ed730
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x626c10
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x6b93c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
xorps xmm0, xmm0
movups xmmword [edi + 4], xmm0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0xf
mov byte [edi + 4], 0
lea esi, [edi + 0x1c]
mov dword [ebp - 4], 0
push 0x20
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00584ec9
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov eax, edi
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4eddf0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.004c7cf0
Function at 0x4ef0b0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x626db5
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x6b93c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x18], eax
mov ecx, dword [eax]
mov edi, ecx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x10], 0
mov eax, dword [ecx + 4]
mov dword [ebp - 0x14], eax
lea ecx, [ebx + 0x10]
cmp byte [eax + 0xd], 0
jne 0x4ef153
mov esi, eax
mov eax, dword [ecx]
mov dword [ebp + 0xc], eax
cmp dword [ebx + 0x14], 0xf
lea eax, [esi + 0x10]
mov dword [ebp - 0x14], esi
mov ecx, ebx
jbe 0x4ef114
mov ecx, dword [ebx]
cmp dword [eax + 0x14], 0xf
mov edx, dword [eax + 0x10]
jbe 0x4ef11f
mov eax, dword [eax]
push dword [ebp + 0xc]
push ecx
push edx
push eax
call fcn.00449670
add esp, 0x10
test eax, eax
je 0x4ef13f
jns 0x4ef13f
mov esi, dword [esi + 8]
mov dword [ebp - 0x10], 0
jmp 0x4ef14a
mov edi, esi
mov dword [ebp - 0x10], 1
mov esi, dword [esi]
cmp byte [esi + 0xd], 0
je 0x4ef104
lea ecx, [ebx + 0x10]
cmp byte [edi + 0xd], 0
jne 0x4ef1a2
cmp dword [edi + 0x24], 0xf
lea eax, [edi + 0x10]
mov esi, dword [eax + 0x10]
jbe 0x4ef167
mov eax, dword [eax]
cmp dword [ebx + 0x14], 0xf
mov edx, dword [ecx]
mov ecx, ebx
jbe 0x4ef173
mov ecx, dword [ebx]
push esi
push eax
push edx
push ecx
call fcn.00449670
add esp, 0x10
test eax, eax
je 0x4ef185
js 0x4ef1a2
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov byte [eax + 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
mov eax, dword [ebp - 0x18]
cmp dword [eax + 4], 0x4ec4ec4
je 0x4ef248
mov dword [ebp - 0x24], eax
push 0x34
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 0
call fcn.00584ec9
mov edi, eax
add esp, 4
mov dword [ebp - 0x20], edi
push ebx
lea ecx, [edi + 0x10]
mov dword [ebp - 4], 1
call fcn.00449c20
mov ecx, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x18]
mov edx, dword [ebx + 0x20]
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x18], 0
mov dword [edi + 0x28], eax
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0x2c], ecx
mov ecx, dword [ebp - 0x18]
push edi
push dword [ebp - 0x10]
mov dword [edi + 0x30], edx
push dword [ebp - 0x14]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov word [edi + 0xc], 0
call fcn.00446a70
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, ecx
mov byte [ecx + 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
call fcn.00446cb0
int3

Function at 0x4f3c20
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
mov esi, ecx
call sub.WS2_32.dll_gethostbyname
test eax, eax
jne 0x4f3c39
xor al, al
pop esi
pop ebp
ret 4
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [esi + 4], eax
mov al, 1
pop esi
pop ebp
ret 4
Function at 0x4f9cd0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x627585
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x6b93c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 0xc]
mov edx, edi
cmp dword [edi + 0x14], 0xf
jbe 0x4f9d07
mov edx, dword [edi]
mov ecx, dword [edi + 0x10]
xor esi, esi
add ecx, edx
cmp edx, ecx
jae 0x4f9d22
movzx eax, byte [edx]
inc edx
imul esi, esi, 0x1000193
xor esi, eax
cmp edx, ecx
jb 0x4f9d12
push esi
push edi
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.004f9ab0
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x4f9d53
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 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 [ebx + 8], 0x71c71c7
je 0x4f9eae
lea eax, [ebx + 4]
mov dword [ebp - 0x1c], eax
push 0x24
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
call fcn.00584ec9
add esp, 4
mov edi, eax
mov dword [ebp - 0x18], edi
push dword [ebp + 0xc]
lea ecx, [edi + 8]
call fcn.00449c20
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x18]
mov dword [edi + 0x20], ecx
mov eax, dword [ebx + 8]
inc eax
movss xmm3, dword [ebx]
mov dword [ebp - 4], 1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x676820]
mov eax, dword [ebx + 0x1c]
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x676820]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x4f9e50
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x14], xmm0
fld qword [ebp - 0x14]
fstp qword [esp]
call fcn.005d9070
fstp qword [ebp - 0x14]
movsd xmm0, qword [ebp - 0x14]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.005858c0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x4f9e34
cmp eax, 0x200
jae 0x4f9e32
shl eax, 3
cmp eax, ecx
jae 0x4f9e34
mov eax, ecx
push eax
mov ecx, ebx
call fcn.004fb840
push esi
lea eax, [edi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004f9ab0
mov edx, dword [eax]
jmp 0x4f9e53
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 4]
inc dword [ebx + 8]
mov dword [edi + 4], eax
mov dword [edi], edx
mov dword [eax], edi
mov dword [edx + 4], edi
mov ecx, dword [ebx + 0xc]
mov dword [ebp + 0xc], eax
mov eax, dword [ebx + 0x18]
and eax, esi
mov esi, dword [ecx + eax*8]
cmp esi, dword [ebx + 4]
jne 0x4f9e7b
mov dword [ecx + eax*8], edi
jmp 0x4f9e8d
cmp esi, edx
jne 0x4f9e84
mov dword [ecx + eax*8], edi
jmp 0x4f9e91
mov edx, dword [ebp + 0xc]
cmp dword [ecx + eax*8 + 4], edx
jne 0x4f9e91
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [ebp + 8]
mov dword [eax], edi
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.0056c486
int3
Function at 0x4fd530
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x627b15
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x6b93c0]
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 dword [ebp - 0x2c], esi
xorps xmm0, xmm0
mov dword [ebp - 0x30], esi
push 0x40
movups xmmword [ebp - 0x28], xmm0
call fcn.00584ec9
movups xmm0, xmmword [str.BufferedTransformation:_this_object_doesnt_allow_input]
mov ecx, eax
mov dword [ebp - 0x18], 0x37
add esp, 4
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x14], 0x3f
movups xmmword [ecx], xmm0
movups xmm0, xmmword [0x638f10]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [0x638f20]
movups xmmword [ecx + 0x20], xmm0
mov eax, dword [0x638f30]
mov dword [ecx + 0x30], eax
mov ax, word [0x638f34]
mov word [ecx + 0x34], ax
mov al, byte [0x638f36]
mov byte [ecx + 0x36], al
mov byte [ecx + 0x37], 0
xorps xmm0, xmm0
mov dword [ebp - 4], 0
movq qword [esi + 4], xmm0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
lea ecx, [esi + 0x10]
mov dword [esi], vtable.CryptoPP::Exception.0
mov dword [esi + 0xc], 0
call fcn.00449c20
mov ecx, dword [ebp - 0x14]
mov dword [esi], vtable.CryptoPP::NotImplemented.0
cmp ecx, 0xf
jbe 0x4fd625
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4fd61b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4fd647
push ecx
push edx
call fcn.00584ebb
add esp, 8
mov dword [esi], vtable.CryptoPP::InputRejecting_class_CryptoPP::BufferedTransformation_::InputRejected.0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00584ead
mov esp, ebp
pop ebp
ret
call fcn.005cadb0
int3
Function at 0x4fd6e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x627b15
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x6b93c0]
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 dword [ebp - 0x2c], esi
xorps xmm0, xmm0
mov dword [ebp - 0x30], esi
push 0x40
movups xmmword [ebp - 0x28], xmm0
call fcn.00584ec9
movups xmm0, xmmword [str.BufferedTransformation:_this_object_doesnt_allow_input]
mov ecx, eax
mov dword [ebp - 0x18], 0x37
add esp, 4
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x14], 0x3f
movups xmmword [ecx], xmm0
movups xmm0, xmmword [0x638f10]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [0x638f20]
movups xmmword [ecx + 0x20], xmm0
mov eax, dword [0x638f30]
mov dword [ecx + 0x30], eax
mov ax, word [0x638f34]
mov word [ecx + 0x34], ax
mov al, byte [0x638f36]
mov byte [ecx + 0x36], al
mov byte [ecx + 0x37], 0
xorps xmm0, xmm0
mov dword [ebp - 4], 0
movq qword [esi + 4], xmm0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
lea ecx, [esi + 0x10]
mov dword [esi], vtable.CryptoPP::Exception.0
mov dword [esi + 0xc], 0
call fcn.00449c20
mov ecx, dword [ebp - 0x14]
mov dword [esi], vtable.CryptoPP::NotImplemented.0
cmp ecx, 0xf
jbe 0x4fd7d5
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4fd7cb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4fd7f7
push ecx
push edx
call fcn.00584ebb
add esp, 8
mov dword [esi], vtable.CryptoPP::InputRejecting_class_CryptoPP::Filter_::InputRejected.0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00584ead
mov esp, ebp
pop ebp
ret
call fcn.005cadb0
int3

Function at 0x500220
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x13f4], 0x20
je 0x500236
xor al, al
pop esi
pop ebp
ret 4
cmp byte [esi + 0x365], 0
jne 0x500272
push edi
lea edi, [esi + 0x13e4]
xor ecx, ecx
cmp dword [edi + 0x14], 0xf
jbe 0x500250
mov edi, dword [edi]
mov edx, dword [ebp + 8]
xor dword [edi + ecx*4], edx
inc ecx
mov eax, dword [esi + 0x13f4]
add edx, 0x1000193
shr eax, 2
cmp ecx, eax
jne 0x500253
pop edi
mov byte [esi + 0x365], 1
mov al, 1
pop esi
pop ebp
ret 4
Function at 0x502ee0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6281cd
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x6b93c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
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 + 0xc], 0
call fcn.00584ec9
mov edi, eax
add esp, 4
test edi, edi
je 0x502f7d
push 1
mov dword [ebp - 4], 0
call fcn.0056c8c0
add esp, 4
mov dword [edi + 4], eax
jmp 0x502f7f
xor edi, edi
mov eax, dword [ebp + 8]
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0
mov edi, dword [edi + 4]
mov ecx, edi
mov dword [ebp - 0x10], edi
mov eax, dword [edi]
call dword [eax + 4]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 1
push eax
call fcn.004fc660
add esp, 4
mov ecx, dword [eax]
push 0x20
mov edx, dword [ecx + 0x30]
mov ecx, eax
call edx
movzx ebx, ax
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x502fdb
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
test eax, eax
je 0x502fdb
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [esi + 0x38], 0
mov word [esi + 0x40], bx
jne 0x502ff8
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
and eax, 0x13
or eax, 4
mov dword [esi + 0xc], eax
and ecx, eax
jne 0x50301b
cmp byte [ebp + 0xc], 0
je 0x503007
push esi
call fcn.005710ae
add esp, 4
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
test cl, 4
je 0x503027
mov esi, str.ios_base::badbit_set
jmp 0x503037
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x14]
push 1
push eax
call fcn.00503060
add esp, 8
lea ecx, [ebp - 0x28]
push eax
push esi
call fcn.004fe720
push 0x68f6ac
lea eax, [ebp - 0x28]
push eax
call fcn.005c06b7
int3
Function at 0x505bc0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x628505
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x6b93c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x50], ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x54], ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x58], ecx
lea ecx, [ebp - 0x40]
push eax
call fcn.00449c20
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0
push eax
call fcn.004caeb0
lea eax, [ebp - 0x40]
push eax
call fcn.004caeb0
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00505a00
add esp, 0x10
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
mov esi, dword [ebp - 0x28]
mov edi, dword [ebp - 0x18]
cmova eax, esi
add edi, eax
mov byte [ebp - 4], 1
xor edx, edx
cmp eax, edi
jae 0x505c60
movzx ecx, byte [eax]
inc eax
imul edx, edx, 0x1000193
xor edx, ecx
cmp eax, edi
jb 0x505c50
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], edx
push eax
call fcn.004f9c60
mov ecx, dword [ebp - 0x4c]
add esp, 4
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.004f9a40
mov edi, dword [eax + 4]
test edi, edi
je 0x505cf6
mov eax, dword [ebp - 0x4c]
cmp edi, dword [eax + 4]
je 0x505cf6
cmp dword [ebp - 0x2c], 0xf
lea eax, [ebp - 0x40]
push dword [ebp - 0x30]
cmova eax, dword [ebp - 0x40]
push eax
call fcn.004c7cf0
mov esi, eax
mov byte [ebp - 0x41], 1
mov eax, 0xaaaaaaab
add esp, 8
mul esi
movd xmm0, esi
pshufd xmm2, xmm0, 0
movaps xmm1, xmm2
mov eax, dword [ebp - 0x50]
shr edx, 1
lea ecx, [edx + edx*2]
sub esi, ecx
mov ecx, dword [ebp - 0x58]
mov dword [eax], esi
movups xmm0, xmmword [edi + 0xc]
mov eax, dword [ebp - 0x54]
mov esi, dword [ebp - 0x28]
movups xmmword [eax], xmm0
movups xmm0, xmmword [edi + 0x1c]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [eax]
xorps xmm1, xmm0
movups xmmword [eax], xmm1
movups xmm0, xmmword [ecx]
xorps xmm2, xmm0
movups xmmword [ecx], xmm2
jmp 0x505cfa
mov byte [ebp - 0x41], 0
mov eax, dword [ebp - 0x14]
cmp eax, 0xf
jbe 0x505d29
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x505d1f
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x505d8b
push ecx
push esi
call fcn.00584ebb
add esp, 8
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp ecx, 0xf
jbe 0x505d6b
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x505d61
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x505d8b
push ecx
push edx
call fcn.00584ebb
add esp, 8
mov al, byte [ebp - 0x41]
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.00584ead
mov esp, ebp
pop ebp
ret 0x10
call fcn.005cadb0
int3
Function at 0x505da0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6255dd
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x6b93c0]
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 dword [ebp - 0x30], ecx
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x34], ecx
lea ecx, [ebp - 0x28]
push eax
call fcn.00449c20
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
call fcn.004caeb0
mov esi, dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
mov edi, dword [ebp - 0x18]
add esp, 4
cmp dword [ebp - 0x14], 0xf
cmova ecx, esi
xor edx, edx
add edi, ecx
cmp ecx, edi
jae 0x505e20
nop
movzx eax, byte [ecx]
inc ecx
imul edx, edx, 0x1000193
xor edx, eax
cmp ecx, edi
jb 0x505e10
mov edi, dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x2c], edx
call fcn.004f9c60
add esp, 4
lea ecx, [edi + 0x20]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.004f9a40
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x505e4d
mov ecx, dword [edi + 0x24]
mov eax, edi
cmp ecx, dword [eax + 0x24]
je 0x505e69
mov eax, dword [ecx + 0x28]
mov edx, dword [ebp - 0x34]
sub eax, dword [ecx + 0x24]
mov dword [edx], eax
test eax, eax
jg 0x505e92
mov dword [ebx], 0
xor bl, bl
mov eax, dword [ebp - 0x14]
cmp eax, 0xf
jbe 0x505ea5
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x505e9b
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x505ec5
jmp 0x505e9b
mov eax, dword [ecx + 0x24]
mov dword [ebx], eax
mov bl, 1
jmp 0x505e6b
push ecx
push esi
call fcn.00584ebb
add esp, 8
mov al, bl
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.00584ead
mov esp, ebp
pop ebp
ret 0xc
call fcn.005cadb0
int3