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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
lea eax, [ebp - 0x120]
push esi
mov esi, 0x104
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
xor ecx, ecx
cmp eax, esi
pop esi
cmova eax, ecx
test eax, eax
je 0x405be6
cmp byte [ebp + eax - 0x121], 0x5c
mov ecx, 0x4082a0
jne 0x405beb
mov ecx, 0x4082a1
push dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x120]
add eax, ecx
push str._s_s.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x120]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov esp, ebp
pop ebp
ret 4

Function at 0x405c4d
Capabilities:
Move file

Disassembly:
push 5
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
jne 0x405c70
push dword [esp + 8]
push dword [esp + 8]
call fcn.00405c7f
pop ecx
pop ecx
inc dword [0x7a2cf0]
ret 8

Function at 0x405c7f
Capabilities:
Get file size

Disassembly:
push ebx
push ebp
push esi
push edi
push 0x408714
mov ebp, 0x7a1278
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov esi, dword [esp + 0x18]
mov ebx, 0x400
mov edi, dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
test esi, esi
je 0x405ccd
push 1
push 0
push esi
call fcn.004061d9
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push ebp
push esi
call edi
test eax, eax
je 0x405db1
cmp eax, ebx
jg 0x405db1
push ebx
mov esi, 0x7a0e78
push esi
push dword [esp + 0x1c]
call edi
test eax, eax
je 0x405db1
cmp eax, ebx
jg 0x405db1
push esi
push ebp
push str._s_s_r_n
push 0x7a0a78
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, dword [0x7a2c30]
add esp, 0x10
mov ebp, eax
mov dword [esp + 0x18], ebp
push dword [ecx + 0x128]
push esi
call fcn.0040593f
push 4
push 0xc0000000
push esi
call fcn.004061d9
mov ebx, eax
cmp ebx, 0xffffffff
je 0x405db1
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea ecx, [ebp + 0xa]
add ecx, edi
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x405daa
push edi
push esi
push ebx
call fcn.00406206
test eax, eax
je 0x405daa
push str._Rename__r_n
push esi
call fcn.004063d3
test eax, eax
jne 0x405db6
push str._Rename__r_n
lea eax, [esi + edi]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
add edi, 0xa
mov ecx, edi
push ebp
push 0x7a0a78
lea eax, [ecx + esi]
push eax
call fcn.00405f54
xor eax, eax
push eax
push eax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [edi + ebp]
push eax
push esi
push ebx
call fcn.004062b1
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
ret
push 0x408720
add eax, 0xa
push eax
call fcn.004063d3
mov ecx, eax
test ecx, ecx
je 0x405d7b
lea edx, [esi + edi]
add ebp, edx
cmp edx, ecx
jbe 0x405ddf
sub ebp, edx
mov al, byte [edx]
mov byte [edx + ebp], al
dec edx
cmp edx, ecx
ja 0x405dd5
mov ebp, dword [esp + 0x18]
sub ecx, esi
inc ecx
jmp 0x405d7d
Function at 0x405e2d
Capabilities:
Delete directory
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push edi
push dword [ebp + 8]
call fcn.00406426
mov edi, eax
cmp edi, 0xffffffff
je 0x405e70
test byte [ebp + 0xc], 1
push dword [ebp + 8]
je 0x405e58
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
je 0x405e60
xor eax, eax
inc eax
jmp 0x405e72
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x405e4f
test byte [ebp + 0xc], 4
jne 0x405e70
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
xor eax, eax
pop edi
pop ebp
ret 8

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

Disassembly:
push ebx
push esi
push dword [esp + 0xc]
mov ebx, 0x7a0678
push ebx
call fcn.004063b7
push ebx
call fcn.0040644e
mov esi, eax
test esi, esi
jne 0x405efc
xor eax, eax
jmp 0x405f4f
push esi
call fcn.00406546
test byte [0x7a2c2c], 0x80
je 0x405f15
mov al, byte [esi]
test al, al
je 0x405ef8
cmp al, 0x5c
je 0x405ef8
sub esi, ebx
jmp 0x405f2d
call fcn.00405e77
test eax, eax
je 0x405f27
test byte [eax], 0x10
je 0x405ef8
push ebx
call fcn.0040651b
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push ebx
cmp eax, esi
jg 0x405f19
call fcn.00405e00
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop esi
pop ebx
ret 4

