joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4332e0
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x8c
mov dword [esp], 0x23
mov dword [esp + 4], 0x433450
push ebx
push esi
mov esi, dword [esp + 0x98]
push edi
xor edi, edi
push 0x7f00
mov dword [esp + 0x18], edi
push esi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], esi
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [esp + 0x20], eax
push 0x7f00
push edi
call dword [sym.imp.USER32.dll_LoadCursorA]
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], eax
mov eax, dword [0x4e2fdc]
push ecx
add eax, 0x32c
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], eax
call dword [sym.imp.USER32.dll_RegisterClassA]
test ax, ax
jne 0x433360
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x8c
ret
push 0
push esi
push 0
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
push 1
call esi
push eax
push 0
call esi
push eax
push 0
push 0
mov eax, dword [0x4e2fdc]
push 0x80080000
nop
lea ecx, [eax + 0x3ac]
add eax, 0x32c
push ecx
push eax
push 0x40000
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x4e1c10], eax
test eax, eax
jne 0x4333d8
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x34]
push eax
push eax
push str.Error__ld___08Xh__in_CreateWindowEx____n
push ecx
call fcn.004bd200
lea ecx, [esp + 0x44]
add esp, 0x10
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x8c
ret
push str.IMM32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x43341f
push str.ImmAssociateContext
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push esi
test eax, eax
je 0x433419
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0
mov eax, dword [0x4e1c10]
push eax
call sub.IMM32.dll_ImmAssociateContext
test eax, eax
je 0x43341f
push eax
call sub.IMM32.dll_ImmDestroyContext
jmp 0x43341f
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 1
mov eax, dword [0x4e1c10]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x4e1c10]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0x8c
ret
Function at 0x436010
Capabilities:
Create directory

Disassembly:
sub esp, 0x38c
push ebx
push esi
mov ebx, dword [esp + 0x398]
push edi
push 0
push str.EditBox
mov ecx, dword [ebx + 0xc]
call fcn.00417ae0
lea ecx, [esp + 0xc]
push 0x10
push ecx
mov ecx, eax
call fcn.0041b700
lea eax, [esp + 0xc]
mov ecx, 0x4df418
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x436066
or dl, dl
je 0x436062
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x436066
add eax, 2
add ecx, 2
or dl, dl
jne 0x436046
xor eax, eax
jmp 0x43606b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4361f5
lea eax, [esp + 0xc]
mov edx, dword [0x4e2fdc]
push eax
mov ecx, dword [edx + 0x12c8]
call fcn.00449180
test eax, eax
je 0x4360ad
mov eax, dword [0x4e2fdc]
push 0
mov ecx, dword [eax + 0x610]
mov edx, dword [ecx + 0x78]
push edx
call fcn.00462a70
pop edi
pop esi
pop ebx
add esp, 0x38c
ret
lea eax, [esp + 0xc]
lea ecx, [esp + 0x8c]
push eax
push str.uiprofile
push 0x4df954
push ecx
call fcn.004bd200
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x1a0]
add esp, 0x10
push str.super
push ecx
push str.uiprofile
push str._s_s_s
push edx
call fcn.004bd200
lea ecx, [esp + 0x20]
lea edx, [esp + 0x2a8]
add esp, 0x14
push str.national
push ecx
push str.uiprofile
push str._s_s_s
push edx
call fcn.004bd200
lea ecx, [esp + 0xa0]
add esp, 0x14
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
nop
push 0
push ecx
call esi
test eax, eax
je 0x4361f5
lea eax, [esp + 0x190]
push 0
push eax
call esi
test eax, eax
je 0x4361f5
lea eax, [esp + 0x294]
push 0
push eax
call esi
test eax, eax
je 0x4361f5
mov ecx, dword [0x4e2fdc]
add ecx, 0x624
call fcn.004281b0
lea edi, [esp + 0xc]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
shr ecx, 2
mov esi, edi
mov edi, dword [0x4e2fdc]
add edi, 0x624
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x4e2fdc]
add ecx, 0x624
call fcn.00428f40
mov edx, dword [0x4e2fdc]
mov ecx, dword [edx + 0x12c8]
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [0x4e2fdc]
mov ecx, dword [edx + 0x1314]
call fcn.00460370
mov ecx, dword [0x4e2fdc]
add ecx, 0x624
call fcn.00428b90
mov ecx, dword [0x4e2fdc]
call fcn.00473460
push 0x1e
mov ecx, dword [ebx + 0xc]
call fcn.00419bc0
mov dword [ebx + 0x20], 1
pop edi
pop esi
pop ebx
add esp, 0x38c
ret
Function at 0x440800
Capabilities:
Print debug messages

