joyce8/EMBER2024-capa huggingface dataset:
Function at 0x495ec6
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x49b7c0]
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.0048886b
mov dword [ebp - 0x14], eax
cmp dword [0xa94a3c], esi
jne 0x495fb9
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x495f46
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x496099
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x496099
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x496099
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0xa94a3c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0xa94a40], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0xa94a44], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0xa94a4c], eax
test eax, eax
je 0x495fb6
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0xa94a48], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x495fde
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x495fd1
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x495ff3
push 4
pop eax
jmp 0x49609b
cmp dword [ebp - 0x14], esi
je 0x495ff3
push dword [0xa94a3c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x495fd8
mov eax, dword [0xa94a48]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x496051
cmp dword [0xa94a4c], edi
je 0x496051
push eax
call ebx
push dword [0xa94a4c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x496051
test eax, eax
je 0x496051
call ecx
test eax, eax
je 0x496046
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 0x496046
test byte [ebp - 8], 1
jne 0x496051
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x496081
mov eax, dword [0xa94a40]
cmp eax, edi
je 0x49607e
push eax
call ebx
test eax, eax
je 0x49607e
call eax
mov esi, eax
test esi, esi
je 0x49607e
mov eax, dword [0xa94a44]
cmp eax, edi
je 0x49607e
push eax
call ebx
test eax, eax
je 0x49607e
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0xa94a3c]
call ebx
test eax, eax
je 0x496099
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x49609b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048584b
mov esp, ebp
pop ebp
ret
Function at 0x401006
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x443004]
jne 0x401010
repz ret
jmp fcn.00401762

Function at 0x40659b
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.00403324
and dword [ebp - 4], 0
cmp dword [0x44637c], 0
mov ebx, eax
jne 0x40664c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4066fd
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4066fd
push eax
call fcn.004032b2
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x44637c], eax
call esi
push eax
call fcn.004032b2
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x446380], eax
call esi
push eax
call fcn.004032b2
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x446384], eax
call esi
push eax
call fcn.004032b2
pop ecx
mov dword [0x44638c], eax
test eax, eax
je 0x40664c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004032b2
pop ecx
mov dword [0x446388], eax
mov eax, dword [0x446388]
cmp eax, ebx
je 0x4066a4
cmp dword [0x44638c], ebx
je 0x4066a4
push eax
call fcn.0040332d
push dword [0x44638c]
mov esi, eax
call fcn.0040332d
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4066a4
test edi, edi
je 0x4066a4
call esi
test eax, eax
je 0x40669b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40669b
test byte [ebp - 0xc], 1
jne 0x4066a4
or dword [ebp + 0x10], 0x200000
jmp 0x4066dd
mov eax, dword [0x446380]
cmp eax, ebx
je 0x4066dd
push eax
call fcn.0040332d
pop ecx
test eax, eax
je 0x4066dd
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4066dd
mov eax, dword [0x446384]
cmp eax, ebx
je 0x4066dd
push eax
call fcn.0040332d
pop ecx
test eax, eax
je 0x4066dd
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x44637c]
call fcn.0040332d
pop ecx
test eax, eax
je 0x4066fd
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4066ff
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x43c6c0
Capabilities:
Query environment variable

Disassembly:
mov eax, dword [0x443f00]
push ebx
mov ebx, dword [0x8190d4]
push esi
mov esi, dword [0x818f1c]
push eax
call fcn.0043c5b0
add esp, 4
cmp dword [0x8190d4], 0x2f
jne 0x43c6eb
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
push esi
call fcn.0043c620
add esp, 4
cmp dword [0x8190d4], 0x568
pop esi
pop ebx
jne 0x43c70a
push 0
call dword [sym.imp.KERNEL32.dll_DeleteVolumeMountPointA]
ret
Function at 0x2003d68
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0x10]
mov eax, dword [esi]
and dword [esi], 0
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x2003dc2
cmp dword [ebp + 0x10], 1
je 0x2003da7
cmp dword [ebp + 0x10], 2
je 0x2003da7
push 0xd
pop eax
jmp 0x2003dc2
test edi, edi
mov eax, dword [ebp - 4]
je 0x2003dbe
test eax, eax
je 0x2003dbb
cmp byte [eax + edi - 1], 0
je 0x2003dbe
jmp 0x2003da2
mov byte [edi], 0
mov dword [esi], eax
xor eax, eax
pop edi
pop esi
leave
ret 0xc