Function at 0x405f76
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [0x7a0230], 0x44
lea eax, [ebp - 0x10]
push eax
push 0x7a0230
xor eax, eax
push eax
push eax
push 0x4000000
push eax
push eax
push eax
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x405fb5
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 4
Function at 0x405fbb
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
sub esp, 0x150
push ebx
mov ebx, dword [esp + 0x15c]
push esi
mov esi, dword [esp + 0x15c]
push edi
mov edi, ebx
push esi
and edi, 4
call fcn.00405edb
mov dword [esp + 0x18], eax
test bl, 8
je 0x405ffd
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
neg eax
sbb eax, eax
inc eax
add dword [0x7a2ce8], eax
jmp 0x406198
push ebp
mov ebp, ebx
and ebp, 1
mov dword [esp + 0x18], ebp
je 0x40601a
test eax, eax
je 0x406187
test bl, 2
je 0x40614d
push esi
push 0x7a0278
call fcn.004063b7
test ebp, ebp
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcatA]
je 0x40603d
push str..
push 0x7a0278
call ebp
jmp 0x406043
push esi
call fcn.0040651b
cmp byte [esi], 0
jne 0x406051
cmp byte [0x7a0278], 0x5c
jne 0x406059
push 0x4082a0
push esi
call ebp
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ebp, [esi + eax]
lea eax, [esp + 0x20]
mov dword [esp + 0x10], ebp
push eax
push 0x7a0278
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
je 0x40613e
lea ebp, [esp + 0x4c]
push 0x3f
mov eax, ebp
push eax
call fcn.00405e9e
cmp byte [eax], 0
je 0x4060ab
cmp byte [esp + 0x150], 0
lea eax, [esp + 0x150]
cmove eax, ebp
mov ebp, eax
cmp byte [ebp], 0x2e
jne 0x4060c2
mov al, byte [ebp + 1]
test al, al
je 0x406119
cmp al, 0x2e
jne 0x4060c2
cmp byte [ebp + 2], 0
je 0x406119
push ebp
mov ebp, dword [esp + 0x14]
push ebp
call fcn.004063b7
test byte [esp + 0x20], 0x10
je 0x4060e6
mov eax, ebx
and eax, 3
cmp al, 3
jne 0x40611d
push ebx
push esi
call fcn.00405fbb
jmp 0x40611d
push edi
push esi
call fcn.00405e2d
test eax, eax
jne 0x40610f
test edi, edi
je 0x406107
push esi
push 0xfffffffffffffff1
call fcn.004057bc
push 0
push esi
call fcn.00405c4d
jmp 0x40611d
inc dword [0x7a2ce8]
jmp 0x40611d
push esi
push 0xfffffffffffffff2
call fcn.004057bc
jmp 0x40611d
mov ebp, dword [esp + 0x10]
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x406084
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [esp + 0x18], 0
je 0x406197
mov eax, dword [esp + 0x1c]
mov byte [ebp - 1], 0
test eax, eax
je 0x406187
push esi
call fcn.00405e77
test eax, eax
je 0x406197
push esi
call fcn.00405e00
mov eax, edi
or eax, 1
push eax
push esi
call fcn.00405e2d
test eax, eax
jne 0x40618f
test edi, edi
je 0x406187
push esi
push 0xfffffffffffffff1
call fcn.004057bc
push 0
push esi
call fcn.00405c4d
jmp 0x406197
inc dword [0x7a2ce8]
jmp 0x406197
push esi
push 0xffffffffffffffe5
call fcn.004057bc
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x150
ret 8

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

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
push 0
cmove eax, ecx
push eax
push dword [esp + 0x14]
push ecx
push 1
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
ret 0xc
Function at 0x406237
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0x14]
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 0x18]
xor ebx, ebx
neg eax
mov byte [esi], bl
sbb eax, eax
and eax, 0x100
or eax, 0x20019
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4062a9
lea eax, [ebp + 0x18]
mov dword [ebp + 0x18], 0x400
push eax
push esi
lea eax, [ebp + 0x14]
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x406298
cmp dword [ebp + 0x14], 1
je 0x40629a
cmp dword [ebp + 0x14], 2
je 0x40629a
mov byte [esi], bl
push dword [ebp - 4]
mov byte [esi + 0x3ff], bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14

