joyce8/EMBER2024-capa huggingface dataset:
Function at 0x417dc3
Capabilities:
Delete registry value

Disassembly:
push 0xc
mov eax, 0x465a77
call fcn.0043e156
push dword [ebp + 0xc]
lea ecx, [ebp - 0x18]
call fcn.00417d17
push dword [ebp + 0x10]
xor ebx, ebx
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
call fcn.00417d17
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
push eax
push 2
push ebx
push dword [ebp - 0x18]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp dword [ebp - 0x10], ebx
je 0x417e21
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x10]
neg eax
sbb al, al
lea ebx, [eax + 1]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x14]
call fcn.0043e111
push dword [ebp - 0x18]
call fcn.0043e111
pop ecx
pop ecx
mov al, bl
call fcn.0043e124
ret

Function at 0x419253
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4ce174]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x20c]
push 0x104
push ecx
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x41928d
xor al, al
jmp 0x4192a0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043e116
leave
ret

Function at 0x419372
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4ce174]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x20c]
push ebx
mov ebx, dword [ebp + 0xc]
push edi
push 0x104
push ecx
push 0xffffffffffffffff
push eax
xor edi, edi
push edi
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x4193b3
push 0xa
pop eax
jmp 0x41942d
push esi
push edi
push 0x80
push 2
push edi
push 1
push 0xc0000000
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4193ea
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 0x20
neg eax
sbb eax, eax
add eax, 0xe
jmp 0x41942c
push edi
mov edi, dword [ebp + 0x10]
lea eax, [ebp - 0x210]
push eax
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x419415
cmp dword [ebp - 0x210], edi
jne 0x419415
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x41942c
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0xc
pop eax
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0043e116
leave
ret
Function at 0x41d810
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x14]
sub esp, 0x10
mov eax, dword [ebp + 0xc]
mov edx, dword [edx]
push esi
xor esi, esi
and edx, 7
cmp eax, 5
jae 0x41d830
xor eax, eax
jmp 0x41d983
add dword [ebp + 0x10], 5
or ecx, 0xffffffff
push ebx
push edi
mov edi, dword [ebp + 8]
lea ebx, [eax - 4]
add ebx, edi
mov dword [ebp - 0x10], ebx
add edi, esi
mov dword [ebp - 4], edi
cmp edi, ebx
jae 0x41d85d
mov al, byte [edi]
and al, 0xfe
cmp al, 0xe8
je 0x41d85a
inc edi
cmp edi, ebx
jb 0x41d84d
mov dword [ebp - 4], edi
mov esi, edi
sub esi, dword [ebp + 8]
mov eax, esi
sub eax, ecx
cmp edi, ebx
jae 0x41d96a
cmp eax, 3
jbe 0x41d895
xor edx, edx
mov al, byte [edi + 4]
mov ecx, esi
mov dword [ebp - 0xc], ecx
test al, al
je 0x41d8d1
cmp al, 0xff
je 0x41d8d1
and edx, 3
xor eax, eax
add edx, edx
or edx, 1
inc eax
jmp 0x41d963
lea ecx, [eax - 1]
shl edx, cl
and edx, 7
je 0x41d875
cmp byte [edx + 0x4b6f6c], 0
je 0x41d8be
movzx eax, byte [edx + 0x4b6f74]
mov ecx, edi
sub ecx, eax
mov al, byte [ecx + 4]
test al, al
je 0x41d8be
cmp al, 0xff
jne 0x41d875
and edx, 3
mov ecx, esi
add edx, edx
or edx, 1
inc esi
mov edi, dword [ebp + 8]
jmp 0x41d844
movzx ebx, al
movzx eax, byte [edi + 3]
shl ebx, 8
or ebx, eax
movzx eax, byte [edi + 2]
shl ebx, 8
or ebx, eax
movzx eax, byte [edi + 1]
mov edi, dword [ebp + 0x10]
shl ebx, 8
or ebx, eax
cmp dword [ebp + 0x18], 0
je 0x41d8fe
add ebx, esi
add ebx, edi
jmp 0x41d902
sub ebx, esi
sub ebx, edi
mov dword [ebp + 0xc], ebx
test edx, edx
je 0x41d938
movzx eax, byte [edx + 0x4b6f74]
shl eax, 3
push 0x18
pop ecx
sub ecx, eax
mov dword [ebp - 8], eax
mov eax, ebx
shr eax, cl
test al, al
je 0x41d927
cmp al, 0xff
jne 0x41d938
xor ebx, ebx
push 0x20
pop ecx
sub ecx, dword [ebp - 8]
inc ebx
shl ebx, cl
dec ebx
xor ebx, dword [ebp + 0xc]
jmp 0x41d8f2
mov edi, dword [ebp - 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
shr eax, 0x18
and al, 1
neg al
mov byte [edi + 1], bl
mov byte [edi + 4], al
mov eax, ebx
shr eax, 0x10
mov byte [edi + 3], al
mov eax, ebx
mov ebx, dword [ebp - 0x10]
shr eax, 8
push 5
mov byte [edi + 2], al
pop eax
add esi, eax
jmp 0x41d8c9
lea ecx, [eax - 1]
shl edx, cl
xor ecx, ecx
and edx, 7
cmp eax, 3
mov eax, dword [ebp + 0x14]
cmova edx, ecx
pop edi
pop ebx
mov dword [eax], edx
mov eax, esi
pop esi
leave
ret
Function at 0x422bc9
Capabilities:
Check if file exists

Disassembly:
push 0x28c
mov eax, 0x4666a7
call fcn.0043e189
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x18]
mov ebx, dword [ebp + 0x1c]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x294], ecx
xor ecx, ecx
mov dword [ebp - 0x298], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x28]
push eax
call fcn.004052f0
and dword [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x422c55
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 2], 0x5c
je 0x422c4e
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 2], 0x2f
je 0x422c4e
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 2], 0x3a
jne 0x422c55
mov eax, 0x4b6c74
jmp 0x422c5a
mov eax, 0x4b72d4
push eax
lea ecx, [ebp - 0x28]
call fcn.00422ac7
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x290]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, dword [ebp - 0x298]
mov dword [ecx], eax
cmp eax, 0xffffffff
jne 0x422cfe
and dword [ecx], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x422c9c
cmp eax, 0x12
jne 0x422c9e
xor eax, eax
push 0x4ce0a0
push eax
mov ecx, esi
call fcn.00420583
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x422dd5
mov ecx, dword [ebp - 0x28]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x294], eax
mov dword [ebp - 0x298], ecx
cmp eax, 0x1000
jb 0x422dcc
lea eax, [ebp - 0x294]
push eax
lea eax, [ebp - 0x298]
push eax
call fcn.004051b1
mov eax, dword [ebp - 0x294]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x298]
jmp 0x422dcc
mov ecx, dword [ebp - 0x294]
lea eax, [ebp - 0x264]
push eax
call fcn.00405916
mov eax, dword [ebp - 0x290]
test eax, 0x400
je 0x422d25
xor eax, eax
mov dword [edi], eax
mov dword [ebx], eax
jmp 0x422d7e
and eax, 0x10
lea ecx, [ebp - 0x40]
or eax, 0x20
shr eax, 4
mov dword [edi], eax
mov dword [ebx], eax
xor eax, eax
and dword [ebp - 0x40], 0
and dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x264]
push eax
mov dword [ebp - 0x2c], 7
call fcn.00405916
push dword [ebp - 0x290]
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
call fcn.00423848
pop ecx
pop ecx
lea ecx, [ebp - 0x40]
mov dword [edi + 4], eax
call fcn.00405723
mov eax, dword [edi + 4]
mov dword [ebx + 4], eax
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x422dd5
mov ecx, dword [ebp - 0x28]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x298], eax
mov dword [ebp - 0x294], ecx
cmp eax, 0x1000
jb 0x422dcc
lea eax, [ebp - 0x298]
push eax
lea eax, [ebp - 0x294]
push eax
call fcn.004051b1
mov eax, dword [ebp - 0x298]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x294]
push eax
push ecx
call fcn.0043e103
pop ecx
pop ecx
mov eax, esi
call fcn.0043e138
ret
Function at 0x424128
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x5c
mov eax, 0x4668c4
call fcn.0043e189
mov eax, dword [ebp + 0x10]
xor ecx, ecx
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x60], eax
test eax, eax
je 0x42415d
mov edi, eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
lea esi, [ebp - 0x1c]
mov dword [ebp - 0x14], ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x64]
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x424167
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x424187
push dword [ebp - 0x60]
push edi
push ebx
call fcn.0042407f
add esp, 0xc
jmp 0x424265
push esi
push edi
call fcn.00423848
pop ecx
pop ecx
mov ecx, eax
mov dword [ebp - 0x64], ecx
test esi, 0x400
je 0x424242
push edi
call fcn.00423fae
pop ecx
test al, al
jne 0x4241bd
mov eax, dword [ebp - 0x64]
mov dword [ebx], 9
mov dword [ebx + 4], eax
jmp 0x424265
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x4241c7
mov eax, dword [edi]
push eax
lea ecx, [ebp - 0x28]
call fcn.00416e6a
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
xor ecx, ecx
push ecx
push 0x2000000
push 3
push ecx
push 7
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x68], esi
and dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00405723
cmp esi, 0xffffffff
je 0x424175
lea eax, [ebp - 0x5c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
jne 0x42422f
push dword [ebp - 0x60]
push edi
push ebx
call fcn.0042407f
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x424265
mov eax, dword [ebp - 0x5c]
push esi
mov dword [ebp - 0x60], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x64]
and esi, 0x10
je 0x42424c
mov edx, dword [ebp - 0x68]
jmp 0x424251
mov edx, ecx
mov ecx, dword [ebp - 0x68]
xor eax, eax
test esi, esi
setne al
add eax, 2
test esi, esi
mov dword [ebx], eax
cmove ecx, edx
mov dword [ebx + 4], ecx
mov eax, ebx
call fcn.0043e138
ret
Function at 0x4262f6
Capabilities:
Get file size

