joyce8/EMBER2024-capa huggingface dataset:
Function at 0x484ce0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f8f03
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x6af320]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
push ecx
call fcn.004458f0
mov dword [ebp - 4], 0
lea ecx, [edi + 0x30]
mov dword [edi], vtable.std::_Packaged_state_void____cdecl___void__.0
mov dword [ebp - 0x18], ecx
mov dword [ecx + 0x10], 0
push ecx
push dword [ebp + 8]
mov byte [ebp - 4], 1
call fcn.00486c40
mov dword [ebp - 4], 2
lea ebx, [edi + 0x48]
mov dword [edi], vtable.std::_Task_async_state_void__0_.0
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov byte [ebp - 4], 3
lea eax, [edi + 4]
mov ecx, 1
lock xadd dword [eax], ecx
sub esp, 0x2c
mov esi, esp
sub esp, 8
mov ecx, esp
call fcn.00445af0
mov ecx, esi
call fcn.00445a70
lea ecx, [esi + 0xc]
call fcn.00445b00
mov dword [esi + 0x1c], 0
lea ecx, [ebp - 0x20]
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x18], 0
mov byte [esi + 0x14], 0
push edi
mov word [esi + 0x28], 0
call fcn.00485330
add esp, 0x30
cmp ebx, eax
je 0x484dc3
push eax
mov ecx, ebx
call fcn.00445b50
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x484def
or ebx, 0xffffffff
lea ecx, [esi + 4]
mov eax, ebx
lock xadd dword [ecx], eax
jne 0x484def
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
lock xadd dword [eax], ebx
dec ebx
jne 0x484def
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, edi
mov byte [edi + 0x26], 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 4
Function at 0x484e10
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f8f03
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x6af320]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
push ecx
call fcn.004458f0
mov dword [ebp - 4], 0
lea ecx, [edi + 0x30]
mov dword [edi], vtable.std::_Packaged_state_void____cdecl___void__.0
mov dword [ebp - 0x18], ecx
mov dword [ecx + 0x10], 0
push ecx
push dword [ebp + 8]
mov byte [ebp - 4], 1
call fcn.00486cc0
mov dword [ebp - 4], 2
lea ebx, [edi + 0x48]
mov dword [edi], vtable.std::_Task_async_state_void__0_.0
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov byte [ebp - 4], 3
lea eax, [edi + 4]
mov ecx, 1
lock xadd dword [eax], ecx
sub esp, 0x2c
mov esi, esp
sub esp, 8
mov ecx, esp
call fcn.00445af0
mov ecx, esi
call fcn.00445a70
lea ecx, [esi + 0xc]
call fcn.00445b00
mov dword [esi + 0x1c], 0
lea ecx, [ebp - 0x20]
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x18], 0
mov byte [esi + 0x14], 0
push edi
mov word [esi + 0x28], 0
call fcn.004853e0
add esp, 0x30
cmp ebx, eax
je 0x484ef3
push eax
mov ecx, ebx
call fcn.00445b50
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x484f1f
or ebx, 0xffffffff
lea ecx, [esi + 4]
mov eax, ebx
lock xadd dword [ecx], eax
jne 0x484f1f
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
lock xadd dword [eax], ebx
dec ebx
jne 0x484f1f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, edi
mov byte [edi + 0x26], 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 4
Function at 0x489c00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x600609
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x6af320]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
mov edi, dword [ebp + 8]
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
mov byte [edi], 0
mov ebx, dword [ebp + 0x10]
xor esi, esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
test ebx, ebx
jle 0x489c72
mov eax, dword [ebp + 0xc]
mov al, byte [esi + eax]
xor al, 0x74
movzx ecx, al
push ecx
push 1
mov ecx, edi
call fcn.0045ee40
inc esi
cmp esi, ebx
jl 0x489c58
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x48acf0
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60086b
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x6af320]
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 ebx, ecx
call fcn.00424980
mov esi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
lea eax, [ebp - 0x248]
push eax
push 0
mov dword [ebp - 0x248], 0
call esi
test eax, eax
je 0x48ad49
cmp eax, 0x6f
jne 0x48ad78
push dword [ebp - 0x248]
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
mov dword [ebp - 0x24c], edi
test edi, edi
je 0x48ad78
lea eax, [ebp - 0x248]
push eax
push edi
call esi
test eax, eax
je 0x48ad96
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
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.005f24e0
mov esp, ebp
pop ebp
ret
xor eax, eax
mov byte [ebp - 0x1c], 0
mov dword [ebp - 0x1b], eax
mov esi, edi
mov word [ebp - 0x17], ax
mov byte [ebp - 0x15], al
jmp 0x48adb0
mov eax, dword [esi + 0x194]
lea ecx, [ebp - 0x1c]
cmp eax, dword [ecx]
jne 0x48adcc
mov eax, dword [esi + 0x198]
cmp eax, dword [ecx + 4]
je 0x48aedb
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x22c], ax
lea eax, [ebp - 0x22a]
push eax
call sub.MSVCR120.dll_memset
movzx eax, byte [esi + 0x199]
push eax
movzx eax, byte [esi + 0x198]
push eax
movzx eax, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
push eax
movzx eax, byte [esi + 0x194]
push eax
push 0x645fb4
push 0xffffffffffffffff
lea eax, [ebp - 0x22c]
push 0x104
push eax
call dword [sym.imp.MSVCR120.dll__snwprintf_s]
xor eax, eax
mov dword [ebp - 0x230], 7
add esp, 0x34
mov dword [ebp - 0x234], 0
mov word [ebp - 0x244], ax
cmp word [ebp - 0x22c], ax
je 0x48ae71
lea eax, [ebp - 0x22c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x48ae62
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x244]
call fcn.00413650
mov dword [ebp - 4], 0
lea eax, [ebp - 0x244]
mov edi, dword [ebx]
push eax
push dword [edi + 4]
push edi
call fcn.0048af60
mov edx, eax
mov ecx, 0x7fffffe
mov eax, dword [ebx + 4]
sub ecx, eax
cmp ecx, 1
jb 0x48aefe
lea ecx, [eax + 1]
mov dword [ebx + 4], ecx
mov dword [edi + 4], edx
mov eax, dword [edx + 4]
mov dword [ebp - 4], 0xffffffff
mov dword [eax], edx
cmp dword [ebp - 0x230], 8
jb 0x48aedb
push dword [ebp - 0x244]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov esi, dword [esi]
test esi, esi
jne 0x48adb0
push dword [ebp - 0x24c]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
cmp dword [ebx + 4], eax
setne al
jmp 0x48ad7a
push str.list_T__too_long
call dword [sym.imp.MSVCP120.dll_void___cdecl_std::_Xlength_error_char_const__]
int3
Function at 0x48cb00
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x6af320]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test ecx, ecx
je 0x48cc4a
test edx, edx
jle 0x48cc4a
push edx
xorps xmm0, xmm0
mov byte [ebp - 0x2c], 0
push ecx
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x94], 0x67452301
mov dword [ebp - 0x90], 0xefcdab89
mov dword [ebp - 0x8c], 0x98badcfe
mov dword [ebp - 0x88], 0x10325476
mov byte [ebp - 0x28], 0
movdqu xmmword [ebp - 0x27], xmm0
movdqu xmmword [ebp - 0x17], xmm0
call fcn.0048b970
lea ecx, [ebp - 0x94]
call fcn.0048ba40
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x94]
call fcn.0048bb10
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x48cba8
mov eax, dword [esi]
jmp 0x48cbaa
mov eax, esi
lea edx, [ebp - 0x28]
cmp edx, eax
jb 0x48cbf7
cmp ecx, 0x10
jb 0x48cbba
mov edx, dword [esi]
jmp 0x48cbbc
mov edx, esi
mov eax, dword [esi + 0x10]
add eax, edx
lea edx, [ebp - 0x28]
cmp eax, edx
jbe 0x48cbf7
cmp ecx, 0x10
jb 0x48cbd1
mov ecx, dword [esi]
jmp 0x48cbd3
mov ecx, esi
push 0x20
lea eax, [ebp - 0x28]
sub eax, ecx
mov ecx, esi
push eax
push esi
call fcn.0042d0e0
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005f24e0
mov esp, ebp
pop ebp
ret
cmp ecx, 0x20
jae 0x48cc08
push dword [esi + 0x10]
mov ecx, esi
push 0x20
call fcn.0042d230
cmp dword [esi + 0x14], 0x10
jb 0x48cc12
mov eax, dword [esi]
jmp 0x48cc14
mov eax, esi
push 0x20
lea ecx, [ebp - 0x28]
push ecx
push eax
call sub.MSVCR120.dll_memcpy
add esp, 0xc
mov dword [esi + 0x10], 0x20
cmp dword [esi + 0x14], 0x10
jb 0x48cc32
mov esi, dword [esi]
mov byte [esi + 0x20], 0
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005f24e0
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.005f24e0
mov esp, ebp
pop ebp
ret
Function at 0x48e930
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f9c53
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6af320]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
xor eax, eax
push 0xffffffffffffffff
push eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
push esi
mov word [edi], ax
call fcn.00413280
lea ecx, [edi + 0x18]
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x18]
push eax
call fcn.00413280
mov byte [ebp - 4], 1
lea ecx, [edi + 0x40]
mov eax, dword [esi + 0x30]
mov dword [edi + 0x30], eax
mov eax, dword [esi + 0x34]
mov dword [edi + 0x34], eax
mov eax, dword [esi + 0x38]
mov dword [edi + 0x38], eax
mov eax, dword [esi + 0x3c]
mov dword [edi + 0x3c], eax
lea eax, [esi + 0x40]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.0042d0e0
mov al, byte [esi + 0x58]
mov byte [edi + 0x58], al
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x490500
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fa2ab
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x6af320]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
push ecx
call fcn.004458f0
push dword [ebp + 8]
mov dword [ebp - 4], 0
lea ecx, [edi + 0x30]
mov dword [edi], vtable.std::_Packaged_state_void____cdecl___void__.0
call fcn.00490730
mov dword [ebp - 4], 1
lea ebx, [edi + 0x48]
mov dword [edi], vtable.std::_Task_async_state_void__0_.0
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov byte [ebp - 4], 2
lea eax, [edi + 4]
mov ecx, 1
lock xadd dword [eax], ecx
sub esp, 0x2c
mov esi, esp
sub esp, 8
mov ecx, esp
call fcn.00445af0
mov ecx, esi
call fcn.00445a70
lea ecx, [esi + 0xc]
call fcn.00445b00
mov dword [esi + 0x1c], 0
lea ecx, [ebp - 0x1c]
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x18], 0
mov byte [esi + 0x14], 0
push edi
mov word [esi + 0x28], 0
call fcn.00490680
add esp, 0x30
cmp ebx, eax
je 0x4905d4
push eax
mov ecx, ebx
call fcn.00445b50
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x490600
or ebx, 0xffffffff
lea ecx, [esi + 4]
mov eax, ebx
lock xadd dword [ecx], eax
jne 0x490600
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
lock xadd dword [eax], ebx
dec ebx
jne 0x490600
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, edi
mov byte [edi + 0x26], 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 4
Function at 0x4aa050
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x603b76
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x6af320]
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 - 0x11c], ecx
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
sar esi, 0x10
mov dword [ebp - 0x124], ebx
and esi, 0xfff
mov ebx, dword [ebp + 8]
cmp ebx, 0x100
je 0x4aa0e2
cmp ebx, 0x104
je 0x4aa0e2
cmp ebx, 0x101
je 0x4aa0c3
cmp ebx, 0x105
jne 0x4aa1e8
push 0
push edi
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
test eax, eax
jne 0x4aa1e8
push 1
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
jmp 0x4aa1e8
push 0
push edi
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
test eax, eax
jne 0x4aa0fa
push 1
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
jmp 0x4aa0fc
mov eax, edi
test eax, eax
je 0x4aa1e8
mov ecx, dword [ebp - 0x11c]
xor dl, dl
mov word [ebp - 0x120], ax
xor eax, eax
mov word [ebp - 0x11e], ax
mov eax, dword [ebp - 0x120]
mov dword [ecx + 0x534], eax
lea ecx, [ebp - 0x94]
push eax
call fcn.004f26c0
add esp, 4
lea ecx, [ebp - 0x118]
mov dword [ebp - 4], 0
call fcn.005a6e20
sub esp, 0x84
mov byte [ebp - 4], 1
mov edi, esp
lea eax, [ebp - 0x118]
mov ecx, 0x21
lea esi, [ebp - 0x94]
rep movsd dword es:[edi], dword [esi]
push str._s__s__s_
push eax
call fcn.005a75f0
mov edi, dword [ebp - 0x11c]
lea ecx, [ebp - 0x118]
add esp, 0x8c
mov eax, dword [edi + 0x550]
mov esi, dword [eax]
call fcn.00424550
mov ecx, dword [edi + 0x550]
push eax
call dword [esi + 0x3c]
mov eax, dword [edi + 0x554]
lea ecx, [ebp - 0x94]
mov esi, dword [eax]
call fcn.005a78d0
mov ecx, dword [edi + 0x554]
test al, al
sete al
movzx eax, al
push eax
call dword [esi + 0xf0]
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 0
call fcn.005a6ee0
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 0xffffffff
call fcn.005a6ee0
mov edi, dword [ebp + 0xc]
push dword [ebp - 0x124]
mov ecx, dword [ebp - 0x11c]
push dword [ebp + 0x10]
push edi
push ebx
call fcn.005a6160
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.005f24e0
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4b4020
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x604bd1
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6af320]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
lea ecx, [edi + 0x30]
push 0xffffffffffffffff
mov eax, dword [esi]
mov dword [edi], eax
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
mov eax, dword [esi + 0x18]
mov dword [edi + 0x18], eax
mov eax, dword [esi + 0x1c]
mov dword [edi + 0x1c], eax
mov eax, dword [esi + 0x20]
mov dword [edi + 0x20], eax
xor eax, eax
movsd xmm0, qword [esi + 0x28]
movsd qword [edi + 0x28], xmm0
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x30]
push eax
call fcn.00413280
lea ecx, [edi + 0x48]
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x48]
push eax
call fcn.00413280
mov byte [ebp - 4], 1
lea ecx, [edi + 0x70]
mov eax, dword [esi + 0x60]
mov dword [edi + 0x60], eax
mov eax, dword [esi + 0x64]
mov dword [edi + 0x64], eax
mov al, byte [esi + 0x68]
mov byte [edi + 0x68], al
mov eax, dword [esi + 0x6c]
mov dword [edi + 0x6c], eax
xor eax, eax
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x70]
push eax
call fcn.00413280
lea ecx, [edi + 0x88]
mov byte [ebp - 4], 2
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x88]
push eax
call fcn.00413280
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
cmp dword [ecx + 0x14], 8
push esi
push edi
jb 0x4be12c
mov esi, dword [ecx]
jmp 0x4be12e
mov esi, ecx
mov edi, dword [ecx + 0x10]
mov edx, 0x811c9d95
mov ecx, 0
add edi, edi
je 0x4be151
nop
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x4be140
pop edi
mov eax, edx
pop esi
ret
Function at 0x4c1fb0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x605e50
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x6af320]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov esi, edx
mov ebx, ecx
xorps xmm0, xmm0
mov dword [esp + 0x18], 0
mov dword [esp + 0x2c], 0
mov byte [esp + 0x30], 0
movdqu xmmword [esp + 0x34], xmm0
mov dword [esp + 0x44], 0
mov byte [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov byte [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov byte [esp + 0x60], 0
push ecx
push dword [ebp + 8]
lea ecx, [esp + 0x24]
mov dword [esp + 0x78], 0
call fcn.004d77b0
mov edi, eax
mov byte [esp + 0x70], 1
mov edx, dword [esi + 0x14]
cmp edx, 8
jb 0x4c205d
mov ecx, dword [esi]
jmp 0x4c205f
mov ecx, esi
mov eax, dword [esi + 0x10]
lea eax, [ecx + eax*2]
cmp edx, 8
jb 0x4c206c
mov esi, dword [esi]
push ecx
push 0
push eax
push esi
mov edx, edi
lea ecx, [esp + 0x3c]
call fcn.004d8280
mov byte [esp + 0x80], 0
add esp, 0x10
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x17], al
test ecx, ecx
je 0x4c20a3
dec dword [ecx + 0x20]
jne 0x4c20a3
mov ecx, dword [esp + 0x1c]
xor edx, edx
call fcn.00418290
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x1c], 0
test ecx, ecx
je 0x4c20c4
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x4c20c4
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp byte [esp + 0x17], 0
je 0x4c210a
mov ecx, dword [esp + 0x38]
mov eax, 0x2aaaaaab
sub ecx, dword [esp + 0x34]
mov esi, 1
imul ecx
sar edx, 1
mov edi, edx
shr edi, 0x1f
add edi, edx
cmp edi, esi
jbe 0x4c210a
mov edx, dword [esp + 0x34]
lea ecx, [edx + 0xc]
cmp edi, esi
lea eax, [esp + 0x58]
cmova eax, ecx
cmp byte [eax + 8], 0
jne 0x4c2151
inc esi
add ecx, 0xc
cmp esi, edi
jb 0x4c20f3
xor eax, eax
mov dword [ebx + 0x14], 7
push eax
mov dword [ebx + 0x10], 0
mov ecx, ebx
push 0x6304a0
mov word [ebx], ax
call fcn.00413650
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4c213c
push eax
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp edi, esi
ja 0x4c2161
lea ecx, [esp + 0x58]
push ebx
call fcn.004d5a70
jmp 0x4c212a
lea eax, [esi + esi*2]
lea ecx, [edx + eax*4]
push ebx
call fcn.004d5a70
jmp 0x4c212a
Function at 0x4c4320
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
mov esi, ecx
push 0x64f5fc
push 0x9b
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [esi], eax
test eax, eax
jne 0x4c4378
push 0x9b
push str.Can_not_find_resource_id___d
push 0x3d5
push str.view::Resource::Resource
call fcn.0056c830
add esp, 0x10
mov eax, esi
pop esi
ret 4
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [esi + 4], eax
test eax, eax
jne 0x4c43aa
push 0x9b
push str.Can_not_load_resource_id___d
push 0x3dc
push str.view::Resource::Resource
call fcn.0056c830
add esp, 0x10
mov eax, esi
pop esi
ret 4
push dword [esi]
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [esi + 4]
mov dword [esi + 0xc], eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [esi + 8], eax
test eax, eax
jne 0x4c43e3
push 0x9b
push str.Can_not_lock_resource_id___d
push 0x3e5
push str.view::Resource::Resource
call fcn.0056c830
add esp, 0x10
mov eax, esi
pop esi
ret 4
Function at 0x4c8370
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6068bc
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x6af320]
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 edi, ecx
mov dword [ebp - 0x30], edi
mov dword [ebp - 4], 0
mov dword [edi], vtable.view::KeyboardMappingWriter.0
mov dword [edi + 0x18], 0
xor ecx, ecx
mov byte [ebp - 4], 1
push 0xffffffffffffffff
push ecx
mov dword [edi + 0x34], 7
mov dword [edi + 0x30], 0
mov word [edi + 0x20], cx
lea ecx, [ebp + 8]
push ecx
lea ecx, [edi + 0x20]
call fcn.00413280
lea ebx, [edi + 0x38]
mov dword [ebx + 0x10], 0
lea esi, [edi + 0x50]
mov dword [esi + 0xc], 0
mov dword [ebp - 0x2c], esi
push 0x400
push ecx
lea ecx, [esi + 0x10]
mov byte [ebp - 4], 4
call fcn.00432b60
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [ebp - 4], 5
movdqu xmm0, xmmword [ebp + 0x20]
mov ecx, dword [ebx + 0x10]
movdqu xmmword [ebp - 0x20], xmm0
test ecx, ecx
je 0x4c843c
mov edx, dword [ecx]
cmp ecx, ebx
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebx + 0x10], 0
push 0x20
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
test eax, eax
jne 0x4c8451
call dword [sym.imp.MSVCP120.dll_void___cdecl_std::_Xbad_alloc_void_]
movdqu xmm0, xmmword [ebp - 0x20]
mov dword [eax], vtable.std::_Func_impl_struct_std::_Callable_obj_class__lambda_c0866e4c1b131f2745ff0bc592c448f3___0___class_std::allocator_class_std::_Func_class_void__struct_vbox::Point_____void__struct_vbox::Point__.0
sub esp, 0x18
mov ecx, esp
movdqu xmmword [eax + 8], xmm0
mov dword [ebx + 0x10], eax
xor eax, eax
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [edi + 0x20]
push eax
call fcn.00413280
lea ecx, [ebp - 0x28]
call fcn.004c2700
add esp, 0x18
mov edx, eax
mov byte [ebp - 4], 6
mov ecx, esi
call fcn.0045f060
mov byte [ebp - 4], 5
cmp dword [ebp - 0x14], 8
mov ebx, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x4c84b8
push dword [ebp - 0x28]
call ebx
add esp, 4
cmp dword [edi + 0x5c], 3
je 0x4c84de
mov ecx, esi
call fcn.004305d0
test esi, esi
je 0x4c84de
mov dword [esi + 0xc], 3
xorps xmm0, xmm0
movq qword [esi], xmm0
mov dword [esi + 8], 0
xorps xmm0, xmm0
mov dword [ebp - 0x14], 4
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], 0
push ecx
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 7
push eax
mov edx, str.keyboardMappings
mov ecx, esi
call fcn.0044e340
add esp, 8
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x20]
call fcn.004305d0
cmp dword [ebp + 0x1c], 8
jb 0x4c8526
push dword [ebp + 8]
call ebx
add esp, 4
mov eax, edi
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.005f24e0
mov esp, ebp
pop ebp
ret 0x28
Function at 0x4ce300
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x6b0400], 8
mov eax, 0x6b03ec
push ebx
cmovae eax, dword [0x6b03ec]
push esi
push edi
push dword [0x6b03fc]
mov esi, ecx
push eax
push dword [esi + 0xc8]
lea edi, [esi + 0xb8]
push 0
mov ecx, edi
call fcn.00417250
test eax, eax
je 0x4ce3be
push edi
lea ecx, [esi + 0x140]
call fcn.004d5870
cmp dword [eax + 0x9c], 8
mov ebx, dword [eax + 0x98]
mov dword [ebp - 4], eax
lea edi, [eax + 0x88]
jb 0x4ce366
mov edi, dword [edi]
xor ecx, ecx
mov edx, 0x811c9dc5
add ebx, ebx
je 0x4ce385
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x4ce371
mov eax, dword [ebp - 4]
cmp dword [esi + 0xdc], edx
je 0x4ce39d
mov dword [esi + 0xdc], edx
mov dword [esi + 0xd8], 0
mov eax, dword [eax + 0x30]
test eax, eax
jle 0x4ce3be
mov ecx, dword [esi + 0xd8]
cmp ecx, eax
jge 0x4ce3be
lea eax, [ecx + 1]
mov ecx, esi
mov dword [esi + 0xd8], eax
call fcn.004d4690
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret