joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000d830
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1000d85d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1000d85d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x401cb0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x14
mov ebx, dword [ebp + 0xc]
test byte [0x406018], 1
jne 0x401ccc
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_ExitProcess]
xor eax, eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.__d__semi_stub:_no_script_engine_clean_up_n
mov dword [esp + 8], str.Host_Quit
mov dword [esp + 4], 0x406018
mov dword [esp], eax
call sym._wine_dbg_log.constprop.0_1
jmp 0x401cc3
Function at 0x4051d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x405228
cmp byte [esi + ebx - 1], 0xa
je 0x4051fc
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x4132e4], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
pop ebx
pop esi
pop ebp
ret
Function at 0x405c20
Capabilities:
Accept command line arguments
Get process heap flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov dword [esp], 1
call sym.__configure_wide_argv
call sym.__initialize_wide_environment
call sym.___p___argc
mov esi, dword [eax]
call sym.___p___wargv
mov edi, dword [eax]
call sym.__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call sym._wmain
mov dword [esp], eax
call sym._exit
nop
nop
nop

Function at 0x405c90
Capabilities:
Accept command line arguments
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x54
call dword [sym.imp.kernel32.dll_GetCommandLineW]
mov ebx, eax
movzx eax, word [eax]
test ax, ax
je 0x405ce7
xor ecx, ecx
xor edx, edx
jmp 0x405cc9
cmp ax, 0x5c
jne 0x405d50
add edx, 1
movzx eax, word [ebx + 2]
add ebx, 2
test ax, ax
je 0x405ce7
cmp ax, 9
je 0x405cd5
cmp ax, 0x20
jne 0x405cb0
test ecx, ecx
je 0x405d38
movzx eax, word [ebx + 2]
add ebx, 2
xor edx, edx
test ax, ax
jne 0x405cc9
lea eax, [ebp - 0x4c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetStartupInfoW]
sub esp, 4
test byte [ebp - 0x20], 1
je 0x405d70
movzx esi, word [ebp - 0x1c]
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
sub esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._wWinMain_16
sub esp, 0x10
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
movzx eax, word [ebx + 2]
add ebx, 2
cmp ax, 9
je 0x405d38
cmp ax, 0x20
je 0x405d38
jmp 0x405ce7
cmp ax, 0x22
jne 0x405cd9
and edx, 1
jne 0x405cd9
xor ecx, 1
jmp 0x405cbd
mov eax, 1
mov esi, 1
mov word [ebp - 0x1c], ax
jmp 0x405d00
Function at 0x50bc1000
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x20c]
push eax
xor esi, esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x50bc1033
xor edi, edi
jmp 0x50bc1042
lea eax, [ebp - 0x20c]
push eax
call fcn.50bc1dc4
pop ecx
mov edi, eax
push 0x100000
push 0x40
mov dword [ebp - 0x41c], str.QQBrowserFrame.dll
mov dword [ebp - 0x418], str.QBUtils.dll
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebx, eax
cmp ebx, esi
jne 0x50bc106d
xor eax, eax
jmp 0x50bc10b3
cmp edi, esi
je 0x50bc1086
push dword [ebp + esi*4 - 0x41c]
mov ecx, edi
call fcn.50bc10c2
inc esi
pop ecx
cmp esi, 2
jb 0x50bc1071
push 0x104
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.riched20.dll
lea ecx, [ebp - 0x414]
call fcn.50bc10c2
pop ecx
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.50bc2205
leave
ret

Function at 0x50bc10c2
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
test ecx, ecx
je 0x50bc10eb
push eax
push ecx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push esi
push 0
push 0x80
push 3
push 0
push 3
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x50bc1110
xor eax, eax
jmp 0x50bc1137
and dword [ebp - 0x210], 0
push 0
lea eax, [ebp - 0x210]
push eax
push 0x100000
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.50bc2205
leave
ret

Function at 0x50bc1985
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push edi
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
push 0x50bc34c8
call dword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
mov ecx, edi
call fcn.50bc19c9
and eax, 0xfff
or eax, 0x29bfa000
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x50bc1de0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.50bc1e8d
cmp dword [0x50bc43ac], 0
je 0x50bc1e57
cmp byte [0x50bc4375], 0
mov al, byte [0x50bc43b0]
je 0x50bc1e17
cmp al, 4
jae 0x50bc1e4a
test al, al
jmp 0x50bc1e48
cmp al, 4
jae 0x50bc1e1f
test al, al
jne 0x50bc1e57
mov ecx, dword [0x50bc439c]
mov edx, 0x80000000
and ecx, edx
xor eax, eax
or eax, ecx
je 0x50bc1e57
mov ecx, dword [0x50bc43a4]
mov eax, ecx
and eax, edx
xor edx, edx
cmp edx, dword [0x50bc43a0]
jne 0x50bc1e57
cmp eax, ecx
jne 0x50bc1e57
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call fcn.50bc1d47
pop ecx
lea eax, [ebp - 0x128]
push eax
mov dword [ebp - 0x128], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x124], 6
jb 0x50bc1e7c
call section..text
call fcn.50bc21ae
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.50bc2205
leave
ret
Function at 0x50bc1f84
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
lea eax, [ebp - 0x214]
push eax
push 0x20019
xor ebx, ebx
push ebx
push str.SoftwareTencentQQBrowserAdvanced
push 0x80000001
mov dword [ebp - 0x214], ebx
mov byte [ebp - 0x20d], bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x50bc2131
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
push 4
pop edi
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x218]
push eax
push ebx
push ebx
push str.EnableIE8Core
push dword [ebp - 0x214]
mov dword [ebp - 0x218], ebx
mov dword [ebp - 0x21c], edi
call esi
test eax, eax
jne 0x50bc2052
cmp dword [ebp - 0x218], 1
jne 0x50bc2052
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x218]
push eax
push ebx
push ebx
push str.IE8CoreInstalled
push dword [ebp - 0x214]
mov byte [ebp - 0x20d], 1
mov dword [ebp - 0x218], ebx
mov dword [ebp - 0x21c], edi
call esi
test eax, eax
jne 0x50bc2052
cmp dword [ebp - 0x218], 1
sete al
and al, 1
mov byte [ebp - 0x20d], al
push dword [ebp - 0x214]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call edi
cmp byte [ebp - 0x20d], bl
je 0x50bc212f
lea eax, [ebp - 0x214]
push eax
push 0x20019
push ebx
push str.SOFTWAREMicrosoftInternet_Explorer
push 0x80000002
mov dword [ebp - 0x214], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x50bc20e3
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x20c]
push eax
push ebx
push ebx
push str.Version
push dword [ebp - 0x214]
mov dword [ebp - 0x21c], 0x208
call esi
test eax, eax
jne 0x50bc20db
cmp word [ebp - 0x20c], 0x36
je 0x50bc20d2
cmp word [ebp - 0x20c], 0x37
jne 0x50bc20d5
xor eax, eax
inc eax
and byte [ebp - 0x20d], al
push dword [ebp - 0x214]
call edi
cmp byte [ebp - 0x20d], bl
je 0x50bc212f
lea eax, [ebp - 0x120]
push eax
mov dword [ebp - 0x120], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x50bc212f
cmp dword [ebp - 0x11c], 5
jne 0x50bc2129
cmp dword [ebp - 0x118], 1
jne 0x50bc2129
cmp word [ebp - 0xc], 2
je 0x50bc2126
cmp word [ebp - 0xc], 3
jne 0x50bc2129
xor ebx, ebx
inc ebx
and byte [ebp - 0x20d], bl
pop edi
pop esi
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x20d]
xor ecx, ebp
pop ebx
call fcn.50bc2205
leave
ret

Function at 0x50bc2205
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x50bc220f
repz ret
jmp fcn.50bc2214
Function at 0x40e7d0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0xc], 0
jmp 0x40e7f5
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp + 0xc]
jae 0x40e868
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
movzx edx, byte [ebp - 8]
xor ecx, edx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 8]
shr eax, 8
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], 0
jmp 0x40e82a
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 8
jge 0x40e85d
mov edx, dword [ebp - 0x10]
and edx, 1
neg edx
sbb edx, edx
neg edx
mov byte [ebp - 0x15], dl
mov eax, dword [ebp - 0x10]
shr eax, 1
mov dword [ebp - 0x10], eax
movzx ecx, byte [ebp - 0x15]
test ecx, ecx
je 0x40e85b
mov edx, dword [ebp - 0x10]
xor edx, 0xedb88320
mov dword [ebp - 0x10], edx
jmp 0x40e821
mov eax, dword [ebp - 8]
xor eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
jmp 0x40e7ec
mov eax, dword [ebp - 8]
not eax
mov esp, ebp
pop ebp
ret
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 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408f6c
nop
mov ecx, 0x53241011
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e3d0
nop
mov ecx, 0xb168c8
nop
nop
nop
nop
test eax, eax
nop
je 0x430084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x42e030
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x42e01e
nop
popal
nop
nop
nop
nop
nop
jmp loc.00401219
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
nop
add eax, 0x403d6f
nop
sub eax, reloc.kernel32.dll_CreateProcessA
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0x42e410
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1c000]
push edi
jmp 0x42e42a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x42e431
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x42e420
mov eax, 1
add ebx, ebx
jne 0x42e443
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x42e438
jne 0x42e454
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42e438
xor ecx, ecx
sub eax, 3
jb 0x42e468
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42e4da
mov ebp, eax
add ebx, ebx
jne 0x42e473
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x42e480
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x42e4a4
inc ecx
add ebx, ebx
jne 0x42e490
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x42e485
jne 0x42e4a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42e485
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x42e4c4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x42e4b5
jmp 0x42e426
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x42e4c4
add edi, ecx
jmp 0x42e426
pop esi
mov edi, esi
mov ecx, 0xa88
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x42e4e2
cmp byte [edi], 0x12
jne 0x42e4e2
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 0x42e4e7
lea edi, [esi + 0x2c000]
mov eax, dword [edi]
or eax, eax
je 0x42e55f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x33064]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x33144]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x42e514
mov ecx, edi
jns 0x42e543
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x3314c]
or eax, eax
je 0x42e559
mov dword [ebx], eax
add ebx, 4
jmp 0x42e531
call dword [esi + 0x33148]
mov ebp, dword [esi + 0x33150]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x17f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x42e593
sub esp, 0xffffff80
jmp 0x41c35f
Function at 0x40eb50
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40ec25
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x40ec40
push ebx
push 0x40ec50
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.0040513c
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00403250
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404d24
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
jne 0x40ebd0
mov al, 0x6a
call fcn.0040e770
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.0040eb24
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
cmp eax, 1
je 0x40ebd9
call fcn.0040eb24
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ec2c
lea eax, [ebp - 4]
call fcn.00404c88
ret