Function at 0x200424d
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
in al, dx
push esp
mov byte [ebp - 1], 0x36
mov dword [ebp - 0x1c], 0
jmp 0x2004269
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 7
jge 0x20042bc
mov dword [ebp - 0x20], 0
jmp 0x2004281
mov ecx, dword [ebp - 0x20]
add ecx, 1
mov dword [ebp - 0x20], ecx
cmp dword [ebp - 0x20], 7
jge 0x20042ba
mov dword [ebp - 0x24], 0
jmp 0x2004299
mov edx, dword [ebp - 0x24]
add edx, 1
mov dword [ebp - 0x24], edx
cmp dword [ebp - 0x24], 7
jge 0x20042b8
movsx eax, byte [ebp - 1]
mov ecx, dword [ebp - 0x1c]
imul ecx, dword [ebp - 0x20]
imul ecx, dword [ebp - 0x24]
imul edx, ecx, 0x1d
add eax, edx
mov byte [ebp - 1], al
jmp 0x2004290
jmp 0x2004278
jmp 0x2004260
mov dword [ebp - 0x28], 0
jmp 0x20042ce
mov eax, dword [ebp - 0x28]
add eax, 1
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 8
jge 0x2004315
mov dword [ebp - 0x18], 0
jmp 0x20042e6
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 8
jge 0x2004313
movsx edx, byte [ebp - 1]
cmp edx, 0x58
jge 0x2004307
movsx eax, byte [ebp - 1]
invalid

Function at 0x20043c5
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [ebp - 0x10], ecx
jmp 0x20043d0
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je fcn.020043e4
cmp dword [ebp - 0x38], 1
je 0x20043ef
jmp 0x20043fa
mov edx, dword [ebp - 0x10]
sub edx, 2
mov dword [ebp - 0x10], edx
jmp 0x2004400
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], eax

Function at 0x20043e4
Capabilities:
Access peb ldr_data
Get ntdll base address
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [ebp - 0x10]
add ecx, 2
mov dword [ebp - 0x10], ecx
jmp 0x2004400
movsx ecx, word [ebp - 8]
sub ecx, 0x56
mov word [ebp - 8], cx
mov edx, 0x34
mov word [ebp - 0xc], dx
mov dword [ebp - 0xc], edx
mov eax, dword fs:[0x30]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx + 0x64]
mov dword [ecx + 0x18], eax
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x50]
add eax, 0xc
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x40], ecx
Function at 0x2004441
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edx, dword [ebp - 0x40]
mov eax, dword [edx]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 0x40]
je 0x2004492
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x44], edx
mov eax, 2
imul ecx, eax, 0
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 0x30]
movzx ecx, word [eax + ecx]
push ecx
call fcn.020041bd
add esp, 4
movzx edx, ax
cmp edx, 0x6b
jne 0x2004488
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx + 0x18]
mov dword [eax + 0x28], edx
jmp 0x2004492
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov dword [ebp - 0x14], ecx
jmp 0x2004449
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x28]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x28]
add edx, dword [eax + 0x3c]
mov dword [ebp - 0x54], edx
mov eax, 8
imul ecx, eax, 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x28]
mov edx, dword [ebp - 0x54]
add eax, dword [edx + ecx + 0x78]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x18]
mov dword [eax + 0x44], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x28]
mov edx, dword [ebp - 0x2c]
add ecx, dword [edx + 0x20]
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], ecx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x28]
mov eax, dword [ebp - 0x2c]
add edx, dword [eax + 0x1c]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x68], edx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x28]
mov ecx, dword [ebp - 0x2c]
add eax, dword [ecx + 0x24]

Function at 0x200453d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x13c
mov byte [ebp + 0x77], 0x36
mov dword [ebp + 0x4c], 0
jmp 0x200455e

Function at 0x20045aa
Capabilities:
Resolve function by parsing pe exports

Disassembly:
or ecx, dword [ebx - 0x3d7c03ab]
add dword [ecx - 0x171403ab], ecx
mov eax, dword [ebp + 0x4c]
add eax, 1
mov dword [ebp + 0x4c], eax
cmp dword [ebp + 0x4c], 7
jge 0x20045b1
mov dword [ebp + 0x48], 0
jmp 0x2004576
mov ecx, dword [ebp + 0x48]
add ecx, 1
mov dword [ebp + 0x48], ecx
cmp dword [ebp + 0x48], 7
jge 0x20045af
mov dword [ebp + 0x44], 0
jmp 0x200458e
mov edx, dword [ebp + 0x44]
add edx, 1
mov dword [ebp + 0x44], edx
cmp dword [ebp + 0x44], 7
jge 0x20045ad
movsx eax, byte [ebp + 0x77]
mov ecx, dword [ebp + 0x4c]
ja 0x2004524
dec ebp
dec esp
imul ecx, dword [ebp + 0x48]
imul ecx, dword [ebp + 0x44]
imul edx, ecx, 0x1d
rcr dword [0x4588c203], 1
ja 0x2004597
invalid
ja 0x2004597
fsubr st(3)
mov esi, 0x45c7a4eb
inc eax
add byte [eax], al
add byte [eax], al
jmp 0x200456d
jmp 0x2004555
mov dword [ebp + 0x40], 0
jmp 0x20045c3
Function at 0x20050df
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x2019688]
xor eax, ebp
mov dword [ebp + 0x74], eax
push 0x90
lea eax, [ebp - 0x1c]
push 0
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x2005132
cmp dword [ebp - 0x1c], 5
jae 0x200512e
cmp dword [ebp - 0x1c], 4
jne 0x2005132
cmp dword [ebp - 0x18], 0x5a
jb 0x2005132
xor eax, eax
jmp 0x2005135
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x74]
xor ecx, ebp
call fcn.0201016a
add ebp, 0x78
leave
ret