Disassembly:
sub esp, 0xa4
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp], 0
mov dword [esp + 0x18], 0x1000
push ebx
push esi
push edi
push ebp
mov esi, dword [ecx + 0xc]
mov eax, dword [0x4e2fdc]
lea ebx, [esp + 0x28]
nop
mov edx, dword [eax + 4]
lea eax, [esp + 0x2c]
push eax
nop
mov ecx, dword [edx]
lea edx, [esp + 0x34]
push edx
push ebx
push ecx
mov eax, dword [ecx]
call dword [eax + 0x5c]
mov dword [esp + 0x14], 0
test esi, esi
je 0x44094e
xor edi, edi
mov eax, dword [esi + 0x1c]
cmp eax, edi
je 0x440943
mov eax, dword [esi + 0x38]
cmp eax, 0x20
jne 0x440891
mov ecx, dword [esp + 0x24]
mov edi, 6
inc ecx
mov dword [esp + 0x24], ecx
cmp eax, 0x40
jne 0x4408a2
mov ecx, dword [esp + 0x20]
or edi, 4
inc ecx
mov dword [esp + 0x20], ecx
cmp eax, 0x80
jne 0x4408b5
mov ecx, dword [esp + 0x1c]
or edi, 2
inc ecx
mov dword [esp + 0x1c], ecx
cmp eax, 0x100
jne 0x4408c0
inc dword [esp + 0x18]
xor ecx, ecx
mov edx, dword [esi + 0x40]
cmp edx, eax
mov eax, dword [esi + 0x44]
setl cl
or edi, ecx
push eax
call fcn.00461290
add esp, 4
dec eax
mov ecx, dword [esi + 0x38]
mov ebp, dword [esi + 0x3c]
mov edx, dword [esi + 0x40]
cmp eax, 1
sbb eax, eax
xor ebx, ebx
and eax, 8
or edi, eax
cmp ecx, edx
jl 0x440912
mov eax, ebp
imul eax, ecx
add ebx, eax
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
mov ecx, eax
mov eax, ebp
cdq
sub eax, edx
sar eax, 1
mov ebp, eax
mov eax, dword [esi + 0x40]
cmp ecx, eax
jge 0x4408f2
mov eax, dword [esi + 0x44]
push eax
call fcn.00461290
mov ecx, dword [esp + 0x18]
add esp, 4
imul eax, ebx
add ecx, eax
mov edx, dword [0x4e2fdc]
mov eax, dword [edx + 4]
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x14], ecx
add ebx, dword [eax + edi*4 + 0x364]
mov dword [esp + 0x10], ebx
mov esi, dword [esi + 0x10]
test esi, esi
jne 0x44086e
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
lea edx, [esp + 0x40]
push eax
push ecx
push str._nTexture_Memory_32x32___d__64x64___d__128x128___d__256x256___d__total___d__n
push edx
call fcn.004bd200
lea ecx, [esp + 0x50]
add esp, 0x1c
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
nop
push ecx
call esi
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x34]
push ecx
push eax
push str.Card_reports___totalTextureMemory___d__freeTextureMemory___d__n
push edx
call fcn.004bd200
lea ecx, [esp + 0x44]
add esp, 0x10
push ecx
call esi
mov ecx, dword [0x4e2fdc]
mov eax, dword [ecx + 4]
mov ebx, dword [esp + 0x10]
mov edx, dword [eax + 0x304]
mov eax, dword [eax + 0x310]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov eax, dword [eax + edx*4 + 0x18]
sub eax, ebx
push eax
push ebx
lea eax, [esp + 0x3c]
push str.Determined_Cost___d__DeterminedFree___d__n
push eax
call fcn.004bd200
lea eax, [esp + 0x44]
add esp, 0x10
push eax
call esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 0xa4
ret
Function at 0x4485c0
Capabilities:
Print debug messages

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
mov ebx, ecx
push edi
push ebp
cmp dword [ebx + 0x120], eax
jge 0x4485e6
push str.Trying_to_change_material_ID_that_doesnt_exist_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
ret 0xc
mov ecx, eax
mov edx, dword [ebx + 0x23c]
shl ecx, 5
sub ecx, eax
lea ebp, [ecx*4]
add edx, ebp
mov ecx, dword [edx + 0x58]
test ecx, ecx
jne 0x448617
push str.Trying_to_change_texture_on_material_that_has_no_texture
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
ret 0xc
mov edi, dword [esp + 0x18]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
shr ecx, 2
mov esi, edi
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c]
mov eax, dword [ebx + 0x23c]
push ecx
add eax, ebp
push eax
mov ecx, ebx
call fcn.004464a0
mov ecx, dword [ebx + 0x23c]
mov edx, dword [ecx + ebp + 0x40]
pop ebp
mov eax, dword [edx + 0xc]
pop edi
pop esi
mov ebx, dword [eax + 0x1c]
cmp ebx, 1
pop ebx
sbb eax, eax
inc eax
ret 0xc
Function at 0x4486a0
Capabilities:
Get disk information

