joyce8/EMBER2024-capa huggingface dataset:
Function at 0x492120
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x6d8314]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test ecx, ecx
je 0x49226a
test edx, edx
jle 0x49226a
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.00490f90
lea ecx, [ebp - 0x94]
call fcn.00491060
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x94]
call fcn.00491130
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x4921c8
mov eax, dword [esi]
jmp 0x4921ca
mov eax, esi
lea edx, [ebp - 0x28]
cmp edx, eax
jb 0x492217
cmp ecx, 0x10
jb 0x4921da
mov edx, dword [esi]
jmp 0x4921dc
mov edx, esi
mov eax, dword [esi + 0x10]
add eax, edx
lea edx, [ebp - 0x28]
cmp eax, edx
jbe 0x492217
cmp ecx, 0x10
jb 0x4921f1
mov ecx, dword [esi]
jmp 0x4921f3
mov ecx, esi
push 0x20
lea eax, [ebp - 0x28]
sub eax, ecx
mov ecx, esi
push eax
push esi
call fcn.00430cb0
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006116d0
mov esp, ebp
pop ebp
ret
cmp ecx, 0x20
jae 0x492228
push dword [esi + 0x10]
mov ecx, esi
push 0x20
call fcn.00430e00
cmp dword [esi + 0x14], 0x10
jb 0x492232
mov eax, dword [esi]
jmp 0x492234
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 0x492252
mov esi, dword [esi]
mov byte [esi + 0x20], 0
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006116d0
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.006116d0
mov esp, ebp
pop ebp
ret
Function at 0x493f70
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x613113
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6d8314]
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.00414cd0
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.00414cd0
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.00430cb0
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 0x495b40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6199cb
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x6d8314]
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.004499d0
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.00495d70
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.00449bd0
mov ecx, esi
call fcn.00449b50
lea ecx, [esi + 0xc]
call fcn.00449be0
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.00495cc0
add esp, 0x30
cmp ebx, eax
je 0x495c14
push eax
mov ecx, ebx
call fcn.00449c30
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x495c40
or ebx, 0xffffffff
lea ecx, [esi + 4]
mov eax, ebx
lock xadd dword [ecx], eax
jne 0x495c40
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
lock xadd dword [eax], ebx
dec ebx
jne 0x495c40
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 0x4af550
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6235e6
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x6d8314]
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 0x4af5e2
cmp ebx, 0x104
je 0x4af5e2
cmp ebx, 0x101
je 0x4af5c3
cmp ebx, 0x105
jne 0x4af6e8
push 0
push edi
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
test eax, eax
jne 0x4af6e8
push 1
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
jmp 0x4af6e8
push 0
push edi
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
test eax, eax
jne 0x4af5fa
push 1
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
jmp 0x4af5fc
mov eax, edi
test eax, eax
je 0x4af6e8
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.00500ba0
add esp, 4
lea ecx, [ebp - 0x118]
mov dword [ebp - 4], 0
call fcn.005c5ec0
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.005c6690
mov edi, dword [ebp - 0x11c]
lea ecx, [ebp - 0x118]
add esp, 0x8c
mov eax, dword [edi + 0x550]
mov esi, dword [eax]
call fcn.004283b0
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.005c6970
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.005c5f80
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 0xffffffff
call fcn.005c5f80
mov edi, dword [ebp + 0xc]
push dword [ebp - 0x124]
mov ecx, dword [ebp - 0x11c]
push dword [ebp + 0x10]
push edi
push ebx
call fcn.005c7310
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.006116d0
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4b8610
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x624351
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6d8314]
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.00414cd0
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.00414cd0
mov byte [ebp - 4], 1
lea ecx, [edi + 0x78]
mov eax, dword [esi + 0x60]
mov dword [edi + 0x60], eax
mov eax, dword [esi + 0x64]
mov dword [edi + 0x64], eax
mov eax, dword [esi + 0x68]
mov dword [edi + 0x68], eax
mov eax, dword [esi + 0x6c]
mov dword [edi + 0x6c], eax
movzx eax, byte [esi + 0x70]
mov byte [edi + 0x70], al
mov eax, dword [esi + 0x74]
mov dword [edi + 0x74], 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 + 0x78]
push eax
call fcn.00414cd0
lea ecx, [edi + 0x90]
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 + 0x90]
push eax
call fcn.00414cd0
mov eax, dword [esi + 0xa8]
mov dword [edi + 0xa8], eax
mov eax, dword [esi + 0xac]
mov dword [edi + 0xac], eax
mov eax, dword [esi + 0xb0]
mov dword [edi + 0xb0], eax
movzx eax, byte [esi + 0xb4]
mov byte [edi + 0xb4], al
movzx eax, byte [esi + 0xb5]
mov byte [edi + 0xb5], 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 0x4c3030
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6199cb
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x6d8314]
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.004499d0
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.004c3490
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.00449bd0
mov ecx, esi
call fcn.00449b50
lea ecx, [esi + 0xc]
call fcn.00449be0
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.004c3330
add esp, 0x30
cmp ebx, eax
je 0x4c3104
push eax
mov ecx, ebx
call fcn.00449c30
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x4c3130
or ebx, 0xffffffff
lea ecx, [esi + 4]
mov eax, ebx
lock xadd dword [ecx], eax
jne 0x4c3130
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
lock xadd dword [eax], ebx
dec ebx
jne 0x4c3130
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 0x4c3150
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6199cb
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x6d8314]
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.004499d0
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.004c3670
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.00449bd0
mov ecx, esi
call fcn.00449b50
lea ecx, [esi + 0xc]
call fcn.00449be0
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.004c33e0
add esp, 0x30
cmp ebx, eax
je 0x4c3224
push eax
mov ecx, ebx
call fcn.00449c30
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x4c3250
or ebx, 0xffffffff
lea ecx, [esi + 4]
mov eax, ebx
lock xadd dword [ecx], eax
jne 0x4c3250
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
lock xadd dword [eax], ebx
dec ebx
jne 0x4c3250
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 0x4c8130
Capabilities:
Encode data using xor
Hash data using fnv

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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x625f40
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x6d8314]
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.004e4e20
mov edi, eax
mov byte [esp + 0x70], 1
mov edx, dword [esi + 0x14]
cmp edx, 8
jb 0x4cc06d
mov ecx, dword [esi]
jmp 0x4cc06f
mov ecx, esi
mov eax, dword [esi + 0x10]
lea eax, [ecx + eax*2]
cmp edx, 8
jb 0x4cc07c
mov esi, dword [esi]
push ecx
push 0
push eax
push esi
mov edx, edi
lea ecx, [esp + 0x3c]
call fcn.004e59c0
mov byte [esp + 0x80], 0
add esp, 0x10
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x17], al
test ecx, ecx
je 0x4cc0b3
dec dword [ecx + 0x20]
jne 0x4cc0b3
mov ecx, dword [esp + 0x1c]
xor edx, edx
call fcn.0041b0f0
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x1c], 0
test ecx, ecx
je 0x4cc0d4
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x4cc0d4
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp byte [esp + 0x17], 0
je 0x4cc11a
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 0x4cc11a
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 0x4cc161
inc esi
add ecx, 0xc
cmp esi, edi
jb 0x4cc103
xor eax, eax
mov dword [ebx + 0x14], 7
push eax
mov dword [ebx + 0x10], 0
mov ecx, ebx
push 0x6523fc
mov word [ebx], ax
call fcn.00415c10
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4cc14c
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 0x4cc171
lea ecx, [esp + 0x58]
push ebx
call fcn.004e30c0
jmp 0x4cc13a
lea eax, [esi + esi*2]
lea ecx, [edx + eax*4]
push ebx
call fcn.004e30c0
jmp 0x4cc13a
Function at 0x4ce040
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
mov esi, ecx
push 0x6722ec
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 0x4ce098
push 0x9b
push str.Can_not_find_resource_id___d
push 0x3c8
push str.view::Resource::Resource
call fcn.00584a40
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 0x4ce0ca
push 0x9b
push str.Can_not_load_resource_id___d
push 0x3cf
push str.view::Resource::Resource
call fcn.00584a40
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 0x4ce103
push 0x9b
push str.Can_not_lock_resource_id___d
push 0x3d8
push str.view::Resource::Resource
call fcn.00584a40
add esp, 0x10
mov eax, esi
pop esi
ret 4
Function at 0x4d6ca0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6272f9
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x6d8314]
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 ebx, ecx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 4], 0
lea edi, [ebx + 4]
mov dword [ebx], vtable.view::JoystickMappingWriter.0
xor eax, eax
push 0xffffffffffffffff
mov dword [edi + 0x14], 7
mov ecx, edi
mov dword [edi + 0x10], 0
push eax
mov word [edi], ax
lea eax, [ebp + 8]
push eax
call fcn.00414cd0
mov dword [ebx + 0x30], 0
lea esi, [ebx + 0x38]
mov dword [esi + 0xc], 0
mov dword [ebp - 0x2c], esi
push 0x400
push ecx
lea ecx, [esi + 0x10]
mov byte [ebp - 4], 3
call fcn.004367d0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [ebp - 4], 4
lea eax, [ebx + 0x20]
movdqu xmm0, xmmword [ebp + 0x20]
mov ecx, dword [eax + 0x10]
movdqu xmmword [ebp - 0x20], xmm0
test ecx, ecx
je 0x4d6d62
mov edx, dword [ecx]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebx + 0x30], 0
push 0x20
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
test eax, eax
jne 0x4d6d77
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_9d1c4ce035abd0488162dab08865dd45___0___class_std::allocator_class_std::_Func_class_void__struct_vbox::Point_____void__struct_vbox::Point__.0
mov dword [ebp - 0x14], 7
movdqu xmmword [eax + 8], xmm0
mov dword [ebx + 0x30], eax
xor eax, eax
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 5
mov ecx, dword [edi + 0x14]
cmp ecx, 8
jb 0x4d6dae
mov eax, dword [edi]
jmp 0x4d6db0
mov eax, edi
mov edx, dword [edi + 0x10]
cmp ecx, 8
jb 0x4d6dba
mov edi, dword [edi]
lea eax, [eax + edx*2]
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.00431920
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 6
mov ecx, esi
call fcn.00457870
mov byte [ebp - 4], 4
cmp dword [ebp - 0x14], 8
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x4d6ded
push dword [ebp - 0x28]
call edi
add esp, 4
cmp dword [ebx + 0x44], 3
je 0x4d6e13
mov ecx, esi
call fcn.00434240
test esi, esi
je 0x4d6e13
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.joystickMappings
mov ecx, esi
call fcn.00452480
add esp, 8
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x20]
call fcn.00434240
cmp dword [ebp + 0x1c], 8
jb 0x4d6e5b
push dword [ebp + 8]
call edi
add esp, 4
mov eax, ebx
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.006116d0
mov esp, ebp
pop ebp
ret 0x28
Function at 0x4d9800
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x6d93b8], 8
mov eax, 0x6d93a4
push ebx
cmovae eax, dword [0x6d93a4]
push esi
push edi
push dword [0x6d93b4]
mov esi, ecx
push eax
push dword [esi + 0xc8]
lea edi, [esi + 0xb8]
push 0
mov ecx, edi
call fcn.004140b0
test eax, eax
je 0x4d98be
push edi
lea ecx, [esi + 0x144]
call fcn.004e2ec0
cmp dword [eax + 0x9c], 8
mov ebx, dword [eax + 0x98]
mov dword [ebp - 4], eax
lea edi, [eax + 0x88]
jb 0x4d9866
mov edi, dword [edi]
xor ecx, ecx
mov edx, 0x811c9dc5
add ebx, ebx
je 0x4d9885
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x4d9871
mov eax, dword [ebp - 4]
cmp dword [esi + 0xe0], edx
je 0x4d989d
mov dword [esi + 0xe0], edx
mov dword [esi + 0xdc], 0
mov eax, dword [eax + 0x30]
test eax, eax
jle 0x4d98be
mov ecx, dword [esi + 0xdc]
cmp ecx, eax
jge 0x4d98be
lea eax, [ecx + 1]
mov ecx, esi
mov dword [esi + 0xdc], eax
call fcn.004e1040
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4e0f80
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
lea ecx, [esi + 0x18]
movzx eax, byte [edi]
mov byte [esi], al
movzx eax, byte [edi + 1]
mov byte [esi + 1], al
movzx eax, byte [edi + 2]
mov byte [esi + 2], al
movzx eax, byte [edi + 3]
mov byte [esi + 3], al
movzx eax, byte [edi + 4]
mov byte [esi + 4], al
movzx eax, byte [edi + 5]
mov byte [esi + 5], al
movzx eax, byte [edi + 6]
mov byte [esi + 6], al
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x14]
mov dword [esi + 0x14], eax
lea eax, [edi + 0x18]
cmp ecx, eax
je 0x4e0fe6
push 0xffffffffffffffff
push 0
push eax
call fcn.00414cd0
lea eax, [edi + 0x30]
lea ecx, [esi + 0x30]
cmp ecx, eax
je 0x4e0ffa
push 0xffffffffffffffff
push 0
push eax
call fcn.00414cd0
lea ebx, [edi + 0x48]
lea edi, [esi + 0x48]
cmp edi, ebx
je 0x4e1034
mov eax, dword [edi]
mov ecx, edi
push dword [eax + 4]
call fcn.004e3560
mov eax, dword [edi]
mov ecx, edi
mov byte [ebp + 8], 0
push dword [ebp + 8]
mov dword [eax + 4], eax
mov eax, dword [edi]
push ebx
mov dword [eax], eax
mov eax, dword [edi]
mov dword [eax + 8], eax
mov dword [edi + 4], 0
call fcn.004e55e0
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x4e53b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6197c8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x6d8314]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
mov eax, 0x660d84
inc eax
cmp byte [eax], 0
jne 0x4e53e2
sub eax, 0x660d84
mov dword [esp + 0x28], 0x100005
mov dword [esp + 0x1c], 0x660d84
mov dword [esp + 0x20], eax
mov ecx, dword [ebp + 0xc]
mov esi, 0x1606
mov eax, ecx
mov dword [esp + 0x38], 0
cdq
test ecx, ecx
mov dword [esp + 0xc], eax
mov eax, 0x3e06
cmovns esi, eax
mov dword [esp + 0x10], edx
push ecx
lea eax, [esp + 0x10]
mov dword [esp + 0x1c], esi
push eax
lea eax, [esp + 0x24]
mov ecx, edi
push eax
call fcn.00432420
lea ecx, [esp + 0xc]
mov esi, eax
call fcn.00434240
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00434240
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc