joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1ca6058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.01ca61a8
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 0x1ca607e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1ca606a
add dl, dl
jne 0x1ca6089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1ca60dc
xor eax, eax
add dl, dl
jne 0x1ca6096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1ca617d
add dl, dl
jne 0x1ca60a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1ca60b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1ca60bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1ca60c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x1ca60d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1ca6075
mov eax, 1
add dl, dl
jne 0x1ca60ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1ca60f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1ca60e1
sub eax, ebx
mov ebx, 1
jne 0x1ca6128
mov ecx, 1
add dl, dl
jne 0x1ca610e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1ca6119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1ca6105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1ca6075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1ca613f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1ca614a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1ca6136
cmp eax, 0x7d00
jae 0x1ca616d
cmp eax, 0x500
jb 0x1ca6168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1ca6075
cmp eax, 0x7f
ja 0x1ca6170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1ca6075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1ca619e
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 0x1ca6075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x8531b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00853140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00853140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00853140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00853140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x853bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x853c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x86587c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x853c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x853c52
xor eax, eax
pop esi
leave
ret 4

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

Disassembly:
pushal
nop
mov eax, section..data
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408ecc
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x688f14c0
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..text
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
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
nop
mov esi, 0x1ca03aee
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
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 + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x40810b
sub esp, 0xffffff80
jmp 0x402130

Function at 0x41cf10
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
call fcn.0041d340
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x41cf42
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 8]
call dword [0x447964]
call dword [ebp - 8]
jmp 0x41cf4c
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esp, ebp
pop ebp
ret
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x17474c67
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x79446830
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219

Function at 0x6545d3
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x610192b5
mov esp, 0xcb0680d5
sal dword [edi + 0x4c], 1
cld
pop ss
inc edx
add dword [edi + 0x70a0a678], ebp
sbb al, 0x11
shr dword [ebx], 1
xor edx, dword [ecx]
std
pop ss
xor byte [eax], dl
aam 0x23
lodsb al, byte [esi]
and byte [0xf8fc7f5c], bh
fst qword [eax + 0x11]
insb byte es:[edi], dx
mov cl, 3
les esp, [ebx + 0x464f4247]
inc edx
dec edi
inc esi
inc edx
dec edi
inc esi
stosb byte es:[edi], al
test byte [ebp + 0x63128954], dh
test eax, 0x3a55561
in eax, 0x74
lahf
lcall 0xb3a1, 0x85ee5ed2
mov dl, 0xd6
nop
dec esi
ja 0x6545a1
aam 0x21
sub esi, eax
fcomp qword [ebp - 0x431ea97f]
std
jo 0x654610
arpl word [esp + esi*2 - 0x3c], dx
movsd dword es:[edi], dword [esi]
bound esi, qword [edi + 0x5072a5fb]
push edx
fild dword [ecx - 0x5d57ff35]
daa
loope 0x65462d
add byte [eax + 0x17e127a2], ch
mov dword [0x56151e7], eax
int1
ret 0xe6e3
idiv dword [edi - 0x4f]
jo 0x6545fe
mov al, byte [0xea6e2611]
jp 0x65467f
jno 0x654694
bound edx, qword [edi]
sbb edx, dword [0x8de1a58e]
ror byte [ebx], cl
adc bl, 0x91
les edx, [edi + 0x1197a91e]
invalid
or eax, dword [eax - 0x683b6e2d]
push ds
test eax, 0xffc51197
iretd
mov ch, 0xa7
salc
dec edi
bound esp, qword [ebx + 0x4d]
xchg esp, eax
xchg edx, eax
dec edi
xchg edi, eax
aad 0xf2
xchg edx, eax
add ebx, dword [ecx + 0x53]
dec edi
aad 0xfc
fadd dword [ebx + 0x787d2250]
push cs
cmove ebp, dword [edx + 0x43]
ret 0x214c
mov ebp, 0xa26063cb
jns 0x654659
adc dword [ebx - 0x2d09cb45], esi
mov edx, dword [ebx]
pop ds
invalid
jle 0x654645
popal
xor eax, 0x40c2f857
adc dword [0x32515e64], esi
xchg dword [ebp + 0x41], ebp
and eax, 0x8b5619f0
xchg esp, eax
invalid

Function at 0x408919
Capabilities:
Encode data using xor

Disassembly:
sub esp, 4
mov dword [esp], 0x4085d8
pop esi
add edi, 0x9879b332
call fcn.0040894a
mov edi, edi
mov edi, edi
xor dword [ebx], esi
sub ecx, edi
inc ebx
cmp ebx, eax
jne fcn.00408919
add edi, 0x4eed50fb
dec ecx
ret
Function at 0x4096c0
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x450
mov eax, dword [0x40d018]
xor eax, ebp
mov dword [ebp - 0x40], eax
xor eax, eax
mov word [ebp - 0x248], ax
push 0x206
push 0
lea ecx, [ebp - 0x246]
push ecx
call sub.MSVCR90.dll_memset
add esp, 0xc
xor edx, edx
mov word [ebp - 0x450], dx
push 0x206
push 0
lea eax, [ebp - 0x44e]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.MSVCR90.dll_wcslen]
add esp, 4
test eax, eax
jbe 0x40974f
mov edx, dword [ebp + 0xc]
push edx
push 0x104
lea eax, [ebp - 0x450]
push eax
call fcn.004062c0
push 0x40b3b4
push 0x104
lea ecx, [ebp - 0x450]
push ecx
call fcn.00406310
jmp 0x40979e
lea edx, [ebp - 0x450]
push edx
push 0
push 0
push 0x2b
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x409780
push 0x40b3b8
push 0x104
lea eax, [ebp - 0x450]
push eax
call fcn.00406310
jmp 0x40979e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x40b3d8
push str.SHGetFolderPath_failed
call fcn.004080a0
add esp, 0xc
jmp 0x409874
lea ecx, [ebp - 0x450]
push ecx
push 0x104
lea edx, [ebp - 0x248]
push edx
call fcn.004062c0
push str.AdobeARMHelper.exe
push 0x104
lea eax, [ebp - 0x248]
push eax
call fcn.00406310
push 0xffffffffffffffff
lea ecx, [ebp - 0x248]
push ecx
call fcn.004095f0
add esp, 8
test eax, eax
jne 0x4097fc
push 0x357
lea edx, [ebp - 0x248]
push edx
push str.Service_workflow_failed__file_not_valid:
call fcn.004080a0
add esp, 0xc
jmp 0x409874
mov dword [ebp - 0x3c], 0
push 0x38
push 0
lea eax, [ebp - 0x38]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x540
mov dword [ebp - 0x20], 5
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x28], ecx
lea edx, [ebp - 0x248]
mov dword [ebp - 0x2c], edx
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x40985b
push 0
push 0x40b48c
push str.ShellExecuteEx_succeeded
call fcn.004080a0
add esp, 0xc
jmp 0x409874
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x40b4c4
push str.ShellExecuteEx_failed
call fcn.004080a0
add esp, 0xc
mov ecx, dword [ebp - 0x40]
xor ecx, ebp
call fcn.00407458
mov esp, ebp
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
nop
mov ecx, 0x34965a5b
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x43304e
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x6f392ea1
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
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 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
nop
mov ebx, dword [eax]
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
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0xd8139f
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd4
push ebx
push esi
push edi
lea eax, [ebp - 0xd0]
push eax
mov dword [ebp - 0xd0], 0x9c
call dword [0xd83074]
cmp dword [ebp - 0xcc], 6
jae 0xd814da
lea eax, [ebp - 0x24]
push eax
push str.SeDebugPrivilege
push 0
call dword [0xd83008]
xor edi, edi
inc edi
cmp eax, edi
jne 0xd813f1
lea esi, [ebp - 0x24]
call fcn.00d8119f
jmp 0xd813f3
xor eax, eax
test eax, eax
je 0xd814da
call fcn.00d8120e
test eax, eax
je 0xd814da
cmp dword [ebp - 0xc8], edi
jne 0xd8141b
lea ebx, [eax + 0x84]
mov dword [ebp - 4], ebx
jmp 0xd81432
cmp dword [ebp - 0xc8], 2
jne 0xd814da
add eax, 0x94
mov dword [ebp - 4], eax
mov ebx, eax
push edi
push 0xc
push 0xc
push ebx
lea esi, [ebp - 0x14]
call fcn.00d81319
test eax, eax
je 0xd814da
call dword [0xd83078]
cmp dword [ebp - 0x14], eax
jne 0xd814da
mov eax, dword [ebp - 0x10]
mov ecx, 0x80000000
cmp eax, ecx
jbe 0xd814da
mov edx, dword [ebp - 0xc]
cmp edx, ecx
jbe 0xd814da
push edi
push 8
pop edi
push edi
push edi
push eax
lea esi, [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov dword [ebp - 8], edx
call fcn.00d81319
push 1
push edi
push edi
push dword [ebp - 8]
lea esi, [ebp - 0x2c]
call fcn.00d81319
add ebx, 4
cmp dword [ebp - 0x18], ebx
jne 0xd814da
cmp dword [ebp - 0x2c], ebx
jne 0xd814da
mov eax, dword [ebp - 8]
push 2
push edi
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x20]
push edi
push eax
lea esi, [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
call fcn.00d81319
push 2
push edi
push edi
push dword [ebp - 8]
lea esi, [ebp - 0x2c]
call fcn.00d81319
push 2
push 0xc
push 0xc
push dword [ebp - 4]
lea esi, [ebp - 0x14]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
call fcn.00d81319
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret

Function at 0xd81af9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, eax
xor edx, edx
xor eax, eax
cmp esi, 1
jne 0xd81b11
push esi
call fcn.00d81638
jmp 0xd81b87
cmp esi, 2
jne 0xd81b2b
push edx
push edx
push esi
push fcn.00d81638
push edx
push edx
call dword [0xd830a4]
xor eax, eax
inc eax
jmp 0xd81b87
cmp esi, 3
jne 0xd81b40
xor esi, esi
xor dl, byte [esi + ecx]
inc esi
cmp esi, 6
jb 0xd81b32
mov byte [ecx + 6], dl
jmp 0xd81b87
cmp esi, 4
jne 0xd81b5f
mov al, byte [ecx + 6]
push 5
pop edx
xor al, byte [edx + ecx]
dec edx
cmp edx, 1
jge 0xd81b4b
xor edx, edx
cmp al, byte [ecx]
sete dl
mov eax, edx
jmp 0xd81b87
cmp esi, 5
jne 0xd81b87
mov esi, dword [ecx + 8]
mov eax, dword [ecx + 0x28]
mov dword [ebp - 4], esi
cmp esi, edx
jne 0xd81b7a
mov dword [ebp - 4], 0x7c59af1e
jmp 0xd81b84
push ecx
mov ecx, 0x10
rol dword [ebp - 4], cl
pop ecx
xor eax, dword [ebp - 4]
pop esi
leave
ret
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x459004]
jne 0x40100a
repz ret
jmp fcn.00401340