Disassembly:
sub esp, 0x110
push ebx
push esi
push edi
push ebp
mov eax, dword [ecx]
mov ebp, ecx
test eax, eax
mov dword [ebp + 4], 0
je 0x4486c2
push eax
call fcn.004bd160
add esp, 4
push 0
mov edi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
push 0
call edi
lea esi, [eax*2]
push esi
call fcn.004be150
mov dword [esp + 0x14], eax
add esp, 4
test eax, eax
jne 0x4486f3
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x110
ret
mov eax, dword [esp + 0x10]
push eax
push esi
xor esi, esi
call edi
mov eax, dword [esp + 0x10]
cmp byte [eax], 0
je 0x448713
add esi, 4
mov eax, dword [esp + 0x10]
cmp byte [eax + esi], 0
jne 0x448706
mov eax, esi
shl eax, 5
add eax, esi
lea eax, [esi + eax*2]
shl eax, 2
push eax
call fcn.004bd170
add esp, 4
mov dword [ebp], eax
test eax, eax
jne 0x44873d
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x110
ret
xor ebx, ebx
mov eax, dword [esp + 0x10]
mov dword [ebp + 4], esi
mov dword [esp + 0x14], ebx
cmp byte [eax], bl
je 0x448849
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
movsx edx, byte [eax + ecx]
lea eax, [esp + 0x18]
push edx
push str._c:_
push eax
call fcn.004bd200
lea edi, [esp + 0x24]
add esp, 0xc
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
shr ecx, 2
mov esi, edi
mov edi, dword [ebp]
add edi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp]
add esi, ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov edx, 0x4e2eb4
mov dword [esi + 4], eax
mov eax, dword [ebp]
add eax, ebx
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x4487d0
or cl, cl
je 0x4487cc
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x4487d0
add eax, 2
add edx, 2
or cl, cl
jne 0x4487b0
xor eax, eax
jmp 0x4487d5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x448804
mov edi, 0x4e2eb4
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov eax, dword [ebp]
shr ecx, 2
mov esi, edi
lea edi, [eax + ebx + 8]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x448829
mov ecx, dword [ebp]
push 0x104
add ecx, ebx
lea edx, [esp + 0x20]
push edx
push 0
push 0
lea eax, [ecx + 8]
push 0
push 0x104
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
add ebx, 0x10c
mov eax, dword [esp + 0x14]
add eax, 4
mov edx, dword [esp + 0x10]
mov dword [esp + 0x14], eax
mov cl, byte [edx + eax]
test cl, cl
jne 0x448752
mov eax, dword [esp + 0x10]
push eax
call fcn.004be0e0
add esp, 4
mov eax, 1
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x110
ret
Function at 0x448980
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
lea eax, [ecx + 0x110]
mov dword [ecx], vtable.DirectoryList.0
push edi
mov ebx, ecx
push ebp
mov edi, 0x4df418
push eax
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push 0x104
call ebp
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
shr ecx, 2
mov esi, edi
lea edi, [ebx + 0xc]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor eax, eax
mov ecx, ebx
mov dword [ebx + 0x214], eax
mov dword [ebx + 4], eax
mov dword [ebx + 0x218], 1
mov dword [ebx + 8], eax
call fcn.00448ea0
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4491d0
Capabilities:
Delete file

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x104
add ecx, 0x110
nop
lea edx, [esp]
push ebx
push eax
push ecx
push 0x4df954
push edx
call fcn.004bd200
lea ecx, [esp + 0x14]
add esp, 0x10
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop ebx
add esp, 0x104
ret 4

