joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402079
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
mov dword [ebp - 0xc], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0xac], 0
push 4
push 0x1000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0xa4], eax
push 0x18
mov eax, dword [ebp - 0xa8]
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [ebp - 0x9c], eax
lea ecx, [ebp - 0x8c]
push ecx
push 0x80
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0x44c
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x90], 0
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x90], 0
jne 0x402137
push 0x65
call fcn.00401f47
add esp, 4
mov dword [ebp - 4], eax
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
push 0x96
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0
push 0
push 0
call sub.pdh.dll_PdhGetCounterInfoA
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
and eax, 0xc0000000
cmp eax, 0xc0000000
jne 0x4021b7
cmp dword [ebp - 0xa0], 0
jne 0x4021b7
mov ecx, dword [ebp - 0x90]
and ecx, 0xff
cmp ecx, 0xb0
jl 0x4021b7
mov edx, dword [ebp - 0x90]
and edx, 0xff
cmp edx, 0xe0
jg 0x4021b7
mov eax, dword [ebp - 4]
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x98]
push ecx
call fcn.00401efa
add esp, 4
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x50]
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x9c], 0
je 0x402207
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x9c]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
push 0x8000
push 0
mov ecx, dword [ebp - 0xa4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, dword [ebp - 4]
jmp 0x402217
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x402688
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
nop
nop
pushal
nop
pushfd
nop
mov edx, 0x400000
add edx, 0x800
mov eax, 0x800
add eax, edx
nop
call eax
mov eax, 0x53620731
push esi
push edi
mov dword [ebp - 0x18], esp
call dword [sym.imp.KERNEL32.dll_GetVersion]
xor edx, edx
mov dl, ah
mov dword [0x45bcc0], edx
mov ecx, eax
and ecx, 0xff
mov dword [0x45bcbc], ecx
shl ecx, 8
add ecx, edx
mov dword [0x45bcb8], ecx
shr eax, 0x10
mov dword [0x45bcb4], eax
xor esi, esi
push esi
call fcn.00403088
pop ecx
test eax, eax
jne 0x4026f4
push 0x1c
call fcn.004027a3
pop ecx
mov dword [ebp - 4], esi
call fcn.00402edd
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x45c1b8], eax
call fcn.00402dab
mov dword [0x45bc9c], eax
call fcn.00402b5e
call fcn.00402aa5
call fcn.004027c7
mov dword [ebp - 0x30], esi
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.00402a4d
mov dword [ebp - 0x64], eax
test byte [ebp - 0x30], 1
je 0x402741
movzx eax, word [ebp - 0x2c]
jmp 0x402744
push 0xa
pop eax
push eax
push dword [ebp - 0x64]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov dword [ebp - 0x60], eax
push eax
call fcn.004027f4
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x68], ecx
push eax
push ecx
call fcn.004028c9
pop ecx
pop ecx
ret

Function at 0x4032cd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x45b820
cmp edx, dword [eax]
je 0x4032ef
add eax, 8
inc ecx
cmp eax, 0x45b8b0
jl 0x4032e0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x45b820]
jne 0x40341d
mov eax, dword [0x45bca4]
cmp eax, 1
je 0x4033f7
test eax, eax
jne 0x403320
cmp dword [0x45b774], 1
je 0x4033f7
cmp edx, 0xfc
je 0x40341d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x403357
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00403880
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004025b0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40339a
lea eax, [ebp - 0x1a4]
push eax
call fcn.004025b0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x405480
push edi
call fcn.00404600
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00403880
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00403890
lea eax, [ebp - 0xa0]
push 0x405460
push eax
call fcn.00403890
push dword [esi + 0x45b824]
lea eax, [ebp - 0xa0]
push eax
call fcn.00403890
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040456e
add esp, 0x2c
pop edi
jmp 0x40341d
lea eax, [ebp + 8]
lea esi, [esi + 0x45b824]
push 0
push eax
push dword [esi]
call fcn.004025b0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x1000fc69
Capabilities:
Allocate thread local storage