Function at 0x408833
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.0040495c
and dword [ebp - 4], 0
cmp dword [0x45b278], 0
mov ebx, eax
jne 0x4088e4
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x408995
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x408995
push eax
call fcn.004048ea
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x45b278], eax
call esi
push eax
call fcn.004048ea
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x45b27c], eax
call esi
push eax
call fcn.004048ea
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x45b280], eax
call esi
push eax
call fcn.004048ea
pop ecx
mov dword [0x45b288], eax
test eax, eax
je 0x4088e4
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004048ea
pop ecx
mov dword [0x45b284], eax
mov eax, dword [0x45b284]
cmp eax, ebx
je 0x40893c
cmp dword [0x45b288], ebx
je 0x40893c
push eax
call fcn.00404965
push dword [0x45b288]
mov esi, eax
call fcn.00404965
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40893c
test edi, edi
je 0x40893c
call esi
test eax, eax
je 0x408933
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x408933
test byte [ebp - 0xc], 1
jne 0x40893c
or dword [ebp + 0x10], 0x200000
jmp 0x408975
mov eax, dword [0x45b27c]
cmp eax, ebx
je 0x408975
push eax
call fcn.00404965
pop ecx
test eax, eax
je 0x408975
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x408975
mov eax, dword [0x45b280]
cmp eax, ebx
je 0x408975
push eax
call fcn.00404965
pop ecx
test eax, eax
je 0x408975
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x45b278]
call fcn.00404965
pop ecx
test eax, eax
je 0x408995
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x408997
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4558c4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
xor edi, edi
cmp esi, 0x19f
jne 0x4558e4
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push edi
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
xor edx, edx
cmp esi, edi
jle 0x455904
lea ecx, [ebp - 4]
mov dword [ebp - 4], edi
call fcn.004558bc
mov eax, dword [ebp + 8]
mov cl, byte [ebp - 4]
add eax, edx
xor byte [eax], cl
inc edx
cmp edx, esi
jl 0x4558ea
pop edi
cmp esi, 0x2d
jne 0x45591b
or dword [0x4e4684], 0xffffffff
mov dword [0x4e4680], 0xa62e7790
leave
ret
Function at 0x40129a
Capabilities:
Read .ini file

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push dword [esp + 0x14]
mov ebx, 0x4030a0
mov edi, str.autorun
push 0x104
push ebp
push ebx
push str.RuntimePackage
push edi
call esi
cmp eax, 1
jae 0x4012ce
xor eax, eax
jmp 0x401308
push dword [esp + 0x14]
lea eax, [ebp + 0x105]
push 0x104
push eax
push ebx
push str.RegPath
push edi
call esi
cmp eax, 1
jb 0x4012ca
push dword [esp + 0x14]
add ebp, 0x20a
push 0x20
push ebp
push ebx
push str.Version
push edi
call esi
cmp eax, 1
sbb eax, eax
inc eax
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x40130d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push ebx
push edi
push 0x41
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x213]
mov byte [ebp - 0x214], bl
rep stosd dword es:[edi], eax
push 0x41
lea edi, [ebp - 0x10b]
pop ecx
mov byte [ebp - 0x10c], bl
push dword [ebp + 8]
mov dword [ebp - 4], ebx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x10c]
push str.Software_s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 4]
mov dword [ebp + 8], 0x104
push eax
push 1
lea eax, [ebp - 0x10c]
push ebx
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4013a5
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x214]
push eax
push ebx
push ebx
push str.Version
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
test eax, eax
je 0x4013a9
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x4013c2
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x214]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 1
pop eax
pop edi
pop ebx
leave
ret

Function at 0x430000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x5e527871
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
mov ecx, 0x50877e22
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219