joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401690
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x444
push esi
mov esi, ecx
mov ecx, dword [esp + 0x450]
lea eax, [esp + 0x144]
push edi
push eax
push 0
push ecx
call fcn.00401bb0
add esp, 0xc
lea edx, [esp + 0x148]
lea eax, [esp + 0x44]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [esp + 0x44]
push 0x4062cc
push ecx
call edi
lea edx, [esp + 0x44]
push str.Launcher2.exe
push edx
call edi
mov eax, dword [esp + 0x450]
lea edx, [esp + 8]
add esi, 0x18
lea ecx, [esp + 0x148]
push edx
mov dword [esp + 0xc], 0x3c
mov dword [esp + 0x10], 0x540
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], str.open
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x40177c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x354]
push str.ShellExecuteEx__s__failed:_LastErr_lu
push ecx
call fcn.00401000
add esp, 0x10
mov ecx, 0x40
mov esi, eax
lea edi, [esp + 0x24c]
lea edx, [esp + 0x24c]
push 0x4048e8
rep movsd dword es:[edi], dword [esi]
push edx
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
add esp, 0x444
ret 8

Function at 0x4017a0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x23c
xor eax, eax
push esi
mov esi, dword [esp + 0x244]
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x248]
lea ecx, [esp + 4]
mov dword [esp + 4], 0x3c
push ecx
mov dword [esp + 0xc], pe_nt_image_headers32
mov dword [esp + 0x14], str.open
mov dword [esp + 0x18], esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x401831
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
lea edx, [esp + 0x14c]
push str.ShellExecuteEx__s__failed:_LastErr_lu
push edx
call fcn.00401000
add esp, 0x10
mov esi, eax
mov ecx, 0x40
lea edi, [esp + 0x44]
lea eax, [esp + 0x44]
push 0x4048e8
rep movsd dword es:[edi], dword [esi]
push eax
call sub.MSVCRT.dll__CxxThrowException
pop edi
pop esi
add esp, 0x23c
ret 8
Function at 0x401840
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push 0xffffffffffffffff
push 0x40353b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x668
mov al, byte [0x406660]
push esi
mov esi, dword [esp + 0x67c]
push edi
mov byte [esp + 0x60], al
mov ecx, 0x83
xor eax, eax
lea edi, [esp + 0x61]
rep stosd dword es:[edi], eax
mov ecx, esi
call fcn.00402ab0
test al, al
jne 0x4018c4
mov ecx, dword [esp + 0x684]
lea edx, [esp + 0x570]
push ecx
push str.OpenHTMLFileByCreateProcess__s__failed:_AssociatedProgram_does_not_exists
push edx
call fcn.00401000
add esp, 0xc
mov esi, eax
mov ecx, 0x40
lea edi, [esp + 0x270]
lea eax, [esp + 0x270]
push 0x4048e8
rep movsd dword es:[edi], dword [esi]
push eax
call sub.MSVCRT.dll__CxxThrowException
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_1
push esi
lea ecx, [esp + 0xc]
mov dword [esp + 0x67c], 0
call sub.MFC42.DLL_CString::operator
push 2
lea ecx, [esp + 0x64]
push 0x4062fc
push ecx
call dword [sym.imp.MSVCRT.dll__mbsnbcpy]
mov eax, dword [esp + 0x14]
mov esi, dword [sym.imp.MSVCRT.dll__mbsnbcat]
lea edx, [esp + 0x6c]
mov ecx, dword [eax - 8]
inc ecx
push ecx
push eax
push edx
call esi
push 2
lea eax, [esp + 0x7c]
push 0x4062fc
push eax
call esi
push 2
lea ecx, [esp + 0x88]
push 0x4062f8
push ecx
call esi
push 2
lea edx, [esp + 0x94]
push 0x4062fc
push edx
call esi
mov edx, dword [esp + 0x6c0]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
lea eax, [esp + 0xa0]
push edx
push eax
call esi
add esp, 0x48
lea ecx, [esp + 0x60]
push 2
push 0x4062fc
push ecx
call esi
xor edx, edx
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x28]
mov dword [esp + 0x18], edx
add esp, 0xc
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], edx
lea eax, [esp + 0xc]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], edx
push eax
push ecx
push edx
push edx
push 0x20
push edx
push edx
mov dword [esp + 0x34], edx
push edx
lea edx, [esp + 0x80]
push edx
push 0
mov dword [esp + 0x44], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x4019fc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x478]
push str.CreateProcess__s__failed:_LastErr_lu
push ecx
call fcn.00401000
add esp, 0x10
mov ecx, 0x40
mov esi, eax
lea edi, [esp + 0x370]
lea edx, [esp + 0x370]
push 0x4048e8
rep movsd dword es:[edi], dword [esi]
push edx
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [esp + 0x10]
push ecx
call esi
lea ecx, [esp + 8]
mov dword [esp + 0x678], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x670]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x674
ret 8