Function at 0x20053ee
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [eax + 0xc]
test esi, esi
jl 0x2005440
mov eax, dword [ecx + 0x20]
cmp dword [eax + 8], esi
jl 0x2005440
push eax
mov eax, dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 8]
call fcn.020016b6
test esi, esi
jle 0x2005423
lea ecx, [ebp - 8]
call fcn.02001ba7
dec esi
jne 0x2005418
lea ecx, [ebp - 8]
call fcn.020019ba
push 1
push 0
push 0
push dword [eax]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
xor eax, eax
pop esi
leave
ret 0xc

Function at 0x2005447
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x7f98]
mov eax, 0x8018
call fcn.020102f0
mov eax, dword [0x2019688]
xor eax, ebp
mov dword [ebp + 0x7f94], eax
and dword [ebp - 0x78], 0
push ebx
push esi
push 0x8000
lea eax, [ebp - 0x6f]
push 0
push eax
mov ebx, ecx
mov byte [ebp - 0x70], 0
call sub.MSVCR80.dll_memset
mov esi, dword [ebp + 0x7fa0]
add esp, 0xc
test esi, esi
jl 0x2005562
mov eax, dword [ebx + 0x20]
cmp dword [eax + 8], esi
jl 0x2005562
push eax
mov eax, dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x80]
call fcn.020016b6
test esi, esi
jle 0x20054bc
lea ecx, [ebp - 0x80]
call fcn.02001ba7
dec esi
jne 0x20054b1
push edi
lea ecx, [ebp - 0x80]
call fcn.020019ba
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, dword [eax]
push 0xcc
push dword [ebx + 4]
call esi
push edi
mov edi, dword [sym.imp.USER32.dll_SetWindowTextA]
push eax
call edi
lea ecx, [ebp - 0x80]
call fcn.020019ba
mov eax, dword [eax + 4]
push 0xcd
push dword [ebx + 4]
mov dword [ebp - 0x74], eax
call esi
push dword [ebp - 0x74]
push eax
call edi
lea ecx, [ebp - 0x80]
call fcn.020019ba
mov eax, dword [eax]
push 0
push 0x80
push 3
push 0
push 3
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
test eax, eax
mov dword [ebp - 0x74], eax
je 0x2005550
push 0
lea ecx, [ebp - 0x78]
push ecx
push 0x8000
lea ecx, [ebp - 0x70]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x78]
push dword [ebp - 0x74]
mov byte [ebp + eax - 0x70], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xcb
push dword [ebx + 4]
call esi
lea ecx, [ebp - 0x70]
push ecx
push eax
call edi
pop edi
mov ecx, dword [ebp + 0x7f94]
pop esi
xor ecx, ebp
pop ebx
call fcn.0201016a
add ebp, 0x7f98
leave
ret 4
Function at 0xe08f20
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00e09070
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 0xe08f46
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xe08f32
add dl, dl
jne 0xe08f51
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xe08fa4
xor eax, eax
add dl, dl
jne 0xe08f5e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xe09045
add dl, dl
jne 0xe08f6d
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xe08f78
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xe08f83
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xe08f8e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xe08f9a
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xe08f3d
mov eax, 1
add dl, dl
jne 0xe08fb2
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xe08fbd
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xe08fa9
sub eax, ebx
mov ebx, 1
jne 0xe08ff0
mov ecx, 1
add dl, dl
jne 0xe08fd6
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xe08fe1
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xe08fcd
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xe08f3d
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xe09007
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xe09012
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xe08ffe
cmp eax, 0x7d00
jae 0xe09035
cmp eax, 0x500
jb 0xe09030
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xe08f3d
cmp eax, 0x7f
ja 0xe09038
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xe08f3d
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xe09066
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 0xe08f3d
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x7ffe542b
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov eax, dword fs:[0x30]
push edx
cdq
pop edx
clc
add eax, 0
cld
pushal
inc eax
popal
nop
push edx
cdq
pop edx
nop
pushal
inc eax
popal
cld
pushal
inc eax
popal
cld
add eax, 0
cld
lea esp, [esp]
cld
push edx
cdq
pop edx
clc
push eax
pop eax
nop
call 0x7ffe545d
pop edx
clc
clc
nop
xor dx, dx
cld
stc
add edx, 0xd5e0
clc
clc
xor ecx, ecx
cld
mov cl, 0x1e
nop
xor byte [ecx + edx], 0x94
loop 0x7ffe5474
push dword fs:[0x24]
nop
cld
cld
nop
pop dword [edx + 0xa]
stc
clc
mov cl, 0xff
cld
stc
push edx
loop 0x7ffe548e
clc
mov dword [edx + 0x11], 0xffffacbb
push edx
cdq
pop edx
cld
cld
mov ecx, dword [eax + 0x2c]
stc
stc
cld
mov dword [edx + 0x1b], ecx
clc
mov dword [edx + 0x100], ecx
cld
clc
stc
stc
mov dword [eax + 0x2c], esp
stc
add eax, 0
cld
push 0
add eax, 0
push es
pop ds
cld
push 0
stc
push 0
add al, 0
nop
push 0
add eax, 0
cld
clc
push 0x30
and bh, 0xff
push 0x20
push edx
cdq
pop edx
nop
push 0
push 0
cld
add edx, 0xffff7f34
stc
cld
push edx
cld
add eax, 0
push edx
stc
pushal
inc eax
popal
cld
clc
push 0
call dword [edx + 0x820f]
nop
and al, 0xff
cld
add esp, 0x3f8
stc
xor eax, eax
cld
stc
inc eax
nop
ret 0xc