Disassembly:
push 0x1005da24
call fcn.100169ec
xor eax, eax
inc eax
push 4
push eax
mov dword [0x1005da3c], eax
call fcn.1001ea68
add esp, 0xc
mov dword [0x1005da38], eax
ret
push esi
push edi
call fcn.10020337
add eax, 0x40
push 0x1003ec70
mov dword [0x1005eb24], eax
call fcn.100201c1
mov esi, eax
pop ecx
mov edi, str.true
test esi, esi
je 0x1000fcbf
push edi
push esi
call fcn.1001f349
pop ecx
pop ecx
test eax, eax
je 0x1000fcad
push 0
push 0
push esi
call fcn.100200e3
add esp, 0xc
cmp eax, 1
jne 0x1000fcbf
fld dword [0x1005c204]
fmul qword [0x1003ec68]
fstp dword [0x1005c204]
push str.__ALSOFT_REVERSE_Z
call fcn.100201c1
mov esi, eax
pop ecx
test esi, esi
je 0x1000fd01
push edi
push esi
call fcn.1001f349
pop ecx
pop ecx
test eax, eax
je 0x1000fcef
push 0
push 0
push esi
call fcn.100200e3
add esp, 0xc
cmp eax, 1
jne 0x1000fd01
fld dword [0x1005c208]
fmul qword [0x10036cd8]
fstp dword [0x1005c208]
push 0x1000e848
push 0x1005dbe8
call fcn.10016db2
pop ecx
pop ecx
push 0x1005dae4
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
pop edi
pop esi
jmp 0x1000cd0e

Function at 0x10012a5e
Capabilities:
Get common file path

Disassembly:
push esi
xor esi, esi
push 0xc
inc esi
push esi
call fcn.1001ea68
push str.general
mov dword [0x1005dc04], eax
call fcn.1003579e
mov ecx, dword [0x1005dc04]
add esp, 0xc
push 0
mov dword [0x1005dc00], esi
push 0x1a
mov esi, 0x1005dc08
push esi
push 0
mov dword [ecx], eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x10012ae3
push esi
call fcn.1001f6c0
mov ecx, 0x400
sub ecx, eax
mov dword [esp], str._alsoft.ini
push ecx
lea eax, [eax + 0x1005dc08]
push eax
call fcn.1001fd2a
push 0x1003f00c
push esi
call fcn.1001fe9d
mov esi, eax
add esp, 0x14
test esi, esi
je 0x10012ae3
push esi
call fcn.10012664
push esi
call fcn.100202bb
pop ecx
pop ecx
push str.ALSOFT_CONF
call fcn.100201c1
pop ecx
test eax, eax
je 0x10012b18
cmp byte [eax], 0
je 0x10012b18
push 0x1003effc
push eax
call fcn.1001fe9d
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x10012b18
push esi
call fcn.10012664
push esi
call fcn.100202bb
pop ecx
pop ecx
pop esi
ret

Function at 0x100164cd
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0xc
call fcn.1001f909
mov esi, eax
pop ecx
test esi, esi
jne 0x100164e4
xor eax, eax
jmp 0x1001651a
mov eax, dword [ebp + 8]
mov dword [esi], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 4], eax
lea eax, [ebp - 4]
push eax
push 0
push esi
push 0x100164bb
push 0x100000
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 8], eax
test eax, eax
jne 0x10016518
push esi
call fcn.1001e9da
pop ecx
jmp 0x100164e0
mov eax, esi
pop esi
leave
ret

Function at 0x10016db2
Capabilities:
Allocate thread local storage

Disassembly:
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp dword [esp + 8], 0
mov ecx, dword [esp + 4]
mov dword [ecx], eax
je 0x10016dd7
push dword [esp + 8]
push eax
push 0x1005eb00
call fcn.10016aff
add esp, 0xc
xor eax, eax
ret
Function at 0x1001bc1f
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push edi
xor edi, edi
cmp dword [0x1005e01c], edi
jne 0x1001bcab
push edi
push edi
push edi
push edi
mov dword [0x1005e024], 0x80004005
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [ebp - 8], eax
cmp eax, edi
jne 0x1001bc73
cmp dword [0x1005c200], 1
jl 0x1001bcab
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_create_event:__lu_n
push str.MMDevApiLoad
push str._EE_
call fcn.100168f0
add esp, 0x10
jmp 0x1001bcab
push 0x1005e014
push edi
lea eax, [ebp - 8]
push eax
push 0x1001b710
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x1005e01c], eax
cmp eax, edi
je 0x1001bca2
push esi
lea esi, [ebp - 8]
call fcn.1001abab
mov dword [0x1005e024], eax
pop esi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
cmp dword [0x1005e024], edi
pop edi
setge al
leave
ret