Function at 0x4062fe
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0x64
pop edi
dec edi
mov dword [ebp + 8], 0x61736e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x1a
pop ecx
xor edx, edx
div ecx
push esi
add byte [ebp + 0xa], dl
lea eax, [ebp + 8]
push 0
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x40633d
test edi, edi
jne 0x406309
mov byte [esi], al
jmp 0x40633f
mov eax, esi
pop edi
pop esi
pop ebp
ret 8

Function at 0x406426
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push esi
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov esi, eax
cmp esi, 0xffffffff
je 0x406448
mov ecx, esi
and ecx, 0xfffffffe
push ecx
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, esi
pop esi
ret 4

Function at 0x40660c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x7a17bc], 0
push esi
jne 0x406646
xor ecx, ecx
push 8
mov edx, ecx
pop esi
mov eax, edx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr edx, 1
and eax, 0xedb88320
xor edx, eax
sub esi, 1
jne 0x40661d
mov dword [ecx*4 + 0x7a17b8], edx
inc ecx
cmp ecx, 0x100
jl 0x406618
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x10]
not ecx
test edx, edx
je 0x406670
mov esi, dword [esp + 0xc]
movzx eax, byte [esi]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x7a17b8]
inc esi
sub edx, 1
jne 0x406658
not ecx
mov eax, ecx
pop esi
ret 0xc
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 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x407ef8
nop
mov ecx, 0x43eb65ba
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x42e024
nop
nop
mov eax, section..tls
nop
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x67795127
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x401000
Capabilities:
Accept command line arguments
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x205c
call fcn.00406e10
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x400
lea eax, [ebp - 0x1004]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
dec eax
js 0x401042
mov edi, edi
cmp word [ebp + eax*2 - 0x1004], 0x5c
je 0x401192
dec eax
jns 0x401030
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
xor eax, eax
mov word [ebp - 0x2004], ax
lea eax, [ebp - 0x1004]
push edi
push eax
lea eax, [ebp - 0x2004]
push eax
call esi
push str.HotA_Datahota_cmped.exe
lea eax, [ebp - 0x2004]
push eax
call esi
xor eax, eax
mov word [ebp - 0x1804], ax
lea eax, [ebp - 0x1004]
push eax
lea eax, [ebp - 0x1804]
push eax
call esi
push str.HotA_Data
lea eax, [ebp - 0x1804]
push eax
call esi
xor eax, eax
mov word [ebp - 0x804], ax
lea eax, [ebp - 0x804]
push 0x40fd08
push eax
call esi
lea eax, [ebp - 0x2004]
push eax
lea eax, [ebp - 0x804]
push eax
call esi
push 0x40fd08
lea eax, [ebp - 0x804]
push eax
call esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [ebp - 0x2008]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp dword [ebp - 0x2008], 1
mov edi, eax
jle 0x401114
push 0x40fd0c
lea eax, [ebp - 0x804]
push eax
call esi
push dword [edi + 4]
lea eax, [ebp - 0x804]
push eax
call esi
push 0x40fd08
lea eax, [ebp - 0x804]
push eax
call esi
push 0x44
lea eax, [ebp - 0x204c]
push 0
push eax
call fcn.004053f0
add esp, 0xc
mov dword [ebp - 0x204c], 0x44
lea eax, [ebp - 0x205c]
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x205c], xmm0
push eax
lea eax, [ebp - 0x204c]
push eax
lea eax, [ebp - 0x1804]
push eax
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x804]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push dword [ebp - 0x205c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x2058]
call esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004011b0
mov esp, ebp
pop ebp
ret 0x10
add eax, eax
cmp eax, 0x800
jae 0x4011aa
xor ecx, ecx
mov word [ebp + eax - 0x1004], cx
jmp 0x401042
call fcn.004012f7
int3
Function at 0x40478a
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0040162b
mov dword [ebp - 0x14], eax
cmp dword [0x412e00], esi
jne 0x40487d
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40480a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40495d
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40495d
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40495d
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x412e00], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x412e04], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x412e08], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x412e10], eax
test eax, eax
je 0x40487a
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x412e0c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4048a2
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x404895
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x4048b7
push 4
pop eax
jmp 0x40495f
cmp dword [ebp - 0x14], esi
je 0x4048b7
push dword [0x412e00]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40489c
mov eax, dword [0x412e0c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x404915
cmp dword [0x412e10], edi
je 0x404915
push eax
call ebx
push dword [0x412e10]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x404915
test eax, eax
je 0x404915
call ecx
test eax, eax
je 0x40490a
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40490a
test byte [ebp - 8], 1
jne 0x404915
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x404945
mov eax, dword [0x412e04]
cmp eax, edi
je 0x404942
push eax
call ebx
test eax, eax
je 0x404942
call eax
mov esi, eax
test esi, esi
je 0x404942
mov eax, dword [0x412e08]
cmp eax, edi
je 0x404942
push eax
call ebx
test eax, eax
je 0x404942
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x412e00]
call ebx
test eax, eax
je 0x40495d
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40495f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004011b0
mov esp, ebp
pop ebp
ret
Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53

