joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43f670
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57d931
mov eax, dword fs:[0]
push eax
sub esp, 0x850
mov eax, dword [0x603320]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x840]
push eax
call fcn.0043e720
push str.data.ini
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x858]
call fcn.0041ee20
add esp, 4
mov byte [ebp - 4], 2
cmp dword [ebp - 0x82c], 8
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x43f6e3
push dword [ebp - 0x840]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x82c], 7
push 0x7fe
push eax
mov word [ebp - 0x840], ax
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x80e]
push eax
mov dword [ebp - 0x830], 0
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x858]
cmp dword [ebp - 0x844], 8
cmovae eax, dword [ebp - 0x858]
push eax
push 0x400
lea eax, [ebp - 0x810]
push eax
push 0x5a9f50
push str.saveapp
push 0x5a7a38
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor eax, eax
mov dword [ebp - 0x814], 7
mov dword [ebp - 0x818], 0
mov word [ebp - 0x828], ax
cmp word [ebp - 0x810], ax
jne 0x43f77c
xor ecx, ecx
jmp 0x43f794
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43f785
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x828]
call fcn.0040dd10
push 1
push 0x5a9f50
mov byte [ebp - 4], 3
push dword [ebp - 0x818]
push ecx
lea ecx, [ebp - 0x828]
call fcn.0040d2c0
test eax, eax
sete bl
cmp dword [ebp - 0x814], 8
jb 0x43f7dd
push dword [ebp - 0x828]
call esi
add esp, 4
test bl, bl
setne bl
cmp dword [ebp - 0x844], 8
jb 0x43f7f6
push dword [ebp - 0x858]
call esi
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00576f50
mov esp, ebp
pop ebp
ret
Function at 0x43f820
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57d9d6
mov eax, dword fs:[0]
push eax
sub esp, 0x840
mov eax, dword [0x603320]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x82c]
push eax
mov dword [ebp - 0x848], 0
call fcn.0043e720
push str.data.ini
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x844]
call fcn.0041ee20
add esp, 4
mov byte [ebp - 4], 2
cmp dword [ebp - 0x818], 8
jb 0x43f89d
push dword [ebp - 0x82c]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [ebp - 0x818], 7
push 0x7fe
push eax
mov word [ebp - 0x82c], ax
mov word [ebp - 0x814], ax
lea eax, [ebp - 0x812]
push eax
mov dword [ebp - 0x81c], 0
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x844]
cmp dword [ebp - 0x830], 8
cmovae eax, dword [ebp - 0x844]
push eax
push 0x400
lea eax, [ebp - 0x814]
push eax
push 0x5a2b98
push 0x5aa564
push 0x5a7a38
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp word [ebp - 0x814], ax
jne 0x43f92c
xor ecx, ecx
jmp 0x43f944
lea ecx, [ebp - 0x814]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43f935
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x814]
mov ecx, esi
push eax
call fcn.0040dd10
cmp dword [ebp - 0x830], 8
jb 0x43f96b
push dword [ebp - 0x844]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00576f50
mov esp, ebp
pop ebp
ret 4

Function at 0x440480
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57dbdb
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x603320]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
lea ecx, [esi + 0x14]
mov dword [esi + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x10], eax
xor eax, eax
mov dword [esi], vtable.view::Camera.0
mov dword [esi + 8], 0
xchg dword [ecx], eax
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
lea ecx, [esi + 0x30]
mov dword [ebp - 4], 0
call dword [sym.imp.dnutility.dll_public:_void___thiscall_utility::Timer::constructor_void_]
xor ecx, ecx
lea eax, [esi + 0x34]
xchg dword [eax], ecx
xor ecx, ecx
lea eax, [esi + 0x38]
xchg dword [eax], ecx
mov ecx, dword [esi + 4]
mov byte [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov eax, dword [ecx]
call dword [eax + 0xb4]
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x441960
Capabilities:
Enumerate devices by category

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57ded1
mov eax, dword fs:[0]
push eax
sub esp, 0x634
mov eax, dword [0x603320]
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 eax, dword [esi]
mov dword [esi + 4], eax
mov dword [ebp - 0x63c], 0
lea eax, [ebp - 0x63c]
mov dword [ebp - 4], 0
push eax
push 0x5aadc4
push 1
push 0
push 0x5a255c
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov eax, dword [ebp - 0x63c]
test eax, eax
je 0x441b11
mov dword [ebp - 0x634], 0
push 0
lea edx, [ebp - 0x634]
mov byte [ebp - 4], 1
mov ecx, dword [eax]
push edx
push 0x5a256c
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x441af7
mov eax, dword [ebp - 0x634]
test eax, eax
je 0x441afd
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov dword [ebp - 0x640], 0
mov dword [ebp - 0x638], 0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x640]
mov eax, dword [ebp - 0x634]
push edx
lea edx, [ebp - 0x638]
push edx
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x441ae3
jmp 0x441a50
push 0x618
lea eax, [ebp - 0x62c]
mov dword [ebp - 0x630], 0
push 0
push eax
call sub.MSVCR120.dll_memset
mov ecx, dword [ebp - 0x638]
lea edx, [ebp - 0x630]
add esp, 0xc
call fcn.00441b50
test eax, eax
je 0x441a93
lea eax, [ebp - 0x630]
mov ecx, esi
push eax
call fcn.00441f40
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x638]
test eax, eax
je 0x441aa7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x640], 0
mov dword [ebp - 0x638], 0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x640]
mov eax, dword [ebp - 0x634]
push edx
lea edx, [ebp - 0x638]
push edx
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0xc]
test eax, eax
je 0x441a50
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x638]
test eax, eax
je 0x441af7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x634]
mov byte [ebp - 4], 0
test eax, eax
je 0x441b0b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x63c]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x441b22
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00576f50
mov esp, ebp
pop ebp
ret

