joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44c7d0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edi
mov eax, dword [edi]
cmp eax, 0x270
jne 0x44c82e
lea edx, [edi + 8]
mov esi, eax
nop dword [eax]
mov ecx, dword [edx - 4]
lea edx, [edx + 4]
xor ecx, dword [edx - 4]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub esi, 1
jne 0x44c7f0
mov eax, dword [edi]
jmp 0x44c919
cmp eax, 0x4e0
jb 0x44c919
mov eax, dword [edi + 0x9c4]
push ebx
lea ebx, [edi + 0x9c4]
mov edi, 0xe3
nop dword [eax + eax]
mov ecx, dword [ebx + 4]
lea edx, [ebx + 4]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx + 0x634]
xor eax, ecx
mov dword [ebx - 0x9c0], eax
lea ebx, [edx]
mov eax, dword [edx]
sub edi, 1
jne 0x44c850
mov ebx, dword [ebp - 4]
mov edi, 0x18c
add ebx, 0xd50
mov eax, dword [ebx]
nop dword [eax]
mov ecx, eax
lea edx, [ebx + 4]
xor ecx, dword [edx]
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx - 0xd4c]
xor eax, ecx
mov dword [ebx - 0x9c0], eax
lea ebx, [edx]
mov eax, dword [edx]
sub edi, 1
jne 0x44c8a0
mov edi, dword [ebp - 4]
pop ebx
mov ecx, dword [edi + 0x1380]
xor ecx, dword [edi + 4]
and ecx, 0x7fffffff
xor ecx, dword [edi + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x634]
xor eax, ecx
mov dword [edi + 0x9c0], eax
xor eax, eax
mov dword [edi], 0
mov edx, dword [edi + eax*4 + 4]
inc eax
mov dword [edi], eax
mov ecx, edx
mov eax, dword [edi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
pop edi
xor eax, edx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x44d6eb
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x44d72a
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x44d72a
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x44d72a
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x44d72a
cmp dword [ecx + 0x74], 0xe
jbe 0x44d72a
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
mov ecx, 0x747e66d1
nop
nop
nop
nop
nop
test eax, eax
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0xf521b4c
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x403276
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x50
mov ecx, dword [esp + 0x54]
mov eax, 0x42ad18
push ebx
push esi
push edi
mov edi, dword [esp + 0x68]
mov ebx, 0x8000
test edi, edi
cmovne ebx, dword [esp + 0x6c]
xor esi, esi
test edi, edi
cmovne eax, edi
mov dword [esp + 0xc], eax
test ecx, ecx
js 0x4032b1
mov eax, dword [0x453d58]
add eax, ecx
push eax
call fcn.0040325f
push 4
lea eax, [esp + 0x6c]
push eax
push dword [0x40b010]
call fcn.00406aeb
test eax, eax
jne 0x4032cf
push 0xfffffffffffffffd
pop eax
jmp 0x40342e
mov eax, dword [esp + 0x68]
push ebp
test eax, eax
jns 0x403449
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x6c]
and dword [0x415684], esi
and dword [0x415680], esi
and ecx, 0x7fffffff
mov dword [esp + 0x70], eax
mov eax, 0x416d08
mov dword [0x415168], 8
mov dword [0x41ed10], eax
mov dword [0x41ed0c], eax
mov dword [0x41ed08], 0x41ed08
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x14], ecx
jle 0x40342b
mov ebp, 0x4000
cmp ecx, ebp
cmovl ebp, ecx
push ebp
push 0x426d18
call fcn.00403249
test eax, eax
je 0x40349d
sub dword [esp + 0x6c], ebp
mov dword [0x41515c], ebp
mov ebp, dword [esp + 0x10]
mov dword [0x415158], 0x426d18
push 0x415158
mov dword [0x415160], ebp
mov dword [0x415164], ebx
call fcn.0040734d
mov dword [esp + 0x1c], eax
test eax, eax
js 0x403445
mov eax, dword [0x415160]
sub eax, ebp
mov dword [esp + 0x64], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
test byte [0x453df4], 1
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x18], eax
je 0x4033f1
sub eax, dword [esp + 0x70]
cmp eax, 0xc8
ja 0x4033b5
test ecx, ecx
jne 0x4033f1
mov eax, dword [esp + 0x14]
push eax
push 0x64
sub eax, ecx
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
push eax
lea eax, [esp + 0x24]
push str....__d__
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [esp + 0x20]
push eax
push 0
call fcn.00405cc5
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x64]
test eax, eax
je 0x403437
test edi, edi
jne 0x403412
push eax
push ebp
push dword [esp + 0x70]
call fcn.00406bae
test eax, eax
je 0x403441
mov eax, dword [esp + 0x64]
jmp 0x40341e
mov ebp, dword [0x415160]
sub ebx, eax
mov dword [esp + 0x10], ebp
add esi, eax
cmp dword [esp + 0x1c], 1
jne 0x403362
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x50
ret 0x10
test ecx, ecx
jg 0x40332d
jmp 0x40342b
push 0xfffffffffffffffe
jmp 0x40349f
push 0xfffffffffffffffc
jmp 0x40349f
test edi, edi
jne 0x403489
test eax, eax
jle 0x40342b
mov ebp, 0x426d18
cmp eax, ebx
mov edi, ebx
cmovl edi, eax
push edi
push ebp
call fcn.00403249
test eax, eax
je 0x40349d
push edi
push ebp
push dword [esp + 0x70]
call fcn.00406bae
test eax, eax
je 0x403441
mov eax, dword [esp + 0x6c]
add esi, edi
sub eax, edi
mov dword [esp + 0x6c], eax
test eax, eax
jg 0x403456
jmp 0x40342b
mov esi, dword [esp + 0x70]
cmp eax, esi
cmovl esi, eax
push esi
push edi
call fcn.00403249
test eax, eax
jne 0x40342b
push 0xfffffffffffffffd
pop eax
jmp 0x40342d
Function at 0x4034a2
Capabilities:
Hide graphical window