Function at 0x1001f16b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1005c220]
jne 0x1001f175
repz ret
jmp fcn.10026670
Function at 0x10031539
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.100271f0
and dword [ebp - 4], 0
cmp dword [0x1005ea0c], 0
mov ebx, eax
jne 0x100315ea
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1003169b
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x1003169b
push eax
call fcn.1002717e
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1005ea0c], eax
call esi
push eax
call fcn.1002717e
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1005ea10], eax
call esi
push eax
call fcn.1002717e
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1005ea14], eax
call esi
push eax
call fcn.1002717e
pop ecx
mov dword [0x1005ea1c], eax
test eax, eax
je 0x100315ea
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1002717e
pop ecx
mov dword [0x1005ea18], eax
mov eax, dword [0x1005ea18]
cmp eax, ebx
je 0x10031642
cmp dword [0x1005ea1c], ebx
je 0x10031642
push eax
call fcn.100271f9
push dword [0x1005ea1c]
mov esi, eax
call fcn.100271f9
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10031642
test edi, edi
je 0x10031642
call esi
test eax, eax
je 0x10031639
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10031639
test byte [ebp - 0xc], 1
jne 0x10031642
or dword [ebp + 0x10], 0x200000
jmp 0x1003167b
mov eax, dword [0x1005ea10]
cmp eax, ebx
je 0x1003167b
push eax
call fcn.100271f9
pop ecx
test eax, eax
je 0x1003167b
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1003167b
mov eax, dword [0x1005ea14]
cmp eax, ebx
je 0x1003167b
push eax
call fcn.100271f9
pop ecx
test eax, eax
je 0x1003167b
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1005ea0c]
call fcn.100271f9
pop ecx
test eax, eax
je 0x1003169b
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1003169d
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x575c31
Capabilities:
Encode data using xor

Disassembly:
mov dword [0x4c16a0], eax
in al, 0xc1
fist word [edi - 0x1a]
invalid
or dword [edi], 0xffffff9e
salc
clc
aas
jg fcn.00575bd9
lcall 0xeb48, 0x839de1a4
jge 0x575bcb
mov ss, esi
mov esi, 0xce85f25b
mov byte [0x51629be], al
neg dword [ebx - 0x38]
mov byte [ebx - 0x5dd511fb], dh
stosb byte es:[edi], al
enter 0xffffffffffff9b63, 0xffffffffffffffa5
sub byte [edi + esi*2], bh
xor dword [esi + 0x2e3d350f], edx
cmc

Function at 0x575ca9
Capabilities:
Encode data using xor

Disassembly:
dec eax
jmp 0x575cbe
cmc
jno 0x575c3e
pushfd
adc byte [eax], ch
mov cl, 0xd6
add eax, 0xaf1ed96e
cmp dl, cl
mov esp, 0xc9ddd42d
push ds
inc eax
pop ebx
xchg dword [ebx + 0x4f21f39e], ebp
push es
aad 0x5c
dec ebp
push ds
fucompi st(6)
les ecx, [ebx + 0x4f]
popal
adc dl, al
and dword [edi - 0xd], ecx
lahf
or ch, byte [ebx + ecx*8 - 0x2d]
salc
fisttp dword [ebp + 0x52]
clc
and cl, byte [edx + esi*4 + 0x4e]
xor al, 0xe
push 0x417ee567
pop edx
aam 0x78
dec ebx
jg 0x575c64
insd dword es:[edi], dx
or al, 0xf6
test eax, 0x392bfa55
push ebx
inc ebp
lcall 0x2bee, 0x5ebb4da5
adc eax, 0x9e1970de
xchg edi, eax
imul dword [0xb9d10f4b]
test al, 0x5b
inc ebx
and bl, byte cs:[0x6493503a]
rol byte gs:[edx + 0x5a], 1
push esp
jmp 0x575d05
mov ah, 0x94
push esp
mov bl, 0x6a
invalid

Function at 0x5b4d6d
Capabilities:
Check for vm using instruction vpcext