Function at 0x44ca90
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x44cacb
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x44cab2
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x44cac3
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x44cacd
inc edi
add eax, 0x28
cmp edi, esi
jb 0x44caa8
xor eax, eax
pop edi
pop esi
ret
Function at 0x44d110
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
inc ebp
or al, 0x66
cmp eax, dword [edi + 6]
inc ebp
or al, 0x66
cmp eax, dword [edi + 6]
jne 0x44d127
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x44d145
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x44d1a3
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x44d18a
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x44d193
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x44d19d
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x44d17f
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x44d109
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x44d1f0
dec eax
je 0x44d1e7
sub eax, 3
je 0x44d1de
mov dword [ebp - 4], 0x40
jmp 0x44d20d
mov dword [ebp - 4], 4
jmp 0x44d1f3
mov dword [ebp - 4], 0x20
jmp 0x44d1f3
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x44d23f
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x44d1bf
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.0044ca50
lcall 0x1475, 0xffe64d30
push 1
push esi
call edi
mov eax, esi
jmp 0x44d24b
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4542c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x580099
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x603320]
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 0x454332
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.00454c20
inc esi
cmp esi, ebx
jl 0x454318
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 0x455820
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x580373
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x603320]
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.0040d950
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.0040d950
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.004260c0
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 0x471300
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x583396
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x603320]
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 0x471392
cmp ebx, 0x104
je 0x471392
cmp ebx, 0x101
je 0x471373
cmp ebx, 0x105
jne 0x471498
push 0
push edi
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
test eax, eax
jne 0x471498
push 1
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
jmp 0x471498
push 0
push edi
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
test eax, eax
jne 0x4713aa
push 1
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
jmp 0x4713ac
mov eax, edi
test eax, eax
je 0x471498
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.004b6f10
add esp, 4
lea ecx, [ebp - 0x118]
mov dword [ebp - 4], 0
call fcn.0052d410
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.0052dbe0
mov edi, dword [ebp - 0x11c]
lea ecx, [ebp - 0x118]
add esp, 0x8c
mov eax, dword [edi + 0x550]
mov esi, dword [eax]
call fcn.0041dd20
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.0052ded0
mov ecx, dword [edi + 0x554]
test al, al
sete al
movzx eax, al
push eax
call dword [esi + 0xec]
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 0
call fcn.0052d4d0
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 0xffffffff
call fcn.0052d4d0
mov edi, dword [ebp + 0xc]
push dword [ebp - 0x124]
mov ecx, dword [ebp - 0x11c]
push dword [ebp + 0x10]
push edi
push ebx
call fcn.0052c740
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.00576f50
mov esp, ebp
pop ebp
ret 0x10
Function at 0x483d30
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
cmp dword [ecx + 0x14], 8
push esi
push edi
jb 0x483d3c
mov esi, dword [ecx]
jmp 0x483d3e
mov esi, ecx
mov edi, dword [ecx + 0x10]
mov edx, 0x811c9d95
mov ecx, 0
add edi, edi
je 0x483d61
nop
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x483d50
pop edi
mov eax, edx
pop esi
ret