Function at 0x7ffe9c50
Capabilities:
Encode data using xor

Disassembly:
pop esp
sahf
add byte [edx + 0xe175afb], cl
adc al, 0x8d
xor byte [0x689c0bde], dl
imul eax, dword [edx + 0x12], 0x98a31b12
mov edx, 0x56160c00
shl byte [edx + 0x1b], 0xc
add ebp, dword [eax + 0x7b]
wait
xchg ecx, eax
stosb byte es:[edi], al
sbb byte [esi], bl
adc eax, dword [ebx]
and byte [edx], bl
invalid
Function at 0x418e60
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x14000]
push edi
jmp 0x418e7a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x418e81
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x418e70
mov eax, 1
add ebx, ebx
jne 0x418e93
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x418e88
jne 0x418ea4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x418e88
xor ecx, ecx
sub eax, 3
jb 0x418eb8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x418f2a
mov ebp, eax
add ebx, ebx
jne 0x418ec3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x418ed0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x418ef4
inc ecx
add ebx, ebx
jne 0x418ee0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x418ed5
jne 0x418ef1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x418ed5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x418f14
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x418f05
jmp 0x418e76
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x418f14
add edi, ecx
jmp 0x418e76
pop esi
lea edi, [esi + 0x16000]
mov eax, dword [edi]
or eax, eax
je 0x418f7c
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1f524]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1f560]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x418f31
mov ecx, edi
jns 0x418f60
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 + 0x1f568]
or eax, eax
je 0x418f76
mov dword [ebx], eax
add ebx, 4
jmp 0x418f4e
call dword [esi + 0x1f564]
mov ebp, dword [esi + 0x1f56c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1d7]
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 0x418fb0
sub esp, 0xffffff80
jmp 0x4014bc

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

Disassembly:
pushal
nop
nop
mov eax, section..text
mov ebx, 0x408ecc
nop
mov ecx, 0x429f0f18
nop
test eax, eax
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
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x253b1216
nop
nop
nop
test eax, eax
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x4096e0
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409794
jmp 0x409789
cmp dword [esi + 0x10], 0x1000
jne 0x409775
test byte [esi + 0x15], 1
jne 0x409775
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x409734
cmp eax, 2
je 0x409734
cmp eax, 0x10
je 0x409734
cmp eax, 0x20
jne 0x409749
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x409749
mov bl, 1
xor ebp, ebp
jmp 0x40975a
mov eax, dword [esi]
add eax, ebp
call fcn.004096d8
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x40974d
test bl, bl
je 0x409775
push esp
mov eax, dword [esp + 4]
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 ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409794
mov eax, dword [esi + 4]
cmp eax, edi
je 0x40970c
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219