joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ce6f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d4f82
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x54e038]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x2c]
call fcn.00403230
mov dword [ebp - 4], 0
mov dword [ebp - 0x34], 0
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp + 0x1c]
push ecx
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x4ce794
mov dword [ebp - 0x38], 0
mov ecx, dword [ebp + 0x18]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.004011c0
lea edx, [ebp + 0x18]
push edx
lea ecx, [ebp - 0x2c]
call fcn.00401180
push eax
lea eax, [ebp - 0x38]
push eax
push 0
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp - 0x34]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x2c]
call fcn.00401180
push eax
mov ecx, dword [ebp + 8]
call fcn.00403b00
mov ecx, dword [ebp - 0x3c]
or ecx, 1
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.004032c0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a9181
mov esp, ebp
pop ebp
ret
Function at 0x4ce7e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d4fc7
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x54e038]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x2c]
call fcn.00403230
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x4ce8d6
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x48]
call fcn.00403b00
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x88], ecx
mov byte [ebp - 4], 1
push 0x4f768c
mov edx, dword [ebp - 0x88]
push edx
lea eax, [ebp - 0x64]
push eax
call fcn.004028a0
add esp, 0xc
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x90], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x90]
push eax
lea ecx, [ebp - 0x80]
push ecx
call fcn.004028a0
add esp, 0xc
mov dword [ebp - 0x94], eax
mov edx, dword [ebp - 0x94]
mov dword [ebp - 0x98], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x98]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401000
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x80]
call fcn.004032c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
call fcn.004032c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.004032c0
jmp 0x4ce8e2
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.004031f0
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00403210
push eax
push 0x4f7690
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.004032c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a9181
mov esp, ebp
pop ebp
ret
Function at 0x4ceb70
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d5027
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x54e038]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x244], 0
push 0x228
push 0
lea eax, [ebp - 0x240]
push eax
call fcn.004a99e0
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x4cebd4
xor al, al
jmp 0x4cec6f
mov dword [ebp - 0x244], 0x22c
lea ecx, [ebp - 0x244]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4cec63
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x260]
push ecx
call fcn.004ce930
add esp, 8
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
call fcn.00403210
push eax
lea ecx, [ebp - 0x260]
call fcn.00403210
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x4cec3d
lea edx, [ebp - 0x23c]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00401560
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x260]
call fcn.004032c0
lea eax, [ebp - 0x244]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4cebf2
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a9181
mov esp, ebp
pop ebp
ret

Function at 0x4cec90
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x54e038]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x114], 0
mov byte [ebp - 0x110], 0
push 0x103
push 0
lea eax, [ebp - 0x10f]
push eax
call fcn.004a99e0
add esp, 0xc
push 0
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x110]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea eax, [ebp - 0x110]
push eax
mov ecx, dword [ebp + 8]
call fcn.00403b00
mov ecx, dword [ebp - 0x114]
or ecx, 1
mov dword [ebp - 0x114], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a9181
mov esp, ebp
pop ebp
ret
Function at 0x4cf180
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x54e038]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x20]
push eax
call fcn.004cef40
add esp, 4
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x20]
call fcn.00401390
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4cf1dc
push 3
push 0
mov ecx, dword [ebp + 8]
call fcn.00401390
push eax
lea ecx, [ebp - 0x20]
call fcn.00401390
push eax
push 0x4f77c4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x20
jae 0x4cf201
push 3
push 0
push 0
mov ecx, dword [ebp + 8]
call fcn.00401390
push eax
push 0x4f77d0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x20
jae 0x4cf229
push 3
push 0
mov ecx, dword [ebp + 8]
call fcn.00401390
push eax
push str.iexplore.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x20
sbb ecx, ecx
add ecx, 1
mov byte [ebp - 0x25], cl
lea ecx, [ebp - 0x20]
call fcn.00401350
mov al, byte [ebp - 0x25]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a9181
mov esp, ebp
pop ebp
ret

Function at 0x4cf2b0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x140
mov eax, dword [0x54e038]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x140], ecx
mov dword [ebp - 0x13c], 0
mov byte [ebp - 0x138], 0
push 0x12b
push 0
lea eax, [ebp - 0x137]
push eax
call fcn.004a99e0
add esp, 0xc
mov ecx, dword [ebp - 0x140]
call fcn.00403210
push eax
push 0x12c
lea ecx, [ebp - 0x138]
push ecx
push 0
mov ecx, dword [ebp + 0x10]
call fcn.00403210
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00403210
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 4], eax
lea edx, [ebp - 0x138]
push edx
mov ecx, dword [ebp + 8]
call fcn.00403b00
mov eax, dword [ebp - 0x13c]
or eax, 1
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004a9181
mov esp, ebp
pop ebp
ret 0xc
Function at 0x43e6c1
Capabilities:
Check if file exists

