joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49a6b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4ad0d7
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x4c75d0]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov esi, dword [esp + 0x18]
xor eax, eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x30], eax
mov dword [esp + 0x10], eax
mov dword [esi + 0x38], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x2c], ecx
mov ecx, esi
mov dword [esi], vtable.CFunctionEditor.0
mov dword [esi + 0x10], 8
mov dword [esi + 0x28], edx
mov dword [esi + 0x20], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x70], eax
mov dword [esi + 0x68], eax
mov dword [esi + 0x78], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x54], eax
call fcn.0049a5b0
mov eax, esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 8

Function at 0x49c140
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4acb18
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x4c75d0]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov esi, dword [esp + 0x18]
xor eax, eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x30], eax
mov dword [esp + 0x10], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x34], ecx
mov ecx, esi
mov dword [esi], vtable.CFlagEditor.0
mov dword [esi + 0x10], 6
mov dword [esi + 0x28], edx
mov dword [esi + 0x2c], eax
call fcn.0049be40
mov eax, esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 8

Function at 0x49c800
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x130
mov eax, dword [0x4c75d0]
xor eax, esp
mov dword [esp + 0x12c], eax
mov eax, dword [esp + 0x134]
cmp dword [esi + 0x30], eax
je 0x49c87a
mov ecx, dword [esi + 4]
mov dword [esi + 0x30], eax
push 0x12c
lea eax, [esp + 4]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp dword [esi + 0x30], 1
mov ecx, esi
jne 0x49c865
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov byte [esp], 0x2a
call eax
lea edx, [eax + 0x20]
mov eax, 0x12b
lea ecx, [esp + 1]
call fcn.004a0810
mov edx, dword [esi + 4]
lea ecx, [esp]
push ecx
push edx
jmp 0x49c874
mov eax, dword [esi]
mov edx, dword [eax + 4]
call edx
add eax, 0x20
push eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov ecx, dword [esp + 0x12c]
xor ecx, esp
call fcn.0042dbe7
add esp, 0x130
ret 4
Function at 0x49dd40
Capabilities:
Create thread