Function at 0x449210
Capabilities:
Delete directory
Delete file

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x449332
push eax
mov dword fs:[0], esp
sub esp, 0x10c
mov dword [ebp - 0x14], ecx
nop
push ebx
push esi
push edi
push 0x21c
mov edi, 0
call fcn.004bd170
mov dword [ebp - 0x10], eax
add esp, 4
mov dword [ebp - 4], 0
mov esi, eax
test esi, esi
je 0x449260
mov ecx, esi
call fcn.00448980
mov edi, eax
mov dword [ebp - 4], 0xffffffff
test edi, edi
jne 0x449280
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp + 8]
mov ecx, edi
push eax
call fcn.00448a10
push 1
mov ecx, edi
push 0x4e2098
xor esi, esi
call fcn.00448a40
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 4]
cmp dword [edi + 4], esi
jle 0x449302
xor ebx, ebx
mov eax, dword [edi + 0x214]
mov ecx, dword [ebp + 8]
add eax, ebx
lea edx, [ebp - 0x118]
push eax
push ecx
push 0x4df954
push edx
call fcn.004bd200
add esp, 0x10
mov ecx, dword [edi + 0x214]
mov eax, dword [ecx + ebx + 0x104]
test al, 0x10
lea eax, [ebp - 0x118]
push eax
je 0x4492ec
mov ecx, dword [ebp - 0x14]
call fcn.00449210
jmp 0x4492f6
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x44931d
add ebx, 0x10c
inc esi
cmp dword [edi + 4], esi
jg 0x4492a9
test edi, edi
je 0x44930e
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
jmp 0x44926d
test edi, edi
je 0x44926b
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
jmp 0x44926b
Function at 0x449b50
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x20c
lea eax, [esp + 4]
push ebx
mov ecx, dword [esp + 0x214]
push esi
push edi
xor esi, esi
push ebp
push eax
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x449c75
mov edi, dword [esp + 0x22c]
mov eax, dword [esp + 0x230]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
mov ebx, dword [esp + 0x228]
push eax
mov ecx, dword [esp + 0x18]
push edi
push esi
mov byte [edi], 0
push esi
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x449bba
mov esi, 1
jmp 0x449c6a
lea eax, [esp + 0x1c]
push str.SystemCurrentControlSetServicesClass_
push eax
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcpyA]
call ebp
lea ecx, [esp + 0x10]
lea eax, [esp + 0x44]
mov edx, dword [esp + 0x14]
push ecx
mov dword [esp + 0x14], 0x1d7
push eax
push 0
push 0
push str.Driver
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebp, dword [esp + 0x224]
test ebp, ebp
je 0x449c19
lea eax, [esp + 0x1c]
push 0x4e19ac
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x1c]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x18]
lea ecx, [esp + 0x1c]
push eax
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x449c6a
mov eax, dword [esp + 0x230]
mov byte [edi], 0
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
mov ecx, dword [esp + 0x18]
push eax
push edi
push 0
push 0
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x449c5f
mov esi, 1
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x20c
ret
Function at 0x449c90
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x210
lea eax, [esp]
push ebx
push esi
push edi
push ebp
push eax
push str.Config_ManagerEnum
push 0x80000006
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x449cc0
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x210
ret
xor edi, edi
push 0x200
lea eax, [esp + 0x24]
mov ecx, dword [esp + 0x14]
push eax
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x449de3
mov esi, dword [esp + 0x224]
mov ebx, dword [esp + 0x228]
mov ebp, dword [esp + 0x22c]
lea eax, [esp + 0x18]
lea ecx, [esp + 0x20]
mov edx, dword [esp + 0x10]
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x449dc4
push str.Enum_
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 0x14]
lea ecx, [ebp + 5]
mov edx, dword [esp + 0x18]
push eax
mov dword [esp + 0x18], 0x1fa
push ecx
push 0
push 0
push str.HardwareKey
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x1c]
mov eax, dword [esp + 0x18]
push ecx
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], 4
push edx
push 0
push 0
push str.Problem
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x230]
test ecx, ecx
jne 0x449d8f
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x449dc4
test ebx, ebx
je 0x449dbd
lea eax, [esp + 0x20]
push 0x200
push eax
push str.Class
push 0
push ebp
call fcn.00449b50
lea eax, [esp + 0x34]
add esp, 0x14
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x449dc4
mov eax, esi
dec esi
test eax, eax
je 0x449dfb
inc edi
push 0x200
lea eax, [esp + 0x24]
mov ecx, dword [esp + 0x14]
push eax
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x449cf5
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x210
ret
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x210
ret
Function at 0x44a000
Capabilities:
Get file version info