Disassembly:
push ebx
push esi
push edi
push 0
call 0x45af2f
push eax
call 0x45ac14
add esp, 8
mov ebx, 0x439614
mov edi, 0x4395e8
lea ecx, [ecx]
mov eax, dword [ebx]
push eax
call 0x45add4
add esp, 4
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43e6f1
sub eax, edx
mov edx, eax
mov eax, dword [edi]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43e701
sub eax, esi
lea ecx, [eax + edx + 8]
push ecx
call 0x45a278
mov edx, dword [edi]
add esp, 4
mov esi, eax
mov eax, dword [ebx]
push edx
push eax
call 0x45add4
add esp, 4
push eax
push 0x4335d4
push esi
call 0x45aa62
add esp, 0x10
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x43e7cc
push esi
call 0x45ac09
add edi, 4
add esp, 4
cmp edi, 0x439604
jl 0x43e6e1
add ebx, 4
cmp ebx, 0x439618
jl 0x43e6d9
call 0x45ac26
mov ecx, dword [0x439614]
push ecx
call 0x45add4
add esp, 4
mov ebx, eax
call 0x45ac26
cdq
mov ecx, 7
idiv ecx
mov eax, ebx
mov edi, dword [edx*4 + 0x4395e8]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43e797
sub eax, edx
mov edx, eax
mov eax, edi
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43e7a7
sub eax, esi
lea edx, [eax + edx + 8]
push edx
call 0x45a278
push edi
push ebx
mov esi, eax
push 0x4335d4
push esi
call 0x45aa62
add esp, 0x14
pop edi
mov eax, esi
pop esi
pop ebx
ret

Function at 0x5fc699
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, section.sect_0
call 0x5fc699
lcall 0x5de5, 0x8b10c483
jmp loc.039a38b8
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 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x2ea73f9e
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x432024
nop
nop
nop
nop
nop
mov eax, section..tls
nop
mov ebx, 0x42f314
nop
mov ecx, 0xef56990
nop
nop
test eax, eax
nop
nop
je 0x432084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43206c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
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 0x431002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40915c
nop
mov ecx, 0x63410b0b
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43104e
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x431024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f3f8
nop
mov ecx, 0x1b94364c
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x431084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x402070
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x4020d4
lea eax, [ebp + 8]
push eax
push 0x20019
push 0
push str.SoftwareRixane_InteractiveSolar_System___Earth_3D_ScreensaverSettings
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4020d4
lea ecx, [ebp - 4]
push ecx
push esi
lea edx, [ebp - 8]
push edx
push eax
mov eax, dword [ebp + 8]
push str.Affiliate
push eax
mov dword [ebp - 4], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [ebp + 8]
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x4020d4
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x402c1a
Capabilities:
Hide graphical window
Terminate process

Disassembly:
mov edi, ecx
mov dword [edi + 0xb04], 0
mov al, byte [esi]
cmp al, 0x22
jne 0x402bc3
mov al, byte [esi + 1]
inc esi
test al, al
je 0x402bbe
cmp al, 0x22
je 0x402bd8
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x402bb2
cmp byte [esi], 0x22
jmp 0x402bd6
test al, al
je 0x402bd3
cmp al, 0x20
je 0x402bd8
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x402bc7
cmp byte [esi], 0x20
jne 0x402bd9
inc esi
mov al, byte [esi]
test al, al
je case.0x402c13.66
nop
cmp al, 0x2f
je 0x402bfb
cmp al, 0x2d
je 0x402bfb
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x402be0
pop edi
mov eax, 2
pop esi
pop ebp
ret 4
cmp byte [esi], 0
je case.0x402c13.66
movsx eax, byte [esi + 1]
add eax, 0xffffffbf
cmp eax, 0x33
ja case.0x402c13.66
movzx eax, byte [eax + 0x402d98]
jmp dword [eax*4 + 0x402d84]
mov al, byte [esi + 2]
add esi, 2
test al, al
je 0x402c3c
movsx ecx, al
push ecx
call fcn.00407865
add esp, 4
test eax, eax
jne 0x402c3c
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x402c24
movsx edx, byte [esi]
push edx
call fcn.0040787d
add esp, 4
test eax, eax
je 0x402c5d
push esi
call fcn.0040779c
add esp, 4
mov dword [edi + 0xb04], eax
jmp 0x402c67
mov dword [edi + 0xb04], 0
push str.Solar_System___Earth_3D_v1.0_configuration
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
mov esi, eax
test esi, esi
je 0x402ca0
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0xa
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_SetFocus]
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop edi
xor eax, eax
pop esi
pop ebp
ret 4
push str.Solar_System___Earth_3D_v1.0_configuration
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
mov esi, eax
test esi, esi
je 0x402ce1
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0xa
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_SetFocus]
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop edi
mov eax, 3
pop esi
pop ebp
ret 4
mov al, byte [esi + 2]
add esi, 2
test al, al
je 0x402d0e
movsx eax, al
push eax
call fcn.00407937
add esp, 4
test eax, eax
jne 0x402d0e
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x402cf6
movsx ecx, byte [esi]
push ecx
call fcn.0040794f
add esp, 4
test eax, eax
je 0x402d2d
push esi
call fcn.0040786e
add esp, 4
mov dword [edi + 0xb04], eax
pop edi
mov eax, 1
pop esi
pop ebp
ret 4
mov al, byte [esi + 2]
add esi, 2
test al, al
je 0x402d5a
movsx edx, al
push edx
call fcn.00407983
add esp, 4
test eax, eax
jne 0x402d5a
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x402d42
movsx eax, byte [esi]
push eax
call fcn.0040799b
add esp, 4
test eax, eax
je 0x402d79
push esi
call fcn.004078ba
add esp, 4
mov dword [edi + 0xb04], eax
pop edi
mov eax, 4
pop esi
pop ebp
ret 4
Function at 0x402ca8
Capabilities:
Hide graphical window
Terminate process