Disassembly:
push ecx
push 0
push 0
push 1
push 0
mov dword [esp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [0x4ee130], eax
lea eax, [esp]
push eax
push 0
push 0x4ee138
push 0x49da60
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp dword [0x4ee130], 0
mov dword [0x4ee134], eax
je 0x49dd8f
test eax, eax
je 0x49dd8f
mov eax, 1
pop ecx
ret
xor eax, eax
pop ecx
ret

Function at 0x49f040
Capabilities:
Create directory
Get common file path

Disassembly:
push ecx
push edi
push esi
push 0
push 0
push 5
push 0
mov byte [esi], 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
push str.TunerPro_Files_
push esi
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea edi, [esp + 4]
mov ecx, 0x104
mov edx, esi
call fcn.0049ee50
pop edi
test eax, eax
js 0x49f097
mov ecx, dword [esp]
mov eax, 0x104
sub eax, ecx
add ecx, esi
mov edx, str.TPSPMSettings.dat
add esp, 4
jmp fcn.0049ec80
pop ecx
ret
Function at 0x49ff40
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x54
push ebx
push esi
push edi
lea eax, [esp + 0x58]
push eax
mov esi, 1
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov edi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea ecx, [esp + 0x10]
push ecx
call edi
fild qword [esp + 0x10]
fild qword [esp + 0x58]
mov eax, dword [0x4ed708]
xor ebx, ebx
mov dword [esp + 0x40], ebx
fdivp st(1)
mov dword [esp + 0x44], ebx
fst qword [esp + 0x20]
fst qword [esp + 0x30]
fldz
fstp qword [esp + 0x38]
fst qword [esp + 0x28]
fstp qword [esp + 0x48]
fldz
fstp dword [esp + 0x50]
cmp dword [0x4ed6fc], ebx
jne 0x49ffb6
cmp eax, ebx
jne 0x49ffb6
cmp dword [0x4ed704], ebx
je 0x4a0042
cmp dword [ebp + 8], ebx
je 0x4a0036
cmp eax, ebx
jne 0x4a0036
mov dword [0x4ed704], esi
cmp dword [ebp + 0xc], ebx
jbe 0x4a0042
lea edx, [esp + 0x10]
push edx
call edi
fild qword [esp + 0x10]
fild qword [esp + 0x58]
mov dword [esp + 0x40], ebx
fdivp st(1)
fst qword [esp + 0x30]
fstp qword [esp + 0x28]
fldz
fstp qword [esp + 0x38]
lea ecx, [ecx]
cmp dword [0x4ed708], esi
je 0x4a002c
lea eax, [esp + 0x18]
push eax
call edi
fild qword [esp + 0x18]
fild qword [esp + 0x58]
mov ecx, dword [ebp + 0xc]
fdivp st(1)
fsub qword [esp + 0x30]
fmul qword [0x4bf198]
fild dword [ebp + 0xc]
test ecx, ecx
jns 0x4a0023
fadd qword [0x4bf148]
fcompp
fnstsw ax
test ah, 0x41
je 0x49fff0
mov esi, dword [0x4ed708]
cmp esi, ebx
jne 0x4a0042
mov dword [0x4ed708], ebx
mov dword [0x4ed704], ebx
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4a0420
Capabilities:
Create thread

Disassembly:
push ecx
lea eax, [esp]
push eax
push 0
push ecx
push 0x4a0250
push 0
push 0
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ecx
ret
Function at 0x4a26c0
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
push 0xffffffffffffffff
push 0x4ad31e
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4c75d0]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
push esi
mov eax, dword [0x4c75d0]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
xor ebx, ebx
mov esi, ecx
mov dword [esp + 0x24], esi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
push edi
mov dword [esp + 0x44], ebx
call fcn.0042dbdc
mov ebp, eax
add esp, 4
cmp ebp, ebx
je 0x4a2834
push edi
push esi
push ebp
call fcn.0042e036
mov eax, dword [0x4bcef4]
mov ecx, dword [0x4bcef8]
mov edx, dword [0x4bcefc]
add esp, 0xc
lea esi, [esp + 0x14]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
call fcn.004742b0
test eax, eax
js 0x4a279b
push ebx
push 1
push 0x4b99f8
mov eax, esi
mov esi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
push 0x4b99bc
push eax
call esi
test eax, eax
jne 0x4a279b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80090016
jne 0x4a279b
push 8
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push 0x4b99bc
lea ecx, [esp + 0x24]
push ecx
call esi
test eax, eax
je 0x4a27e3
mov ecx, 0xc
lea esi, [esp + 0x28]
call fcn.004741e0
mov edx, esi
push edx
push edi
push ebp
lea ecx, [esp + 0x20]
call fcn.00474570
test eax, eax
js 0x4a27e3
mov ecx, dword [ebp]
mov eax, 4
cmp edi, eax
jbe 0x4a27d7
movzx edx, byte [eax + ebp]
imul edx, eax
inc eax
lea ebx, [ebx + edx + 3]
cmp eax, edi
jb 0x4a27c7
cmp ebx, ecx
je 0x4a2818
mov dword [esp + 0x10], 2
push ebp
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
lea esi, [esp + 0x14]
call fcn.004742b0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.0042dbe7
add esp, 0x34
ret
mov esi, dword [esp + 0x24]
lea eax, [edi - 4]
push eax
lea ecx, [ebp + 4]
push ecx
push esi
call fcn.0042e036
add esp, 0xc
mov byte [esi + edi - 4], 0
jmp 0x4a27e3
mov dword [esp + 0x10], 1
jmp 0x4a27ed
Function at 0x4a3670
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0x120
mov eax, dword [0x4c75d0]
xor eax, esp
mov dword [esp + 0x11c], eax
mov eax, dword [esp + 0x124]
push ebx
push ebp
push esi
push edi
xor esi, esi
push esi
push 0x80
push 3
push esi
push esi
push 0x80000000
mov edi, ecx
push eax
mov dword [esp + 0x38], edi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x4a378b
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
lea eax, [ebx + 1]
push eax
call fcn.0042dbdc
add esp, 4
push ebx
mov esi, eax
call fcn.0042dbdc
add esp, 4
push 0
lea ecx, [esp + 0x1c]
push ecx
push ebx
push esi
push ebp
mov dword [esp + 0x28], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4a37b4
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
push edx
push esi
push edi
call fcn.0042e036
add esp, 0xc
push 0
push 0
mov edx, ebx
mov ecx, esi
call fcn.004a2840
add esp, 8
test eax, eax
je 0x4a377a
push 0x64
cmp eax, 4
je 0x4a373e
mov ecx, dword [0x4edd38]
lea eax, [esp + 0x24]
push eax
push 0xbb0
push ecx
jmp 0x4a374e
mov eax, dword [0x4edd38]
lea edx, [esp + 0x24]
push edx
push 0xbb1
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
push 0x47
call dword [sym.imp.MSVCR100.dll_srand]
mov edi, dword [sym.imp.MSVCR100.dll_rand]
add esp, 4
call edi
call edi
mov eax, dword [esp + 0x1c]
push 0x10
lea ecx, [esp + 0x24]
push ecx
mov edx, ecx
push edx
push eax
jmp 0x4a37ae
push edi
mov edi, dword [esp + 0x20]
mov ecx, ebx
call fcn.004a3100
add esp, 4
jmp 0x4a37b4
mov edx, dword [0x4edd38]
push 0x64
lea ecx, [esp + 0x24]
push ecx
push 0x71
push edx
call dword [sym.imp.USER32.dll_LoadStringA]
push 0x10
push str.Error
lea eax, [esp + 0x28]
push eax
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
test esi, esi
je 0x4a37cb
push esi
call edi
add esp, 4
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4a37d9
push eax
call edi
add esp, 4
mov ecx, dword [esp + 0x12c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0042dbe7
add esp, 0x120
ret

Function at 0x4a3950
Capabilities:
Create thread

Disassembly:
push ecx
mov eax, dword [0x4ee0b4]
mov ecx, dword [0x4dd08c]
lea edx, [esp]
push edx
push 0
push 0x4f0398
push 0x478240
push 0
push 0
mov dword [0x4f0398], eax
mov dword [0x4f03a8], ecx
mov dword [0x4f039c], 0x4dd07c
mov dword [0x4f03a0], 0x4dd088
mov dword [0x4f03a4], 0x4dd080
mov dword [0x4f03ac], 0x8000
mov dword [0x4f03b0], 0x4dd084
mov dword [0x4dd084], 1
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ecx
ret
Function at 0x4a8ae0
Capabilities:
Create directory
Delete file
Get common file path
Get file size
Read file on windows
Write file on windows

Disassembly:
sub esp, 0x118
mov eax, dword [0x4c75d0]
xor eax, esp
mov dword [esp + 0x114], eax
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x20]
push eax
push 0
push 0
push 5
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
push str.TunerPro_Files_
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
push 0
lea edx, [esp + 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea edi, [esp + 0x14]
mov ecx, 0x104
lea edx, [esp + 0x20]
call fcn.0049ee50
test eax, eax
js 0x4a8b57
mov ecx, dword [esp + 0x14]
mov eax, 0x104
sub eax, ecx
lea ecx, [esp + ecx + 0x20]
mov edx, str.TunerProSettings.dat
call fcn.0049ec80
push 0
push 0x80
push 4
push 0
push 0
push 0xc0000000
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
cmp esi, 0xffffffff
jne 0x4a8ba3
mov ecx, dword [0x4ee004]
push 0x30
push str.Error
push str.Could_not_open_Settings_File
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp dword [esp + 0x12c], 0
mov ebx, eax
push 0
jne 0x4a8c1f
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea edx, [esp + 0x14]
push edx
push 4
lea eax, [esp + 0x24]
push eax
push esi
call edi
test ebp, ebp
je 0x4a8c01
cmp ebx, 0x1018c
jne 0x4a8c01
cmp dword [esp + 0x18], 0x1f
jne 0x4a8c01
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea ecx, [esp + 0x14]
push ecx
push ebx
push 0x4dd0d8
push esi
call edi
jmp 0x4a8c35
call fcn.004a8030
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, 0x8007000d
jmp 0x4a8c47
lea eax, [esp + 0x20]
push eax
push 0x1018c
push 0x4dd0d8
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov word [0x4dd9f8], 0
xor eax, eax
mov ecx, dword [esp + 0x124]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0042dbe7
add esp, 0x118
ret
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x42e001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
mov ecx, 0x75736d1e
nop
nop
nop
nop
nop
test eax, eax
nop
je 0x42e04e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x42e024
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
mov ecx, 0x71754a8
nop
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x42e084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x432072
nop
nop
mov ebx, 0x40c7d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x6ae814c5
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x432060
nop
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4320d2
nop
mov ebx, 0x42f314
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x22b86c09
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4320c0
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x10001d60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, dword [0x100259fc]
push edi
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
test eax, eax
je 0x10001d8d
push 0x7d0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebx, dword [ebp - 4]
lea eax, [ebp - 0x1c]
push eax
push 0x18
push ebx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov edi, dword [ebp - 4]
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push ebx
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [ebp - 4]
push 0
push ecx
push edi
call dword [sym.imp.GDI32.dll_SelectPalette]
push edi
call dword [sym.imp.GDI32.dll_RealizePalette]
push 0x17
push 0x44d
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x10001e3e
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x10001e3e
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x10001e3e
push 0
call fcn.1000a80a
add esp, 4
mov esi, eax
mov edi, edx
push 0
call fcn.1000a80a
add esp, 4
push edi
push esi
push edx
push eax
call fcn.1000a7c7
fcomp qword [0x10020398]
add esp, 0x10
fnstsw ax
test ah, 0x41
jnp 0x10001e02
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 4]
mov dword [edx], ecx
mov edx, dword [ebp + 0xc]
mov eax, 1
mov dword [edx], ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1000bab1
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10023810]
jne 0x1000babb
repz ret
jmp fcn.100120dc
Function at 0x10018a8b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10023810]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.1000ffd2
and dword [ebp - 0x14], 0
cmp dword [0x100259dc], 0
mov dword [ebp - 0x18], eax
jne 0x10018b3e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x10018be6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x10018be6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x100259dc], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x100259e0], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x100259e4], eax
call edi
push eax
call esi
mov dword [0x100259ec], eax
test eax, eax
je 0x10018b3e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x100259e8], eax
mov eax, dword [0x100259e8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x10018b97
cmp dword [0x100259ec], ecx
je 0x10018b97
push eax
call esi
push dword [0x100259ec]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x10018b97
test ebx, ebx
je 0x10018b97
call edi
test eax, eax
je 0x10018b8e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x10018b8e
test byte [ebp - 8], 1
jne 0x10018b97
or dword [ebp + 0x10], 0x200000
jmp 0x10018bca
mov eax, dword [0x100259e0]
cmp eax, dword [ebp - 0x18]
je 0x10018bca
push eax
call esi
test eax, eax
je 0x10018bca
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10018bca
mov eax, dword [0x100259e4]
cmp eax, dword [ebp - 0x18]
je 0x10018bca
push eax
call esi
test eax, eax
je 0x10018bca
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x100259dc]
call esi
test eax, eax
je 0x10018be6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x10018be8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000bab1
leave
ret
Function at 0x48aa94
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
lea eax, [ebp - 0x104]
push eax
call fcn.0048abea
push 0x401065
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
jne 0x48ab66
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push 0x401074
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
cmp eax, 0
jne 0x48aba6
mov dword [ebp - 0x110], 0x103
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x40106f
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegQueryValueExA
push eax
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegCloseKey
pop eax
cmp eax, 0
jne 0x48aba6
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrlenA
lea ebx, [ebp - 0x104]
add ebx, eax
dec ebx
cmp byte [ebx], 0x5c
je 0x48ab4b
mov word [ebx], 0x5c
push 0x40101c
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
je 0x48aba6
mov dword [ebp - 0x108], eax
push 0x40100b
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x48ab9b
push 0x3e8
call eax
test eax, eax
je 0x48ab9b
call 0x48ab8b
add dword [esp], 0x1e7b
call eax
push 0
call sub.KERNEL32.dll_ExitProcess
push dword [ebp - 0x108]
call sub.KERNEL32.dll_FreeLibrary
push 0x10
push 0x401016
push 0x401026
push 0
call sub.USER32.dll_MessageBoxA
mov eax, 0xffffffff
leave
ret
Function at 0x1a73f0b
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 0x1a73f42
mov esp, ebp
pop ebp
ret