Disassembly:
sub esp, 0x408
push ebx
push esi
mov esi, dword [esp + 0x414]
push edi
test esi, esi
jne 0x44a02a
lea esi, [esp + 0x14]
push 0x400
lea eax, [esp + 0x18]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0
push esi
call fcn.004bc81a
mov dword [esp + 0xc], eax
test eax, eax
jne 0x44a046
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x408
ret
mov eax, dword [esp + 0xc]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
test edi, edi
jne 0x44a065
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x408
ret
mov eax, dword [esp + 0xc]
push edi
push eax
push 0
push esi
call fcn.004bc814
test eax, eax
jne 0x44a08a
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x408
ret
lea eax, [esp + 0xc]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0x4e19ac
push edi
call fcn.004bc80e
test eax, eax
jne 0x44a0b6
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x408
ret
mov esi, dword [esp + 0x41c]
test esi, esi
je 0x44a0ca
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 8]
mov dword [esi], ecx
mov ecx, dword [esp + 0x420]
test ecx, ecx
je 0x44a0de
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0xc]
mov dword [ecx], edx
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [esi]
pop edi
pop esi
pop ebx
add esp, 0x408
ret
Function at 0x44c4b0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
sub esp, 8
mov ecx, dword [esp + 0xc]
push ebx
mov edx, dword [esp + 0x1c]
push esi
mov dword [esp + 8], eax
push edi
mov dword [esp + 0x10], ecx
push ebp
test edx, edx
jle 0x44c523
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
test ecx, ecx
jle 0x44c502
mov di, word [ebx]
add eax, 2
mov si, di
add ebx, 2
shr si, 1
mov bp, si
xor bp, di
and bp, 0x1f
xor bp, si
dec ecx
mov word [eax - 2], bp
jne 0x44c4df
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
dec edx
lea ecx, [ecx + eax*2]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x10], ecx
lea ebx, [ebx + eax*2]
mov dword [esp + 0x14], ebx
jne 0x44c4cf
mov eax, 1
pop ebp
pop edi
pop esi
pop ebx
add esp, 8
ret
Function at 0x460640
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x100
mov ecx, eax
shl ecx, 0x10
push ebx
push esi
cmp eax, 0x80
push edi
jle 0x460665
or ecx, 0x1000000
and ecx, 0xff7fffff
lea eax, [esp + 0xc]
push pe_nt_image_headers32
push eax
push ecx
call dword [sym.imp.USER32.dll_GetKeyNameTextA]
test eax, eax
jne 0x4606af
mov edi, str.Unknown
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
shr ecx, 2
mov esi, edi
mov edi, dword [esp + 0x114]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x100
ret
lea eax, [esp + 0x8c]
mov ecx, dword [0x4e2fdc]
push eax
push 0xbde
call fcn.004733a0
lea eax, [esp + 0xc]
lea ecx, [esp + 0x8c]
mov edi, dword [esp + 0x114]
push eax
push ecx
push 0x4e1040
push edi
call fcn.004bd200
add esp, 0x10
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0x100
ret
Function at 0x4623a0
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x30c
push ebx
push esi
mov esi, dword [esp + 0x318]
push edi
test esi, esi
jne 0x4623bb
xor eax, eax
jmp 0x462452
mov edi, dword [esp + 0x320]
lea eax, [esp + 0xc]
push edi
push str.audio
push 0x4df954
push eax
call fcn.004bd200
lea eax, [esp + 0x120]
lea ecx, [esp + 0x1c]
add esp, 0x10
push eax
push ecx
mov ecx, dword [0x4e2fdc]
add ecx, 0x624
call fcn.00429340
test eax, eax
je 0x462425
mov eax, dword [esp + 0x328]
push 0xffffffffffffffff
mov ecx, dword [esp + 0x328]
push 0
lea edx, [esp + 0x118]
push eax
push ecx
push 0
push edx
mov ecx, esi
call fcn.00402550
test eax, eax
jne 0x46244d
lea eax, [esp + 0x214]
push edi
push str._s_load_fail_n
push eax
call fcn.004bd200
lea eax, [esp + 0x220]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
jmp 0x462452
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0x30c
ret 0x10
Function at 0x4673f0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x110
mov dword [esp + 8], 4
push ebx
push esi
mov ebx, dword [esp + 0x11c]
push edi
push ebp
mov edi, ecx
push 0x5c
add edi, 0x574
push ebx
call fcn.004bf700
add esp, 8
mov ebp, eax
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
shr ecx, 2
mov esi, edi
lea edi, [esp + 0x20]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
test ebp, ebp
je 0x4674b9
mov edi, 0x4e19ac
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov ecx, 0xffffffff
lea edi, [esp + 0x20]
sub eax, eax
repne scasb al, byte es:[edi]
dec edi
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebx
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov ecx, 0xffffffff
lea edi, [esp + 0x20]
sub eax, eax
repne scasb al, byte es:[edi]
dec edi
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push 0x5c
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x24]
lea ebx, [ebp + 1]
push eax
call fcn.004bf700
add esp, 8
mov byte [eax], 0
lea eax, [esp + 0x10]
lea ecx, [esp + 0x20]
push eax
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push 0x20019
push 0
push ecx
push 0x80000002
call ebp
test eax, eax
jne 0x467505
lea eax, [esp + 0x18]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x14]
push ecx
push edx
push 0
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x467505
mov eax, dword [esp + 0x1c]
cmp eax, 4
je 0x467510
mov eax, dword [esp + 0x128]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x14]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x110
ret 8