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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x6cf520]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x71aa8c]
push ebx
cmp eax, 0xe00e0804
je 0x50d41e
cmp eax, 0xe0090404
je 0x50d41e
mov ebx, dword [0x71ab40]
test ebx, ebx
je 0x50d41e
xor cl, cl
mov edx, 0x404
mov byte [ebp - 0x109], cl
cmp ax, dx
jne 0x50d40d
movups xmm0, xmmword [str.softwaremicrosoftwindowscurrentversion_]
mov ax, word [0x649a1c]
and ebx, 0xffff0000
mov word [ebp - 0xe0], ax
cmp ebx, 0x5010000
mov al, byte [0x649a1e]
mov edx, str.MSTCIPH
movups xmmword [ebp - 0x108], xmm0
mov byte [ebp - 0xde], al
mov eax, str.TINTLGNT
movups xmm0, xmmword [0x649a04]
push esi
cmovb edx, eax
movups xmmword [ebp - 0xf8], xmm0
mov esi, edx
movq xmm0, qword [0x649a14]
push edi
movq qword [ebp - 0xe8], xmm0
mov al, byte [edx]
inc edx
test al, al
jne 0x50d304
lea edi, [ebp - 0x108]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x50d314
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 0x50d3f8
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 0x50d3d5
mov eax, dword [ebp - 0x118]
cmp ebx, 0x5000000
ja 0x50d3a0
cmp al, 0x22
je 0x50d3b6
cmp al, 0x23
je 0x50d3b6
cmp ebx, 0x5010000
je 0x50d3b0
cmp ebx, 0x5020000
jne 0x50d3d5
sub al, 0x22
cmp al, 2
ja 0x50d3d5
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.00597338
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.00597338
mov esp, ebp
pop ebp
ret
mov al, byte [ebp - 0x109]
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00597338
mov esp, ebp
pop ebp
ret
mov al, cl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00597338
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop ebx
call fcn.00597338
mov esp, ebp
pop ebp
ret
Function at 0x50df40
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6399d0
mov eax, dword fs:[0]
push eax
sub esp, 0x82c
mov eax, dword [0x6cf520]
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 0x50e158
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x50e158
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp - 0x834], eax
test eax, eax
je 0x50e158
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
mov dword [ebp - 0x830], edi
test edi, edi
je 0x50e158
mov esi, edi
mov dword [ebp - 0x818], 0
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 0x50dfe0
sub esi, ecx
cmp esi, 0x7fffffff
ja 0x50e173
mov dword [ebp - 0x814], 0xf
cmp esi, 0x10
jae 0x50e025
push esi
lea eax, [ebp - 0x828]
mov dword [ebp - 0x818], esi
push edi
push eax
call fcn.005d2ea0
mov byte [ebp + esi - 0x828], 0
jmp 0x50e0a6
mov edi, esi
or edi, 0xf
cmp edi, 0x7fffffff
jbe 0x50e047
mov eax, closesocket
mov edi, closesocket
push eax
call fcn.0043e550
add esp, 4
jmp 0x50e077
mov eax, 0x16
cmp edi, eax
cmovb edi, eax
lea eax, [edi + 1]
cmp eax, 0x1000
jb 0x50e066
push eax
call fcn.0043e550
add esp, 4
jmp 0x50e077
test eax, eax
je 0x50e075
push eax
call fcn.00597385
add esp, 4
jmp 0x50e077
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.005d2ea0
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 0x50e122
cmp dword [ebp - 0x814], 0x10
lea edx, [ebp - 0x828]
push 0x400
cmovae edx, dword [ebp - 0x828]
lea ecx, [ebp - 0x810]
push ecx
add eax, edx
sub eax, edx
push eax
push edx
push 0
push dword [0x71c784]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, dword [ebp - 0x838]
push eax
lea eax, [ebp - 0x810]
push eax
call fcn.0050d900
mov ecx, dword [0x71bf68]
test ecx, ecx
je 0x50e122
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x814]
cmp ecx, 0x10
jb 0x50e158
mov edx, dword [ebp - 0x828]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x50e14e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x50e178
push ecx
push edx
call fcn.00597369
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.00597338
mov esp, ebp
pop ebp
ret
call fcn.0043e400
call fcn.005dd260
int3
Function at 0x513cd0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x639b80
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x6cf520]
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.00597385
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 0x514390
Capabilities:
Encode data using xor
Hash data with crc32

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x639d65
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x6cf520]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
mov edi, ecx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x28], ecx
mov dword [ebp + 0xc], 0
mov eax, dword [ecx + 4]
lea ecx, [ebx + 0x10]
mov dword [ebp - 0x18], eax
lea edx, [ebx + 0x14]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
cmp byte [eax + 0xd], 0
jne 0x5156f0
mov esi, eax
mov eax, dword [ecx]
mov dword [ebp - 0x20], eax
nop dword [eax]
cmp dword [edx], 0x10
lea eax, [esi + 0x10]
mov dword [ebp - 0x18], esi
mov ecx, ebx
jb 0x5156af
mov ecx, dword [ebx]
cmp dword [eax + 0x14], 0x10
mov edx, dword [eax + 0x10]
jb 0x5156ba
mov eax, dword [eax]
push dword [ebp - 0x20]
push ecx
push edx
push eax
call fcn.0043ff70
add esp, 0x10
test eax, eax
je 0x5156da
jns 0x5156da
mov esi, dword [esi + 8]
mov dword [ebp + 0xc], 0
jmp 0x5156e5
mov edi, esi
mov dword [ebp + 0xc], 1
mov esi, dword [esi]
cmp byte [esi + 0xd], 0
lea edx, [ebx + 0x14]
je 0x5156a0
jmp 0x5156f6
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
cmp byte [edi + 0xd], 0
jne 0x515749
cmp dword [edi + 0x24], 0x10
lea eax, [edi + 0x10]
mov edx, dword [eax + 0x10]
jb 0x51570a
mov eax, dword [eax]
mov esi, dword [ebp - 0x10]
mov ecx, ebx
cmp dword [esi], 0x10
jb 0x515716
mov ecx, dword [ebx]
push edx
push eax
mov eax, dword [ebp - 0x14]
push dword [eax]
push ecx
call fcn.0043ff70
add esp, 0x10
test eax, eax
je 0x51572c
js 0x515749
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 - 0x1c]
cmp dword [eax + 4], 0x4ec4ec4
je 0x5157ef
mov dword [ebp - 0x24], eax
push 0x34
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 0
call fcn.00597385
mov edi, eax
add esp, 4
mov dword [ebp - 0x20], edi
push ebx
lea ecx, [edi + 0x10]
mov dword [ebp - 4], 1
call fcn.0043ebc0
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 - 0x28]
mov dword [edi + 0x2c], ecx
mov ecx, dword [ebp - 0x1c]
push edi
push dword [ebp + 0xc]
mov dword [edi + 0x30], edx
push dword [ebp - 0x18]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov word [edi + 0xc], 0
call fcn.0044b130
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.0044b370
int3
Function at 0x51a230
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 0x51a249
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 0x520820
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63a565
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x6cf520]
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], 0x10
jb 0x520857
mov edx, dword [edi]
mov ecx, dword [edi + 0x10]
xor esi, esi
add ecx, edx
cmp edx, ecx
jae 0x520872
movzx eax, byte [edx]
inc edx
imul esi, esi, 0x1000193
xor esi, eax
cmp edx, ecx
jb 0x520862
push esi
push edi
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.00520600
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x5208a3
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 0x5209fe
lea eax, [ebx + 4]
mov dword [ebp - 0x1c], eax
push 0x24
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
call fcn.00597385
add esp, 4
mov edi, eax
mov dword [ebp - 0x18], edi
push dword [ebp + 0xc]
lea ecx, [edi + 8]
call fcn.0043ebc0
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 + 0x68da00]
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 + 0x68da00]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x5209a0
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x14], xmm0
fld qword [ebp - 0x14]
fstp qword [esp]
call fcn.005ed900
fstp qword [ebp - 0x14]
movsd xmm0, qword [ebp - 0x14]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.00597da0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x520984
cmp eax, 0x200
jae 0x520982
shl eax, 3
cmp eax, ecx
jae 0x520984
mov eax, ecx
push eax
mov ecx, ebx
call fcn.00522200
push esi
lea eax, [edi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00520600
mov edx, dword [eax]
jmp 0x5209a3
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 0x5209cb
mov dword [ecx + eax*8], edi
jmp 0x5209dd
cmp esi, edx
jne 0x5209d4
mov dword [ecx + eax*8], edi
jmp 0x5209e1
mov edx, dword [ebp + 0xc]
cmp dword [ecx + eax*8 + 4], edx
jne 0x5209e1
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.00595c79
int3
Function at 0x523de0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63aaf5
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x6cf520]
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.00597385
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 [0x64b074]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [0x64b084]
movups xmmword [ecx + 0x20], xmm0
mov eax, dword [0x64b094]
mov dword [ecx + 0x30], eax
mov ax, word [0x64b098]
mov word [ecx + 0x34], ax
mov al, byte [0x64b09a]
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.0043ebc0
mov ecx, dword [ebp - 0x14]
mov dword [esi], vtable.CryptoPP::NotImplemented.0
cmp ecx, 0x10
jb 0x523ed5
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x523ecb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x523ef7
push ecx
push edx
call fcn.00597369
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.00597338
mov esp, ebp
pop ebp
ret
call fcn.005dd260
int3
Function at 0x523f90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63aaf5
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x6cf520]
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.00597385
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 [0x64b074]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [0x64b084]
movups xmmword [ecx + 0x20], xmm0
mov eax, dword [0x64b094]
mov dword [ecx + 0x30], eax
mov ax, word [0x64b098]
mov word [ecx + 0x34], ax
mov al, byte [0x64b09a]
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.0043ebc0
mov ecx, dword [ebp - 0x14]
mov dword [esi], vtable.CryptoPP::NotImplemented.0
cmp ecx, 0x10
jb 0x524085
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x52407b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5240a7
push ecx
push edx
call fcn.00597369
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.00597338
mov esp, ebp
pop ebp
ret
call fcn.005dd260
int3