Function at 0x40ed40
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb4
mov dword [esp], eax
lea esi, [esp + 0x30]
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetSystemInfo_1
mov edi, dword [esp]
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery_1
test eax, eax
je 0x40ee0b
jmp 0x40edff
cmp dword [esi + 0x10], 0x1000
jne 0x40edeb
test byte [esi + 0x15], 1
jne 0x40edeb
mov byte [esp + 4], 0
mov ebp, dword [esi + 0x14]
cmp ebp, 1
je 0x40ed9c
cmp ebp, 2
je 0x40ed9c
cmp ebp, 0x10
je 0x40ed9c
cmp ebp, 0x20
jne 0x40edb8
lea eax, [esp + 8]
push eax
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x40edb8
mov byte [esp + 4], 1
xor ebx, ebx
jmp 0x40edc9
mov eax, dword [esi]
add eax, ebx
call fcn.0040ed38
add ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0xc]
jb 0x40edbc
cmp byte [esp + 4], 0
je 0x40edeb
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov edi, eax
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery_1
test eax, eax
je 0x40ee0b
mov eax, dword [esi + 4]
cmp eax, dword [esp]
je 0x40ed71
add esp, 0x4c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x438c96
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x438a14
mov edx, edx
mov edx, edx
call fcn.00438cd9
add ebx, 0x22d05099
add edx, 1
xor dword [edi], ecx
add edx, edx
add edx, 1
and ebx, ebx
inc edi
push 0xe2978a0b
pop ebx
cmp edi, eax
jne fcn.00438c96
mov ebx, 0xb138778a
add ebx, edx
ret
Function at 0x4b763e
Capabilities:
Authenticate hmac

Disassembly:
push dword [esp]
lea esp, [esp + 8]
ja 0x4cbd10
clc
sub al, 0x57
bt esi, 0x1c
sal al, 1
sub ebx, edi
or di, 0x83f2
bts di, 7
sbb al, 0x39
clc
add ebx, esp
pushfd
mov edi, ebx
rcr al, 6
cmp bh, 0x6a
pushal
mov al, 0x2e
mov word [esp], 0xe3dc
jmp 0x4c6c7d
cmp bl, 0x36
mov byte [esp + 0xc], cl
repne scasb al, byte es:[edi]
push dword [esp + 8]
mov word [esp], 0x4996
jmp 0x4cd718
Function at 0x4cd936
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp al, byte [edi]
movzx ax, bl
call fcn.004ce683

Function at 0x4dd77d
Capabilities:
Encode data using xor

Disassembly:
mov byte [esp], cl
test al, al
pushal
push esp
pushfd
lea esp, [esp + 0x2c]
je 0x4cc488
push esi
mov byte [esp], 0x5c
cmp dl, dh
cmp cl, 0xef
sub al, 0x30
lea esp, [esp + 4]
neg al
add edi, 1
mov byte [esp], ah
stc
rol al, cl
mov al, byte [edi]
mov byte [esp], ch
clc
jmp 0x4ce19c

Function at 0x4df2fa
Capabilities:
Check for trap flag exception

Disassembly:
rep movsb byte es:[edi], byte [esi]
or di, 0xc584
cld
and di, 0x51a
mov edi, dword [esp + 0x30]
shl si, 5
movzx si, al
bts si, 8
bt di, 4
mov esi, dword [esp + 0x34]
mov word [esp], dx
mov byte [esp + 4], 0x73
test dl, dh
bt di, bp
push dword [esp + 0x38]
popfd
pushfd
lea esp, [esp + 0x40]
jmp fcn.004de9ba
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40de38
nop
mov ecx, 0x61435aed
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
mov ecx, 0x1dbb2ff3
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x9f8058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.009f81a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x9f807e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9f806a
add dl, dl
jne 0x9f8089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9f80dc
xor eax, eax
add dl, dl
jne 0x9f8096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9f817d
add dl, dl
jne 0x9f80a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9f80b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9f80bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9f80c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x9f80d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x9f8075
mov eax, 1
add dl, dl
jne 0x9f80ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9f80f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9f80e1
sub eax, ebx
mov ebx, 1
jne 0x9f8128
mov ecx, 1
add dl, dl
jne 0x9f810e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x9f8119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9f8105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9f8075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x9f813f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x9f814a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9f8136
cmp eax, 0x7d00
jae 0x9f816d
cmp eax, 0x500
jb 0x9f8168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9f8075
cmp eax, 0x7f
ja 0x9f8170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9f8075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x9f819e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x9f8075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10