Function at 0x401e50
Capabilities:
Read .ini file

Disassembly:
add ecx, 0x98
push ecx
push 0
push str.IsSupported9x
push str.SupportedOS
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
neg eax
sbb eax, eax
neg eax
ret
Function at 0x401eb0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x18
add ecx, 0x98
lea eax, [esp + 8]
push esi
push ecx
mov ecx, dword [esp + 0x24]
push 0x10
push eax
push 0x406660
push ecx
push str.SupportedOS
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [esp + 0xc]
lea ecx, [esp + 0x20]
push edx
call fcn.00402ff4
mov eax, dword [esp + 0x20]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x401f02
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString
xor al, al
pop esi
add esp, 0x18
ret 0xc
push 0x2e
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::Find
mov esi, eax
test esi, esi
jg 0x401f25
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString
xor al, al
pop esi
add esp, 0x18
ret 0xc
lea ecx, [esi + 1]
push ecx
push 0x2e
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::Find_1
cmp eax, 0xffffffff
je 0x401f4b
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString
xor al, al
pop esi
add esp, 0x18
ret 0xc
mov edx, dword [esp + 0x20]
mov eax, dword [edx - 8]
dec eax
cmp esi, eax
jne 0x401f69
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString
xor al, al
pop esi
add esp, 0x18
ret 0xc
push edi
lea ecx, [esp + 0xc]
push esi
push ecx
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::Left
mov edx, dword [esp + 0xc]
mov edi, dword [sym.imp.MSVCRT.dll_atoi]
push edx
call edi
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
add esp, 4
mov dword [ecx], eax
mov eax, dword [edx - 8]
sub eax, esi
lea ecx, [esp + 8]
dec eax
push eax
push ecx
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::Right
mov edx, dword [esp + 8]
push edx
call edi
mov ecx, dword [esp + 0x30]
add esp, 4
mov dword [ecx], eax
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString
pop edi
mov al, 1
pop esi
add esp, 0x18
ret 0xc
Function at 0x402c60
Capabilities:
Get file version info

Disassembly:
sub esp, 0x20
push ebx
mov ebx, dword [esp + 0x28]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
xor edi, edi
push eax
push ebx
mov dword [esp + 0x18], edi
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
cmp esi, edi
je 0x402d39
mov ebp, 0x4047e0
push esi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], edi
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x20], eax
push esi
push eax
call fcn.00402f50
mov eax, dword [esp + 0x20]
mov dword [esp + 0x28], esi
push eax
push esi
push edi
push ebx
mov dword [esp + 0x34], esi
mov dword [esp + 0x44], eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x402ced
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x18]
lea edx, [esp + 0x14]
push ecx
push edx
push 0x4062cc
push eax
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x402cfb
mov eax, dword [esp + 0x20]
mov dword [esp + 0x1c], ebp
cmp eax, edi
je 0x402d39
jmp 0x402d30
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
mov edx, dword [ecx + 0x10]
mov dword [esp + 0x1c], ebp
shr edx, 0x10
cmp dx, 8
jne 0x402d2c
cmp eax, edi
je 0x402d20
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x20
ret 4
cmp eax, edi
je 0x402d39
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x20
ret 4
Function at 0x401325
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 0x100
push 1
mov ebx, 0x184
call fcn.00456020
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40136a
push ebx
call fcn.00455843
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push 0x100
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
nop
nop
cmp dword [ebp - 8], esp
je 0x40139f
push 0x36
push 0x4057793
push 6
call fcn.00455849
add esp, 0xc
push 0xa0000101
push 0
push 0x47c328
push 1
mov ebx, 0x168
call fcn.004560d0
add esp, 0x10
mov dword [ebp - 8], eax
push dword [ebp - 8]
push dword [ebp - 4]
mov ecx, 2
call fcn.004012c9
add esp, 8
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4013e6
push ebx
call fcn.00455843
add esp, 4
mov eax, dword [ebp - 0xc]
jmp 0x4013ee
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4013ff
push ebx
call fcn.00455843
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret

Function at 0x401404
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 0x100
push 1
mov ebx, 0x184
call fcn.00456020
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x401449
push ebx
call fcn.00455843
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push 0xff
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
nop
nop
cmp dword [ebp - 8], esp
je 0x40147e
push 0x36
push 0x4057794
push 6
call fcn.00455849
add esp, 0xc
push 0xa0000101
push 0
push 0x47c328
push 1
mov ebx, 0x168
call fcn.004560d0
add esp, 0x10
mov dword [ebp - 8], eax
push dword [ebp - 8]
push dword [ebp - 4]
mov ecx, 2
call fcn.004012c9
add esp, 8
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4014c5
push ebx
call fcn.00455843
add esp, 4
mov eax, dword [ebp - 0xc]
jmp 0x4014cd
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4014de
push ebx
call fcn.00455843
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret

Function at 0x401895
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
leave
ret

Function at 0x401e6f
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
movzx eax, byte [eax + 2]
leave
ret

Function at 0x409390
Capabilities:
Access peb ldr_data
Resolve function by hash

Disassembly:
push ebp
mov ebp, esp
jmp 0x4093a9
nop
cld
xor edx, edx
mov edx, dword fs:[edx + 0x30]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
mov esi, dword [edx + 0x28]
push 0x18
pop ecx
xor edi, edi
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x4093c8
sub al, 0x20
ror edi, 0xd
add edi, eax
loop 0x4093bf
cmp edi, 0x6a4abc5b
mov ebx, dword [edx + 0x10]
mov edx, dword [edx]
jne 0x4093b7
mov eax, ebx
leave
ret
Function at 0x40940a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 4
mov esp, ebp
pop ebp
jmp 0x40942c
nop
pop edx
pop eax
pop ecx
push edx
pushal
mov ebx, eax
mov edi, ecx
xor al, al
scasb al, byte es:[edi]
jne 0x409438
dec edi
sub edi, ecx
xchg ecx, edi
mov eax, dword [ebx + 0x3c]
mov esi, dword [ebx + eax + 0x78]
lea esi, [esi + ebx + 0x18]
lodsd eax, dword [esi]
xchg edx, eax
lodsd eax, dword [esi]
push eax
lodsd eax, dword [esi]
xchg ebp, eax
lodsd eax, dword [esi]
xchg ebp, eax
add eax, ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ecx
dec edx
je 0x409487
mov esi, dword [eax + edx*4]
add esi, ebx
repe cmpsb byte [esi], byte es:[edi]
je 0x409473
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
jmp 0x40945d
shl edx, 1
add ebp, edx
movzx eax, word [ebp + ebx]
shl eax, 2
add eax, dword [esp]
mov eax, dword [ebx + eax]
add eax, ebx
pop ecx
mov dword [esp + 0x1c], eax
popal
ret