Disassembly:
sahf
cmc
lds eax, [0xccc207f6]
pop edx
int1
xchg edx, eax
cmp al, 0x2a
and eax, 0xe6597130
xor dword [ebp + 0x6a9cb547], edx
sbb eax, 0x946442bb
xor byte [ecx + 0x441ab26e], dh
je 0x5b4d7a
xchg dl, ah
and eax, 0x333da806
xchg byte [edx + 0x5a], bl
std
inc esp
hlt
or eax, 0x19f75b20
inc edx
out 0x93, al
jo 0x5b4d8b
and byte [ecx + 0x6a], 0x74
push 0x74
xchg ebx, eax
fidiv dword [edx - 0x4046b2fc]
jg 0x5b4df3
js 0x5b4dce
jecxz 0x5b4e04
mov byte [0xf3b567d3], al
mov ch, 0xf3
sal byte [edx], cl
mov dh, 0x60
pop ss
push edx
movsd dword es:[edi], dword [esi]
mov eax, dword [0xf0e75c65]
pop ss
jp 0x5b4d25
invalid
dec edx
pop ecx
cmp byte [ecx], dl
xchg edi, eax
jecxz 0x5b4e21
loope 0x5b4e0a
inc edx
cmp al, 0x10
test dword [edx - 0x41], esp
cmc
sub al, 0x80
mov ah, 0x4e
add ah, byte [eax + ebx]
arpl ax, bx
add eax, dword [edx - 0x70]
mov esi, 0x24f1b3b6
ret 0xd2a8
mov eax, 0x5233021d
test eax, 0x1423e96e
dec eax
xchg esp, eax
sub byte [ecx], 0x7f
xchg edi, eax
popfd
insd dword es:[edi], dx
int3
or ebx, edx
out 0xd0, eax
dec ebx
rcr dword [eax], 1
outsd dx, dword [esi]
salc
jmp 0xb983620f
lodsd eax, dword [esi]
push es
mov dl, 0x67
invalid

Function at 0x5b4d9c
Capabilities:
Check for vm using instruction vpcext

Disassembly:
mov byte [edx + 0x59], cl
sub al, 0x7a
xchg esi, eax
mov esi, dword fs:[0xff900d82]
adc esp, dword [0x81e8b16c]
sub byte [edi + 0x4720a716], al
cli
rcl dword gs:[eax - 0x11], cl
invalid
Function at 0x5cd239
Capabilities:
Encode data using xor

Disassembly:
pop esp
add ch, dl
add al, 0xbc
xor al, 0x24
push es
adc eax, 0x956e649c
mov ebx, 0x499a683d
and al, 0x67
fadd st(0), st(0)
invalid
push esi
push eax
jne 0x5cd1fd
inc ebp
out dx, al
mov eax, 0xf43252f9
das
add eax, 0x1864a479
pop eax
add al, 0x42
fsub qword [esi - 0x6ff46da9]
shr ebp, 0x64
jp 0x5cd23b
test byte [ecx], ch
push eax
rep lodsb al, byte [esi]
adc al, 0xa3
push es
and bl, dh
fsubr qword [ebp + 0x7b]
jnp 0x5cd2cd
xor eax, 0xef29ac08
sahf
daa
pop ds
add al, 0x25
rcr dword [eax - 0x5abb7b3f], cl
mov edx, 0xbe0cd2cd
jl 0x5cd2aa
popfd
pop ebp
or al, 0xb4
sal dword ss:[edi + ebp*8], 1
imul esi, dword [esi + 0x34100d5a], 0xffffffc1
or al, 0x14
add eax, 0xf5dad921
jmp dword [edi]
ret 0x3215

Function at 0x658f3d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x660398
cmp edx, dword [eax]
je 0x658f5f
add eax, 8
inc ecx
cmp eax, 0x660428
jl 0x658f50
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x660398]
jne 0x65908d
mov eax, dword [0xa5d0f4]
cmp eax, 1
je 0x659067
test eax, eax
jne 0x658f90
cmp dword [0x6602c4], 1
je 0x659067
cmp edx, 0xfc
je 0x65908d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x658fc7
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00659920
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00659db0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x65900a
lea eax, [ebp - 0x1a4]
push eax
call fcn.00659db0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x65e5ec
push edi
call fcn.0065bc80
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00659920
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00659930
lea eax, [ebp - 0xa0]
pushal
invalid
invalid
jmp [eax - 0x34]
in eax, 0x65
add byte [eax - 0x18], dl
test dword [eax], 0xb6ff0000
pushfd
add esp, dword [esi]
lea eax, [ebp - 0xa0]
push eax
call fcn.00659930
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0065bbf4
add esp, 0x2c
pop edi
jmp 0x65908d
lea eax, [ebp + 8]
lea esi, [esi + 0x66039c]
push 0
push eax
push dword [esi]
call fcn.00659db0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
popal
nop
nop
nop
jmp fcn.00401219