Function at 0x526670
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x13f4], 0x20
je 0x526686
xor al, al
pop esi
pop ebp
ret 4
cmp byte [esi + 0x365], 0
jne 0x5266c5
cmp dword [esi + 0x13f8], 0x10
push edi
lea edi, [esi + 0x13e4]
jb 0x5266a1
mov edi, dword [edi]
mov edx, dword [ebp + 8]
xor ecx, ecx
xor dword [edi + ecx*4], edx
inc ecx
mov eax, dword [esi + 0x13f4]
add edx, 0x1000193
shr eax, 2
cmp ecx, eax
jne 0x5266a6
pop edi
mov byte [esi + 0x365], 1
mov al, 1
pop esi
pop ebp
ret 4
Function at 0x529530
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63b12d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x6cf520]
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.00597385
mov edi, eax
add esp, 4
test edi, edi
je 0x5295cd
push 1
mov dword [ebp - 4], 0
call fcn.00595faf
add esp, 4
mov dword [edi + 4], eax
jmp 0x5295cf
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.00522f90
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 0x52962b
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
test eax, eax
je 0x52962b
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [esi + 0x38], 0
mov word [esi + 0x40], bx
jne 0x529648
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 0x52966b
cmp byte [ebp + 0xc], 0
je 0x529657
push esi
call fcn.00595cd9
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 0x529677
mov esi, str.ios_base::badbit_set
jmp 0x529687
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.0043f8f0
add esp, 8
lea ecx, [ebp - 0x28]
push eax
push esi
call fcn.0043f660
push 0x6b02e0
lea eax, [ebp - 0x28]
push eax
call fcn.005d2e27
int3
Function at 0x52c130
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63b465
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x6cf520]
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.0043ebc0
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0
push eax
call fcn.004ecb30
lea eax, [ebp - 0x40]
push eax
call fcn.004ecb30
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0052bf70
add esp, 0x10
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov esi, dword [ebp - 0x28]
mov edi, dword [ebp - 0x18]
cmovae eax, esi
add edi, eax
mov byte [ebp - 4], 1
xor edx, edx
cmp eax, edi
jae 0x52c1d0
movzx ecx, byte [eax]
inc eax
imul edx, edx, 0x1000193
xor edx, ecx
cmp eax, edi
jb 0x52c1c0
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], edx
push eax
call fcn.005207b0
mov ecx, dword [ebp - 0x4c]
add esp, 4
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.00520590
mov edi, dword [eax + 4]
test edi, edi
je 0x52c263
mov eax, dword [ebp - 0x4c]
cmp edi, dword [eax + 4]
je 0x52c263
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.004e9b10
mov esi, eax
mov byte [ebp - 0x41], 1
mov eax, 0xaaaaaaab
add esp, 8
mul esi
movd xmm0, esi
pshufd xmm1, xmm0, 0
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 xmm0, xmm1
movups xmmword [eax], xmm0
movups xmm0, xmmword [ecx]
xorps xmm1, xmm0
movups xmmword [ecx], xmm1
jmp 0x52c267
mov byte [ebp - 0x41], 0
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x52c296
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x52c28c
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x52c2f8
push ecx
push esi
call fcn.00597369
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, 0x10
jb 0x52c2d8
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x52c2ce
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x52c2f8
push ecx
push edx
call fcn.00597369
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.00597338
mov esp, ebp
pop ebp
ret 0x10
call fcn.005dd260
int3
Function at 0x52c300
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63810d
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x6cf520]
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.0043ebc0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
call fcn.004ecb30
mov esi, dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
mov edi, dword [ebp - 0x18]
add esp, 4
cmp dword [ebp - 0x14], 0x10
cmovae ecx, esi
xor edx, edx
add edi, ecx
cmp ecx, edi
jae 0x52c380
nop
movzx eax, byte [ecx]
inc ecx
imul edx, edx, 0x1000193
xor edx, eax
cmp ecx, edi
jb 0x52c370
mov edi, dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x2c], edx
call fcn.005207b0
add esp, 4
lea ecx, [edi + 0x20]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00520590
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x52c3ad
mov ecx, dword [edi + 0x24]
mov eax, edi
cmp ecx, dword [eax + 0x24]
je 0x52c3c9
mov eax, dword [ecx + 0x28]
mov edx, dword [ebp - 0x34]
sub eax, dword [ecx + 0x24]
mov dword [edx], eax
test eax, eax
jg 0x52c3f2
mov dword [ebx], 0
xor bl, bl
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x52c405
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x52c3fb
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x52c425
jmp 0x52c3fb
mov eax, dword [ecx + 0x24]
mov dword [ebx], eax
mov bl, 1
jmp 0x52c3cb
push ecx
push esi
call fcn.00597369
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.00597338
mov esp, ebp
pop ebp
ret 0xc
call fcn.005dd260
int3