Disassembly:
cmp dword [esp + 4], 0
je 0x4034c1
mov eax, dword [0x415150]
test eax, eax
je 0x4034b9
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
and dword [0x415150], 0
ret
cmp dword [0x415150], 0
je 0x4034d2
push 0
call fcn.0040619c
ret
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [0x453d60]
jbe 0x403505
push 0
push 0x40376a
push 0
push 0x6f
push dword [0x44fcf0]
call dword [sym.imp.USER32.dll_CreateDialogParamA]
push 5
push eax
mov dword [0x415150], eax
call dword [sym.imp.USER32.dll_ShowWindow]
ret
Function at 0x405daa
Capabilities:
Create directory

Disassembly:
push esi
xor esi, esi
push esi
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x405dc4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, esi
pop esi
ret 4

Function at 0x405dca
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
and dword [ebp - 0x14], 0
and dword [ebp - 4], 0
push 4
pop eax
mov word [ebp - 0x1e], ax
mov eax, 0x409cd0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
mov word [ebp - 0x20], 1
mov dword [ebp - 0x10], 0x409cc0
mov dword [ebp - 0xc], 0xc
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x405e38
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x405e42
lea eax, [ebp - 0x20]
push eax
push 0x80000007
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_SetFileSecurityA]
test eax, eax
je 0x405e3c
xor eax, eax
jmp 0x405e42
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esp, ebp
pop ebp
ret 4
Function at 0x40612d
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 0x406165
cmp byte [ebp + eax - 0x121], 0x5c
mov ecx, 0x4096c4
jne 0x40616a
mov ecx, 0x4096c5
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 0x4061cc
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 0x4061ef
push dword [esp + 8]
push dword [esp + 8]
call fcn.0040625f
pop ecx
pop ecx
inc dword [0x453dd0]
ret 8