Function at 0x438c9a
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0x438a14
sub edx, 0xa9a3273b
call fcn.00438cd7
inc edx
dec edx
xor dword [eax], esi
or edx, edx
add edx, edi
dec edi
add eax, 1
sub edx, 0xc5093738
dec edx
or edx, edx
cmp eax, ecx
jne fcn.00438c9a
and edi, edx
or edi, edi
ret
Function at 0x418e57
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00412f66
and dword [ebp - 4], 0
cmp dword [0x44fcdc], 0
mov ebx, eax
jne 0x418f08
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x418fb9
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x418fb9
push eax
call fcn.00412ef4
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x44fcdc], eax
call esi
push eax
call fcn.00412ef4
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x44fce0], eax
call esi
push eax
call fcn.00412ef4
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x44fce4], eax
call esi
push eax
call fcn.00412ef4
pop ecx
mov dword [0x44fcec], eax
test eax, eax
je 0x418f08
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00412ef4
pop ecx
mov dword [0x44fce8], eax
mov eax, dword [0x44fce8]
cmp eax, ebx
je 0x418f60
cmp dword [0x44fcec], ebx
je 0x418f60
push eax
call fcn.00412f6f
push dword [0x44fcec]
mov esi, eax
call fcn.00412f6f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x418f60
test edi, edi
je 0x418f60
call esi
test eax, eax
je 0x418f57
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x418f57
test byte [ebp - 0xc], 1
jne 0x418f60
or dword [ebp + 0x10], 0x200000
jmp 0x418f99
mov eax, dword [0x44fce0]
cmp eax, ebx
je 0x418f99
push eax
call fcn.00412f6f
pop ecx
test eax, eax
je 0x418f99
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x418f99
mov eax, dword [0x44fce4]
cmp eax, ebx
je 0x418f99
push eax
call fcn.00412f6f
pop ecx
test eax, eax
je 0x418f99
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x44fcdc]
call fcn.00412f6f
pop ecx
test eax, eax
je 0x418fb9
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x418fbb
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x402520
Capabilities:
Check if file exists
Get file attributes
Get file size
Read file on windows

Disassembly:
sub esp, 0x110
lea eax, [esp + 0xc]
push ebx
push esi
push edi
push str.SYSTEMCurrentControlSetServices_
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x18]
push str.Distribuobj
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x10]
lea eax, [esp + 0x18]
push edx
push 0xf003f
push 0
push eax
push 0x80000002
call dword [0x408da0]
test eax, eax
je 0x402575
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x110
ret
lea ecx, [esp + 0x18]
push 0x104
push ecx
mov dword [esp + 0x1c], 0x104
call dword [sym.imp.KERNEL32.dll_RtlZeroMemory]
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x14]
lea eax, [esp + 0x18]
push edx
push eax
push 0
push 0
push str.ImagePath
push ecx
call dword [0x408da4]
test eax, eax
je 0x4025c6
mov edx, dword [esp + 0x10]
push edx
call dword [0x408da8]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x110
ret
mov eax, dword [esp + 0x10]
push eax
call dword [0x408da8]
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4025ed
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x110
ret
push 0
push 0
push 3
push 0
push 1
lea edx, [esp + 0x2c]
push 0x80000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40261a
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x110
ret
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
test eax, eax
mov dword [esp + 0xc], eax
jne 0x40263e
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x110
ret
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
jne 0x402660
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x110
ret
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0xc]
push 0
push eax
push ecx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x402692
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x110
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0x120]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceA]
mov esi, eax
test esi, esi
jne 0x4026c2
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x110
ret
mov eax, dword [esp + 0xc]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_UpdateResourceA]
push eax
push ebx
push 0
push 0x66
push 0xa
push esi
call ebp
mov edi, eax
test edi, edi
je 0x4026fb
push str.Distribuobj
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push str.Distribuobj
push 0
push 0x65
push 0xa
push esi
call ebp
mov edi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_EndUpdateResourceA]
pop ebp
test eax, eax
push ebx
jne 0x40271c
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x110
ret
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0x110
ret