Disassembly:
push 8
mov eax, 0x466c7e
call fcn.0043e156
mov esi, ecx
and dword [ebp - 4], 0
mov eax, 0x80000000
push 2
pop edx
cmp dword [ebp + 8], edx
mov edi, 0xc0000000
cmovne edi, eax
setne bl
mov eax, dword [ebp + 0x20]
or eax, dword [ebp + 0x24]
je 0x42632a
test bl, bl
je 0x42632d
push 3
pop edx
xor eax, eax
mov ecx, 0x100
inc eax
test bl, bl
push 0
cmovne ecx, eax
cmp byte [ebp + 0x60], 0
push ecx
push edx
push 0
push eax
push edi
je 0x42635c
cmp dword [ebp + 0x5c], 8
lea eax, [ebp + 0x48]
cmovae eax, dword [ebp + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
jmp 0x42636e
cmp dword [ebp + 0x44], 0x10
lea eax, [ebp + 0x30]
cmovae eax, dword [ebp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ecx, eax
or edi, 0xffffffff
mov dword [esi + 0x70], ecx
cmp ecx, edi
je 0x42644d
mov eax, dword [ebp + 0x20]
mov edx, dword [ebp + 0x24]
or eax, edx
je 0x4263c4
test bl, bl
jne 0x4263c4
push 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], edx
push eax
push dword [ebp + 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, edi
jne 0x4263ad
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4263ba
push dword [esi + 0x70]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x4263c4
push str.failed_setting_file_size
jmp 0x426452
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0x4b78a8
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4263fe
lea ecx, [ebp - 0x14]
push ecx
push dword [esi + 0x70]
call eax
test eax, eax
je 0x4263f7
mov eax, dword [ebp - 0x10]
xor ecx, ecx
or ecx, dword [ebp - 0x14]
cdq
jmp 0x426416
push str.failed_querying_file_size
jmp 0x426452
lea eax, [ebp - 0x10]
push eax
push dword [esi + 0x70]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, edi
je 0x4263f7
xor ecx, ecx
or ecx, eax
mov eax, dword [ebp - 0x10]
cmp dword [ebp + 0x18], edi
je 0x42642b
test eax, eax
jg 0x426426
jl 0x42642b
cmp ecx, dword [ebp + 0x18]
jb 0x42642b
mov ecx, dword [ebp + 0x18]
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [esi + 0x68], ecx
lea ecx, [ebp + 0x48]
and dword [esi + 0x6c], 0
call fcn.00405723
lea ecx, [ebp + 0x30]
call fcn.004056fd
call fcn.0043e124
ret 0x60
push str.failed_opening_file
mov ecx, esi
call fcn.00425faf
int3

Function at 0x455fbd
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00455e33

Function at 0x45bf3a
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0045bbb7
Function at 0x10001d41
Capabilities:
Read .ini file

Disassembly:
push esi
sub esp, 0x18
mov byte [0x7bf728], 0
push str.._settings.ini
push 0
push 0x10004179
push str.Windowed
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov esi, eax
and esi, 0xff
je 0x10001db9
lea eax, [esp + 8]
mov dword [eax], 1
push 4
push eax
push 0x4586f2
call fcn.100016cc
add esp, 0xc
cmp esi, 2
jne 0x10001db9
lea eax, [esp + 3]
mov byte [eax], 0xe9
push 1
push eax
push 0x45728f
call fcn.100016cc
add esp, 0xc
test al, al
je 0x10001db9
push 0x1000197d
push 0x45728f
call fcn.1000175b
add esp, 8
push str.._settings.ini
push 0
push str.Enable
push str.PostProcessFX
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
je 0x10001e48
mov byte [0x830a0c], 1
push str.._settings.ini
push 0
push str.Bloom
push str.PostProcessFX
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
jle 0x10001e48
cvtsi2ss xmm0, eax
minss xmm0, dword [0x10004004]
movss dword [esp + 4], xmm0
lea eax, [esp + 0x12]
mov byte [eax], 0xba
mov dword [eax + 1], 0
mov byte [eax + 5], 0x90
push 6
push eax
push 0x6523e0
call fcn.100016cc
add esp, 0xc
lea eax, [esp + 0xc]
movss xmm0, dword [esp + 4]
movss dword [eax], xmm0
push 4
push eax
push 0x6523e1
call fcn.100016cc
add esp, 0xc
push str.._settings.ini
push 0
push str.DebugMenu
push 0x1000414a
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
je 0x10001e6f
xor eax, eax
mov byte [0x7c1c54], al
mov byte [0x7c1c55], al
add esp, 0x18
pop esi
ret

Function at 0x10001f0e
Capabilities:
Set current directory

Disassembly:
push esi
sub esp, 0x104
cmp dword [esp + 0x110], 1
jne 0x10001f96
mov esi, dword [esp + 0x10c]
call fcn.100017be
push esi
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
cmp dword [0x400128], 0x455cad51
jne 0x10001fa3
mov esi, esp
push 0x104
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x10001f73
mov cl, byte [esp]
cmp cl, 0x5c
cmove eax, esi
mov cl, byte [esi + 1]
inc esi
test cl, cl
jne 0x10001f55
test eax, eax
je 0x10001f73
mov byte [eax], 0
mov eax, esp
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
call fcn.10001fbc
mov dword [0x100052f0], eax
call fcn.1000198c
call fcn.10001d41
call fcn.10001e74
call fcn.10001820
call fcn.10001856
xor eax, eax
inc eax
add esp, 0x104
pop esi
ret 0xc
push 0x10
push str.GangstaPatch
push str.Youre_using_wrong_game_version__only_v1.00.2_is_usable__nVisit_abandonware_site_for_download_or_find_alternative_way_to_obtain_this_version.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor ecx, ecx
inc ecx
int 0x29
Function at 0x10001fbc
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
sub esp, 0x10
mov eax, dword [0x1000530c]
test eax, eax
jne 0x10002022
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x1000201d
mov dword [esp], 0x54535253
mov dword [esp + 0xb], 0x6b6f6f
mov dword [esp + 8], 0x6f486e69
mov dword [esp + 4], 0x4d594957
mov byte [esp], 0x56
xor ecx, ecx
inc ecx
mov dl, byte [ecx + 0x100040a3]
xor byte [esp + ecx], dl
inc ecx
cmp ecx, 0xe
jne 0x10001ffd
mov ecx, esp
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1000530c], eax
jmp 0x10002022
mov eax, dword [0x1000530c]
add esp, 0x10
ret
Function at 0x100026e4
Capabilities:
Resume thread

Disassembly:
push ebp
push ebx
push edi
push esi
mov eax, dword [ecx]
test eax, eax
je 0x10002738
mov esi, ecx
cmp dword [ecx + 8], 0
je 0x10002729
xor ebx, ebx
inc ebx
mov ebp, dword [sym.imp.KERNEL32.dll_OpenThread]
push dword [eax + ebx*4 - 4]
push 0
push 0x5a
call ebp
test eax, eax
je 0x1000271d
mov edi, eax
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, dword [esi + 8]
jae 0x10002727
mov eax, dword [esi]
inc ebx
jmp 0x100026ff
mov eax, dword [esi]
push eax
push 0
push dword [0x10005308]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x416760
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, ecx
test ebx, ebx
je 0x4167e3
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.pipsQueryPLIType
push ebx
call esi
push str.pipsQueryEncryptType
push ebx
mov dword [edi], eax
call esi
push str.pipsGetPLI
push ebx
mov dword [edi + 4], eax
call esi
push str.pipsPLIUnobfuscate
push ebx
mov dword [edi + 8], eax
call esi
push str.pipsPLIFreeRecord
push ebx
mov dword [edi + 0xc], eax
call esi
push str.pipsPLIFreeHint
push ebx
mov dword [edi + 0x10], eax
call esi
push str.pipsFreePLIType
push ebx
mov dword [edi + 0x14], eax
call esi
push str.pipsPliSendQuestionnaireData
push ebx
mov dword [edi + 0x18], eax
call esi
push str.pipsPliGetCapabilities
push ebx
mov dword [edi + 0x1c], eax
call esi
push str.pipsPliFreeCapabilities
push ebx
mov dword [edi + 0x20], eax
call esi
mov dword [edi + 0x24], eax
pop esi
cmp dword [edi], 0
je 0x416826
cmp dword [edi + 4], 0
je 0x416826
cmp dword [edi + 8], 0
je 0x416826
cmp dword [edi + 0xc], 0
je 0x416826
cmp dword [edi + 0x10], 0
je 0x416826
cmp dword [edi + 0x14], 0
je 0x416826
cmp dword [edi + 0x18], 0
je 0x416826
cmp dword [edi + 0x1c], 0
je 0x416826
cmp dword [edi + 0x20], 0
je 0x416826
cmp dword [edi + 0x24], 0
je 0x416826
pop edi
mov al, 1
pop ebx
pop ebp
ret 4
pop edi
xor al, al
pop ebx
pop ebp
ret 4

Function at 0x41b460
Capabilities:
Access peb ldr_data

Disassembly:
and al, 0x54
call fcn.004192bc
push esi
pop esi
les edi, [eax]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov esi, dword [eax + 0x1c]
lodsd eax, dword [esi]
cmp byte [eax + 0x1c], 0x18
je 0x41b480
xchg esi, eax
lodsd eax, dword [esi]
mov eax, dword [eax + 8]
push eax
call fcn.004192bc
retf 0x65e9

Function at 0x41b8a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x452f36
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x46d070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.004359c7
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.004345ea
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
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
Function at 0x405d80
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add byte [eax - 0x78a5b], al
inc dword [eax]
mov byte [ebp - 0x78a], 0xa0
and byte [ebp - 0x789], 0
mov byte [ebp - 0x788], 3
mov byte [ebp - 0x787], 0x3b
mov byte [ebp - 0x786], 0x33
mov byte [ebp - 0x785], 0x3c
mov byte [ebp - 0x784], 0x30
mov byte [ebp - 0x783], 0x3a
mov byte [ebp - 0x782], 0x2d
mov byte [ebp - 0x781], 0x71
mov byte [ebp - 0x780], 0x3b
mov byte [ebp - 0x77f], 0x33
mov byte [ebp - 0x77e], 0x33
mov byte [ebp - 0x77d], 0x5f
push 0xc
lea eax, [ebp - 0x78c]
push eax
call fcn.00404202
pop ecx
push eax
mov eax, dword [ebp - 0x28]
lea eax, [ebp + eax - 0x12c]
push eax
call fcn.00404163
add esp, 0xc
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x3a0], eax
jmp 0x40616a

Function at 0x406750
Capabilities:
Create service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x412018]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x21c], ecx
mov ecx, dword [ebp - 0x21c]
call fcn.004099d0
test eax, eax
je 0x406782
mov eax, 1
jmp 0x406827
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4067a1
xor eax, eax
jmp 0x406827
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0
push 0
push str.RPCSS
push 0
push 0
lea ecx, [ebp - 0x218]
push ecx
push 1
push 3
push 0x10
push 0xf01ff
mov edx, dword [ebp - 0x21c]
add edx, 0x230
push edx
mov eax, dword [ebp - 0x21c]
add eax, 0x230
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x40680e
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
jmp 0x406827
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, 1
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00407668
mov esp, ebp
pop ebp
ret
Function at 0x42e002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x42e072
nop
nop
mov ebx, 0x407ef8
nop
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
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, 0x3eec4e59
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x42e060
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
je 0x42e0d2
nop
nop
nop
nop
mov ebx, 0x42cd70
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
mov esi, 0x4d43704f
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219