Function at 0x40d6c1
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 1
mov eax, str.SeDebugPrivilege
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 1
push dword [ebp + 8]
call fcn.0040d703
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40d6f5
push ebx
call fcn.00455843
add esp, 4
mov eax, dword [ebp - 8]
jmp 0x40d6fd
mov esp, ebp
pop ebp
ret 8
Function at 0x4136e9
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], esp
push 0
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x413733
push 0x19
push 0x40596e1
push 6
call fcn.00455849
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jle 0x4137ca
fild dword [ebp - 4]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fmul qword [0x47c37d]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
call fcn.004018b4
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x1bc
call fcn.00459640
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41378b
push ebx
call fcn.00455843
add esp, 4
pop eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.00412f26
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push dword [ebp - 0xc]
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x4137ca
push 0xda
push 0x40596e1
push 6
call fcn.00455849
add esp, 0xc
mov eax, dword [ebp - 8]
test eax, eax
je 0x4137e4
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.0045583d
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x4137e9
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4137fa
push ebx
call fcn.00455843
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x416baa
Capabilities:
Access peb ldr_data
Resolve function by hash

Disassembly:
push ebp
mov ebp, esp
jmp 0x416bc3
nop
cld
xor edx, edx
mov edx, dword fs:[edx + 0x30]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
mov esi, dword [edx + 0x28]
push 0x18
pop ecx
xor edi, edi
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x416be2
sub al, 0x20
ror edi, 0xd
add edi, eax
loop 0x416bd9
cmp edi, 0x6a4abc5b
mov ebx, dword [edx + 0x10]
mov edx, dword [edx]
jne 0x416bd1
mov eax, ebx
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 4
mov esp, ebp
pop ebp
jmp 0x416c46
nop
pop edx
pop eax
pop ecx
push edx
pushal
mov ebx, eax
mov edi, ecx
xor al, al
scasb al, byte es:[edi]
jne 0x416c52
dec edi
sub edi, ecx
xchg ecx, edi
mov eax, dword [ebx + 0x3c]
mov esi, dword [ebx + eax + 0x78]
lea esi, [esi + ebx + 0x18]
lodsd eax, dword [esi]
xchg edx, eax
lodsd eax, dword [esi]
push eax
lodsd eax, dword [esi]
xchg ebp, eax
lodsd eax, dword [esi]
xchg ebp, eax
add eax, ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ecx
dec edx
je 0x416ca1
mov esi, dword [eax + edx*4]
add esi, ebx
repe cmpsb byte [esi], byte es:[edi]
je 0x416c8d
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
jmp 0x416c77
shl edx, 1
add ebp, edx
movzx eax, word [ebp + ebx]
shl eax, 2
add eax, dword [esp]
mov eax, dword [ebx + eax]
add eax, ebx
pop ecx
mov dword [esp + 0x1c], eax
popal
ret
Function at 0x41cc95
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], esp
push 0x11
xor eax, eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
nop
cmp dword [ebp - 8], esp
je 0x41ccda
push 0x59
push 0x4051c06
push 6
call fcn.00455849
add esp, 0xc
mov dword [ebp - 0xc], eax
push 0x80000301
push 0
push 0x8000
push 0x80000301
push 0
push dword [ebp - 0xc]
push 2
mov ebx, 0xc4
call fcn.00459680
add esp, 0x1c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x41cd3d
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0xc8
call fcn.004571f0
add esp, 0x1c
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push 0x10
xor eax, eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
nop
cmp dword [ebp - 8], esp
je 0x41cd6b
push 0xfb
push 0x4051c06
push 6
call fcn.00455849
add esp, 0xc
mov dword [ebp - 0xc], eax
push 0x80000301
push 0
push 0x8000
push 0x80000301
push 0
push dword [ebp - 0xc]
push 2
mov ebx, 0xc4
call fcn.00459680
add esp, 0x1c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x41cdce
push 0x80000301
push 0
push 2
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0xc8
call fcn.004571f0
add esp, 0x1c
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push 0x12
xor eax, eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
nop
cmp dword [ebp - 8], esp
je 0x41cdfc
push 0x19d
push 0x4051c06
push 6
call fcn.00455849
add esp, 0xc
mov dword [ebp - 0xc], eax
push 0x80000301
push 0
push 0x8000
push 0x80000301
push 0
push dword [ebp - 0xc]
push 2
mov ebx, 0xc4
call fcn.00459680
add esp, 0x1c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x41ce5f
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0xc8
call fcn.004571f0
add esp, 0x1c
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x41ce67
mov esp, ebp
pop ebp
ret
Function at 0x427a33
Capabilities:
Reference the vmware io port

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
mov eax, 0x564d5868
mov ebx, 0
mov ecx, 0xa
mov edx, 0x5658
in eax, dx
cmp ebx, 0x564d5868
sete byte [ebp - 4]
mov eax, dword [ebp - 4]
jmp 0x427a6a
mov esp, ebp
pop ebp
ret
Function at 0x456410
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x14
mov eax, dword [esp + 0x1c]
push ebp
push esi
push edi
push eax
call fcn.0045b0f0
mov edi, dword [esp + 0x38]
xor esi, esi
push edi
mov ebp, eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x14], esi
call dword [0x5a2624]
add esp, 8
cmp ebp, esi
je 0x4564f0
cmp eax, esi
je 0x4564f0
inc eax
push ebx
push eax
call fcn.0046b53a
mov ebx, eax
or ecx, 0xffffffff
xor eax, eax
push 0x5c
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.004600a0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x456486
mov byte [esi], 0
inc esi
lea eax, [esp + 0x18]
push eax
push ebx
push ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x4564de
lea ecx, [esp + 0x20]
lea edx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x18]
push edx
push eax
push 0
mov edi, 4
push esi
push ecx
mov dword [esp + 0x38], edi
mov dword [esp + 0x2c], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4564d3
cmp dword [esp + 0x14], edi
jne 0x4564d3
mov dword [esp + 0x1c], 1
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
call fcn.0046b563
mov eax, dword [esp + 0x20]
add esp, 4
test eax, eax
pop ebx
jne 0x4564fc
mov eax, dword [esp + 0x48]
test eax, eax
mov eax, dword [esp + 0x40]
jne 0x456500
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebp
add esp, 0x14
ret
Function at 0x456510
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x18]
push ebx
push ebp
push esi
push edi
push eax
call fcn.0045b0f0
mov edi, dword [esp + 0x38]
xor ebp, ebp
push edi
mov ebx, eax
mov dword [esp + 0x18], ebp
call dword [0x5a2624]
add esp, 8
test ebx, ebx
je 0x456654
test eax, eax
je 0x456654
inc eax
push eax
call fcn.0046b53a
mov ebp, eax
or ecx, 0xffffffff
xor eax, eax
push 0x5c
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebp
mov edx, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.004600a0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x456582
mov byte [edi], 0
inc edi
lea eax, [esp + 0x1c]
push eax
push ebp
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x456641
push 0x400
mov dword [esp + 0x18], 0x400
mov dword [esp + 0x1c], 1
call fcn.0046b53a
add esp, 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x14]
mov esi, eax
mov eax, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push esi
push edx
push 0
push edi
push eax
call ebx
test eax, eax
je 0x45660a
cmp eax, 0xea
jne 0x45662d
push esi
call fcn.0046b563
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0046b53a
mov ecx, dword [esp + 0x24]
add esp, 8
lea edx, [esp + 0x14]
mov esi, eax
push edx
lea eax, [esp + 0x1c]
push esi
push eax
push 0
push edi
push ecx
call ebx
test eax, eax
jne 0x4565d5
mov eax, dword [esp + 0x18]
cmp eax, 1
je 0x456618
cmp eax, 2
jne 0x45662d
push esi
call dword [0x5a2624]
push eax
push esi
call fcn.0045b140
add esp, 0xc
mov dword [esp + 0x10], eax
push esi
call fcn.0046b563
mov edx, dword [esp + 0x20]
add esp, 4
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebp
call fcn.0046b563
mov eax, dword [esp + 0x14]
add esp, 4
test eax, eax
jne 0x45667d
mov ebp, eax
mov eax, dword [esp + 0x48]
test eax, eax
je 0x456689
mov esi, dword [esp + 0x40]
test esi, esi
je 0x456689
push esi
call dword [0x5a2624]
push eax
push esi
call fcn.0045b140
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x10
ret