Function at 0x487c80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x585430
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x603320]
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.0049be30
mov edi, eax
mov byte [esp + 0x70], 1
mov edx, dword [esi + 0x14]
cmp edx, 8
jb 0x487d2d
mov ecx, dword [esi]
jmp 0x487d2f
mov ecx, esi
mov eax, dword [esi + 0x10]
lea eax, [ecx + eax*2]
cmp edx, 8
jb 0x487d3c
mov esi, dword [esi]
push ecx
push 0
push eax
push esi
mov edx, edi
lea ecx, [esp + 0x3c]
call fcn.0049c9f0
mov byte [esp + 0x80], 0
add esp, 0x10
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x17], al
test ecx, ecx
je 0x487d73
dec dword [ecx + 0x20]
jne 0x487d73
mov ecx, dword [esp + 0x1c]
xor edx, edx
call fcn.00412410
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x1c], 0
test ecx, ecx
je 0x487d94
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x487d94
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp byte [esp + 0x17], 0
je 0x487dda
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 0x487dda
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 0x487e21
inc esi
add ecx, 0xc
cmp esi, edi
jb 0x487dc3
xor eax, eax
mov dword [ebx + 0x14], 7
push eax
mov dword [ebx + 0x10], 0
mov ecx, ebx
push 0x5a2b98
mov word [ebx], ax
call fcn.0040dd10
mov eax, dword [esp + 0x34]
test eax, eax
je 0x487e0c
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 0x487e31
lea ecx, [esp + 0x58]
push ebx
call fcn.0049a020
jmp 0x487dfa
lea eax, [esi + esi*2]
lea ecx, [edx + eax*4]
push ebx
call fcn.0049a020
jmp 0x487dfa
Function at 0x489cd0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
mov esi, ecx
push 0x5b6d2c
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 0x489d29
push 0x9b
push str.Can_not_find_resource_id___d
push 0x3c7
push str.view::Resource::Resource
call dword [sym.imp.dnutility.dll_void___cdecl_utility_log_char_const___int__wchar_t_const__]
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 0x489d5c
push 0x9b
push str.Can_not_load_resource_id___d
push 0x3ce
push str.view::Resource::Resource
call dword [sym.imp.dnutility.dll_void___cdecl_utility_log_char_const___int__wchar_t_const__]
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 0x489d96
push 0x9b
push str.Can_not_lock_resource_id___d
push 0x3d7
push str.view::Resource::Resource
call dword [sym.imp.dnutility.dll_void___cdecl_utility_log_char_const___int__wchar_t_const__]
add esp, 0x10
mov eax, esi
pop esi
ret 4
Function at 0x48d140
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x585cec
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x603320]
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.0040d950
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.00434f30
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 0x48d20c
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 0x48d221
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.0040d950
lea ecx, [ebp - 0x28]
call fcn.004883a0
add esp, 0x18
mov edx, eax
mov byte [ebp - 4], 6
mov ecx, esi
call fcn.004a6a10
mov byte [ebp - 4], 5
cmp dword [ebp - 0x14], 8
mov ebx, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x48d288
push dword [ebp - 0x28]
call ebx
add esp, 4
cmp dword [edi + 0x5c], 3
je 0x48d2ae
mov ecx, esi
call fcn.0040d480
test esi, esi
je 0x48d2ae
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.004a6ed0
add esp, 8
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x20]
call fcn.0040d480
cmp dword [ebp + 0x1c], 8
jb 0x48d2f6
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.00576f50
mov esp, ebp
pop ebp
ret 0x28
Function at 0x493040
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x603664], 8
mov eax, 0x603650
push ebx
cmovae eax, dword [0x603650]
push esi
push edi
push dword [0x603660]
mov esi, ecx
push eax
push dword [esi + 0xc8]
lea edi, [esi + 0xb8]
push ecx
mov ecx, edi
call fcn.0040d2c0
test eax, eax
je 0x4930fd
push edi
lea ecx, [esi + 0x140]
call fcn.00499e50
cmp dword [eax + 0x9c], 8
mov ebx, dword [eax + 0x98]
mov dword [ebp - 4], eax
lea edi, [eax + 0x88]
jb 0x4930a5
mov edi, dword [edi]
xor ecx, ecx
mov edx, 0x811c9dc5
add ebx, ebx
je 0x4930c4
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x4930b0
mov eax, dword [ebp - 4]
cmp dword [esi + 0xdc], edx
je 0x4930dc
mov dword [esi + 0xdc], edx
mov dword [esi + 0xd8], 0
mov eax, dword [eax + 0x30]
test eax, eax
jle 0x4930fd
mov ecx, dword [esi + 0xd8]
cmp ecx, eax
jge 0x4930fd
lea eax, [ecx + 1]
mov ecx, esi
mov dword [esi + 0xd8], eax
call fcn.00498b80
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x498ac0
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 0x498b26
push 0xffffffffffffffff
push 0
push eax
call fcn.0040d950
lea eax, [edi + 0x30]
lea ecx, [esi + 0x30]
cmp ecx, eax
je 0x498b3a
push 0xffffffffffffffff
push 0
push eax
call fcn.0040d950
lea ebx, [edi + 0x48]
lea edi, [esi + 0x48]
cmp edi, ebx
je 0x498b74
mov eax, dword [edi]
mov ecx, edi
push dword [eax + 4]
call fcn.0049a450
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.0049c630
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 4