Function at 0x40625f
Capabilities:
Get file size

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
mov ebx, 0x400
mov dword [0x4495a0], 0x4c554e
mov ebp, 0x4495a0
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
test esi, esi
je 0x4062ac
push 1
push 0
push esi
call fcn.00406abe
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push ebp
push esi
call edi
test eax, eax
je 0x406390
cmp eax, ebx
jg 0x406390
push ebx
mov esi, 0x4491a0
push esi
push dword [esp + 0x20]
call edi
test eax, eax
je 0x406390
cmp eax, ebx
jg 0x406390
push esi
push ebp
push str._s_s_r_n
push 0x448da0
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, dword [0x453d14]
add esp, 0x10
mov ebp, eax
push dword [ecx + 0x128]
push esi
call fcn.00405e48
push 4
push 0xc0000000
push esi
call fcn.00406abe
mov ebx, eax
mov dword [esp + 0x10], ebx
cmp ebx, 0xffffffff
je 0x406390
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
lea ecx, [ebp + 0xa]
add ecx, esi
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x406389
push esi
push edi
push ebx
call fcn.00406aeb
test eax, eax
je 0x406389
push str._Rename__r_n
push edi
call fcn.00406cd0
test eax, eax
jne 0x406396
push str._Rename__r_n
lea eax, [edi + esi]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
add esi, 0xa
mov ecx, esi
push ebp
push 0x448da0
lea eax, [ecx + edi]
push eax
call fcn.004067e3
xor eax, eax
push eax
push eax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [esi + ebp]
push eax
push edi
push ebx
call fcn.00406bae
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0x409f14
add eax, 0xa
push eax
call fcn.00406cd0
mov ecx, eax
test ecx, ecx
je 0x40635a
lea edx, [edi + esi]
lea eax, [edx + ebp]
cmp edx, ecx
jbe 0x4063ca
sub eax, edx
mov dword [esp + 0x1c], eax
mov ebx, eax
mov al, byte [edx]
mov byte [ebx + edx], al
dec edx
cmp edx, ecx
ja 0x4063bc
mov ebx, dword [esp + 0x10]
sub ecx, edi
inc ecx
jmp 0x40635c
Function at 0x4065f5
Capabilities:
Delete directory
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push edi
push dword [ebp + 8]
call fcn.00406d23
mov edi, eax
cmp edi, 0xffffffff
je 0x406638
test byte [ebp + 0xc], 1
push dword [ebp + 8]
je 0x406620
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
je 0x406628
xor eax, eax
inc eax
jmp 0x40663a
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x406617
test byte [ebp + 0xc], 4
jne 0x406638
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
xor eax, eax
pop edi
pop ebp
ret 8

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

Disassembly:
push ebx
push esi
push dword [esp + 0xc]
mov ebx, 0x446da0
push ebx
call fcn.00406cb4
push ebx
call fcn.00406d4b
mov esi, eax
test esi, esi
jne 0x4066c4
xor eax, eax
jmp 0x406717
push esi
call fcn.00406e43
test byte [0x453d10], 0x80
je 0x4066dd
mov al, byte [esi]
test al, al
je 0x4066c0
cmp al, 0x5c
je 0x4066c0
sub esi, ebx
jmp 0x4066f5
call fcn.0040663f
test eax, eax
je 0x4066ef
test byte [eax], 0x10
je 0x4066c0
push ebx
call fcn.00406e18
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push ebx
cmp eax, esi
jg 0x4066e1
call fcn.004065c8
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 0x406805
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [0x444d58], 0x44
lea eax, [ebp - 0x10]
push eax
push 0x444d58
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 0x406844
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 0x406abe
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 0x406b1c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push edi
lea eax, [ebp - 4]
mov dword [ebp - 8], 0x2000
push eax
mov eax, dword [ebp + 0x18]
neg eax
sbb eax, eax
and eax, 0x100
or eax, 0x20019
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00406231
mov edi, dword [ebp + 0x14]
test eax, eax
jne 0x406b8c
push esi
lea eax, [ebp - 8]
push eax
push edi
lea eax, [ebp + 0x18]
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
mov byte [edi + 0x1fff], 0
pop esi
jne 0x406b8c
cmp dword [ebp + 0x18], 1
je 0x406b8f
cmp dword [ebp + 0x18], 2
je 0x406b8f
mov byte [edi], 0
pop edi
mov esp, ebp
pop ebp
ret 0x14

Function at 0x406b96
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
push eax
and dword [eax + 0x24], 0
mov dword [eax], 0x3c
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
ret 4

Function at 0x406bfb
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 0x406c3a
test edi, edi
jne 0x406c06
mov byte [esi], al
jmp 0x406c3c
mov eax, esi
pop edi
pop esi
pop ebp
ret 8