Disassembly:
mov edi, ecx
mov dword [edi + 0xb04], 0
mov al, byte [esi]
cmp al, 0x22
jne 0x402bc3
mov al, byte [esi + 1]
inc esi
test al, al
je 0x402bbe
cmp al, 0x22
je 0x402bd8
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x402bb2
cmp byte [esi], 0x22
jmp 0x402bd6
test al, al
je 0x402bd3
cmp al, 0x20
je 0x402bd8
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x402bc7
cmp byte [esi], 0x20
jne 0x402bd9
inc esi
mov al, byte [esi]
test al, al
je case.0x402c13.66
nop
cmp al, 0x2f
je 0x402bfb
cmp al, 0x2d
je 0x402bfb
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x402be0
pop edi
mov eax, 2
pop esi
pop ebp
ret 4
cmp byte [esi], 0
je case.0x402c13.66
movsx eax, byte [esi + 1]
add eax, 0xffffffbf
cmp eax, 0x33
ja case.0x402c13.66
movzx eax, byte [eax + 0x402d98]
jmp dword [eax*4 + 0x402d84]
mov al, byte [esi + 2]
add esi, 2
test al, al
je 0x402c3c
movsx ecx, al
push ecx
call fcn.00407865
add esp, 4
test eax, eax
jne 0x402c3c
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x402c24
movsx edx, byte [esi]
push edx
call fcn.0040787d
add esp, 4
test eax, eax
je 0x402c5d
push esi
call fcn.0040779c
add esp, 4
mov dword [edi + 0xb04], eax
jmp 0x402c67
mov dword [edi + 0xb04], 0
push str.Solar_System___Earth_3D_v1.0_configuration
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
mov esi, eax
test esi, esi
je 0x402ca0
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0xa
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_SetFocus]
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop edi
xor eax, eax
pop esi
pop ebp
ret 4
push str.Solar_System___Earth_3D_v1.0_configuration
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
mov esi, eax
test esi, esi
je 0x402ce1
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0xa
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_SetFocus]
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop edi
mov eax, 3
pop esi
pop ebp
ret 4
mov al, byte [esi + 2]
add esi, 2
test al, al
je 0x402d0e
movsx eax, al
push eax
call fcn.00407937
add esp, 4
test eax, eax
jne 0x402d0e
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x402cf6
movsx ecx, byte [esi]
push ecx
call fcn.0040794f
add esp, 4
test eax, eax
je 0x402d2d
push esi
call fcn.0040786e
add esp, 4
mov dword [edi + 0xb04], eax
pop edi
mov eax, 1
pop esi
pop ebp
ret 4
mov al, byte [esi + 2]
add esi, 2
test al, al
je 0x402d5a
movsx edx, al
push edx
call fcn.00407983
add esp, 4
test eax, eax
jne 0x402d5a
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x402d42
movsx eax, byte [esi]
push eax
call fcn.0040799b
add esp, 4
test eax, eax
je 0x402d79
push esi
call fcn.004078ba
add esp, 4
mov dword [edi + 0xb04], eax
pop edi
mov eax, 4
pop esi
pop ebp
ret 4