Function at 0x40127b
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push ecx
push edx
push esi
push edi
enter 0x84, 0
jmp 0x40131c
mov edx, edi
call fcn.004011e2
mov edx, 0x1c000
mov eax, 0x404054
mov ebx, esi
call fcn.0040267d
lea edx, [ebp - 2]
mov eax, esi
mov dword [ebp - 2], 0
jmp 0x40135a
or bl, 1
idiv ebx
mov edx, dword [0x404050]
mov ebx, esi
add edx, eax
mov eax, 0x404054
call fcn.004011e2
xor eax, eax
mov dword [ebp + 0x7e], eax
lea eax, [ebp + 0x7e]
push eax
mov eax, esi
or al, 0x40
mov edi, 0x40338d
push eax
sub edi, fcn.00402b27
push edi
push fcn.00402b27
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
cmp dword [ebp + 0x7e], 0
je 0x4012be
mov eax, fcn.00402b27
mov ebx, esi
jmp 0x4012a6
sub ebp, 0x82
mov esi, eax
mov ebx, dword [0x404050]
cdq
jmp 0x4012cf
call fcn.00401fff
lea eax, [esi + 0x1c000]
lea ebx, [ebp - 2]
test esi, esi
je 0x40136e
add eax, eax
dec esi
and esi, 0x404054
mov edx, eax
mov eax, esi
call fcn.00402b27
lea esp, [ebp + 0x82]
pop ebp
pop edi
pop esi
pop edx
pop ecx
pop ebx
ret
Function at 0x414b40
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xe000]
push edi
or ebp, 0xffffffff
jmp 0x414b62
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x414b69
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x414b58
mov eax, 1
add ebx, ebx
jne 0x414b7b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x414b70
jne 0x414b8c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x414b70
xor ecx, ecx
sub eax, 3
jb 0x414ba0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x414c12
mov ebp, eax
add ebx, ebx
jne 0x414bab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x414bb8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x414bdc
inc ecx
add ebx, ebx
jne 0x414bc8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x414bbd
jne 0x414bd9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x414bbd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x414bfc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x414bed
jmp 0x414b5e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x414bfc
add edi, ecx
jmp 0x414b5e
pop esi
mov edi, esi
mov ecx, 0x43b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x414c1a
cmp byte [edi], 0
jne 0x414c1a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x414c1f
lea edi, [esi + 0x12000]

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0xea1300e
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x433060
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4330d2
nop
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x6d820a42
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219