Function at 0x406d23
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 0x406d45
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 0x406f09
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x449ae4], 0
push esi
jne 0x406f43
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 0x406f1a
mov dword [ecx*4 + 0x449ae0], edx
inc ecx
cmp ecx, 0x100
jl 0x406f15
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x10]
not ecx
test edx, edx
je 0x406f6d
mov esi, dword [esp + 0xc]
movzx eax, byte [esi]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x449ae0]
inc esi
sub edx, 1
jne 0x406f55
not ecx
mov eax, ecx
pop esi
ret 0xc
Function at 0x432004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x432072
nop
nop
mov ebx, 0x40c7d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
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, 0x2a205986
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x432060
nop
mov eax, section..text_1
nop
nop
nop
nop
cmp eax, 0
nop
je 0x4320d2
nop
nop
nop
nop
mov ebx, 0x42f314
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
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
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
mov esi, 0x614f2764
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp fcn.00401219
Function at 0x431003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
je 0x431072
nop
nop
nop
nop
nop
mov ebx, 0x40915c
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x8db0e49
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x431060
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
je 0x4310d2
nop
nop
nop
nop
mov ebx, 0x42f3f8
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x712972
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4310c0
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x4283e0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
jmp 0x4283f8
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jae 0x42849c
mov edx, dword [ebp - 4]
sub edx, 0x231d
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
movzx edx, word [ecx + eax*2 + 0x463a]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
shr eax, 0xc
cmp eax, 3
jne 0x428497
mov ecx, dword [ebp - 8]
push ecx
call fcn.00428990
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 4], 0
jne 0x428456
push 0x154b
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
test eax, eax
je 0x428456
xor eax, eax
jmp 0x42849c
mov edx, dword [ebp + 0x18]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax - 0x4c3f8]
mov eax, dword [ebp + 0x18]
mov dword [eax], edx
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + edx]
add ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
mov eax, dword [edx]
mov edx, dword [ebp + 0x10]
mov dword [edx + eax], ecx
mov eax, dword [ebp - 8]
sub eax, 0x4c3f8
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
sub edx, eax
mov eax, dword [ebp + 0x18]
mov dword [eax], edx
jmp 0x4283ef
mov esp, ebp
pop ebp
ret

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

Disassembly:
pushal
nop
mov eax, section..rsrc
nop
mov ebx, 0x40c7d0
mov ecx, 0x54b52b95
nop
test eax, eax
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x432024
nop
mov eax, section..data
mov ebx, 0x42f314
nop
nop
mov ecx, 0x501749c
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x43206c
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x40111a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42d004]
jne 0x401124
repz ret
jmp fcn.00401a6c

Function at 0x4102b2
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.00409ba3
and dword [ebp - 4], 0
cmp dword [0x42f6e0], 0
mov ebx, eax
jne 0x410363
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x410414
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x410414
push eax
call fcn.00409b31
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x42f6e0], eax
call esi
push eax
call fcn.00409b31
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x42f6e4], eax
call esi
push eax
call fcn.00409b31
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x42f6e8], eax
call esi
push eax
call fcn.00409b31
pop ecx
mov dword [0x42f6f0], eax
test eax, eax
je 0x410363
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00409b31
pop ecx
mov dword [0x42f6ec], eax
mov eax, dword [0x42f6ec]
cmp eax, ebx
je 0x4103bb
cmp dword [0x42f6f0], ebx
je 0x4103bb
push eax
call fcn.00409bac
push dword [0x42f6f0]
mov esi, eax
call fcn.00409bac
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4103bb
test edi, edi
je 0x4103bb
call esi
test eax, eax
je 0x4103b2
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4103b2
test byte [ebp - 0xc], 1
jne 0x4103bb
or dword [ebp + 0x10], 0x200000
jmp 0x4103f4
mov eax, dword [0x42f6e4]
cmp eax, ebx
je 0x4103f4
push eax
call fcn.00409bac
pop ecx
test eax, eax
je 0x4103f4
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4103f4
mov eax, dword [0x42f6e8]
cmp eax, ebx
je 0x4103f4
push eax
call fcn.00409bac
pop ecx
test eax, eax
je 0x4103f4
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42f6e0]
call fcn.00409bac
pop ecx
test eax, eax
je 0x410414
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x410416
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x42786b
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
xor esi, esi
cmp esi, 0x5026c
jne 0x427908
mov dword [ebp - 4], 0x20
add dword [ebp - 4], 0x20
push 0x42f7d0
mov byte [0x42f7d0], 0x6b
mov byte [0x42f7d1], 0x65
mov byte [0x42f7d2], 0x72
mov byte [0x42f7d3], 0x6e
mov byte [0x42f7d4], 0x65
mov byte [0x42f7d5], 0x6c
mov byte [0x42f7d6], 0x33
mov byte [0x42f7d7], 0x32
mov byte [0x42f7d8], 0x2e
mov byte [0x42f7d9], 0x64
mov byte [0x42f7da], 0x6c
mov byte [0x42f7db], 0x6c
mov byte [0x42f7dc], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea eax, [ebp - 8]
push eax
push 0x40
push dword [0x430fb8]
push dword [0x42fcd0]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
inc esi
cmp esi, 0x36edcb
jl 0x427873
pop esi
leave
ret