joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47d13c
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x1c
call fcn.00402f58
lea eax, [ebx + 0x14]
push eax
push 0
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0xc]
push eax
lea eax, [ebx + 8]
push eax
push 0
lea eax, [ebx + 4]
push eax
push ebx
push 0
push 0
push 0
mov eax, dword [esi + 4]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
sete al
mov edx, dword [0x4a5bbc]
cmp byte [edx + 0xc], 0
je 0x47d1a0
mov edx, dword [0x4a5bac]
cmp dword [edx], 2
jne 0x47d1a0
mov edx, dword [ebx + 4]
add dword [ebx + 4], edx
mov edx, dword [ebx + 0xc]
add dword [ebx + 0xc], edx
pop esi
pop ebx
ret

Function at 0x47d1a4
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x47d25c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x44]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.0047d13c
test al, al
je 0x47d23e
mov ecx, dword [ebp - 0x24]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.00404470
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x47d23e
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404840
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumKeyExA
mov eax, dword [ebp - 0xc]
call fcn.00404840
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.00404578
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x47d1f7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47d263
lea eax, [ebp - 0x2c]
call fcn.00404380
lea eax, [ebp - 0xc]
call fcn.00404380
ret

Function at 0x47d388
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.0047ccc8
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00404840
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x47d3e6
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4a582c]
mov dl, 1
mov eax, dword [0x47cbc0]
call fcn.0040c408
call fcn.00403d10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x47d3f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00404840
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x47d448
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4a5bc8]
mov dl, 1
mov eax, dword [0x47cbc0]
call fcn.0040c408
call fcn.00403d10
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0047ccf8
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x481c48
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov edi, ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x481d03
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [esi + 0x30]
call fcn.00482120
mov ebx, eax
lea eax, [ebx + 0x18]
mov edx, dword [ebp - 4]
call fcn.004043d4
lea eax, [ebx + 0x10]
mov edx, dword [ebp + 8]
call fcn.004043d4
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x1c], eax
mov eax, edi
call fcn.00404640
test eax, eax
jle 0x481ca8
lea eax, [ebx + 0x14]
mov edx, edi
call fcn.004043d4
jmp 0x481cd9
mov eax, dword [ebx + 0x10]
call fcn.00404640
test eax, eax
jle 0x481ccc
lea edx, [ebp - 8]
mov eax, dword [ebx + 0x10]
call fcn.0047f008
mov edx, dword [ebp - 8]
lea eax, [ebx + 0x14]
call fcn.004043d4
jmp 0x481cd9
lea eax, [ebx + 0x14]
mov edx, 0x481d1c
call fcn.004043d4
mov eax, ebx
call fcn.0048238c
cdq
add eax, dword [esi + 0x28]
adc edx, dword [esi + 0x2c]
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x481d0a
lea eax, [ebp - 8]
call fcn.00404380
ret
Function at 0x48a75c
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x48a764
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x48a900
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 8]
mov edx, 0x48a918
mov eax, esi
call fcn.004885e4
mov edx, dword [ebp - 8]
lea eax, [ebx + 0xc]
call fcn.004043d4
lea ecx, [ebp - 0xc]
mov edx, 0x48a92c
mov eax, esi
call fcn.004885e4
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0x28]
call fcn.004043d4
lea ecx, [ebp - 0x10]
mov edx, 0x48a944
mov eax, esi
call fcn.004885e4
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x10]
call fcn.004043d4
lea ecx, [ebp - 0x14]
mov edx, 0x48a960
mov eax, esi
call fcn.004885e4
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x14]
call fcn.004043d4
lea ecx, [ebp - 0x18]
mov edx, 0x48a97c
mov eax, esi
call fcn.004885e4
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x24]
call fcn.004043d4
lea ecx, [ebp - 0x20]
mov edx, 0x48a994
mov eax, esi
call fcn.004885e4
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.004087f8
mov eax, dword [ebp - 0x1c]
or edx, 0xffffffff
call fcn.00408bec
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x24]
mov edx, 0x48a9ac
mov eax, esi
call fcn.004885e4
mov eax, dword [ebp - 0x24]
call fcn.0047f194
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x28]
mov edx, 0x48a9bc
mov eax, esi
call fcn.004885e4
mov eax, dword [ebp - 0x28]
call fcn.0047f194
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 4]
mov edx, 0x48a9d4
mov eax, esi
call fcn.004885e4
mov eax, dword [ebp - 4]
call fcn.0047ecf0
test al, al
je 0x48a8b7
mov eax, dword [ebp - 4]
call fcn.00408bb0
mov edi, eax
test edi, edi
jl 0x48a8ad
call fcn.0040a580
mov dword [ebp - 0x2c], edi
fild dword [ebp - 0x2c]
fdiv dword [0x48a9dc]
faddp st(1)
fstp qword [ebx + 0x38]
wait
jmp 0x48a8c3
xor eax, eax
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], eax
jmp 0x48a8c3
mov eax, dword [ebp - 4]
call fcn.0047f194
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x48a9e8
mov eax, esi
call fcn.004885e4
mov edx, dword [ebp - 0x30]
lea eax, [ebx + 0x48]
call fcn.004043d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48a907
lea eax, [ebp - 0x30]
call fcn.00404380
lea eax, [ebp - 0x28]
mov edx, 0xa
call fcn.004043a4
ret

Function at 0x491b50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x491baa
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.00491b40
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.0047da8c
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.0047d68c
mov edx, dword [esi + 0xc]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x491bb1
lea eax, [ebp - 4]
call fcn.00404380
ret
Function at 0x49b310
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x49b570
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x49b373
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.0049ae28
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040cd1c
cmp al, 1
jne 0x49b373
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.0049b0f0
test al, al
je 0x49b4ff
cmp dword [ebp - 8], 0
jge 0x49b391
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.0049ae28
mov eax, dword [ebp - 0x210]
call fcn.00404640
cmp ebx, eax
jge 0x49b3db
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.0049ae28
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x4a5b98]
and eax, 0xff
bt dword [edx], eax
jae 0x49b3db
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x49b3ef
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0049b2ec
cmp ebx, dword [ebp - 8]
je 0x49b4f1
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x49b41b
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403778
and eax, 0x7f
movzx eax, word [eax*2 + 0x4a53c0]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x49b4de
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403778
and eax, 0x7f
movzx eax, word [eax*2 + 0x4a53c0]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.00449aa4
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403778
and eax, 0x7f
movzx eax, word [eax*2 + 0x4a53c0]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.00449aa4
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49b4e5
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x49b552
cmp dword [ebp - 8], 0
jge 0x49b50a
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.0049ae28
mov eax, dword [ebp - 0x218]
call fcn.00404640
cmp eax, dword [ebp - 8]
jg 0x49b544
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.0049ae28
mov eax, dword [ebp - 0x21c]
call fcn.00404640
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0049b2ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49b577
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.004043a4
ret
Function at 0x49f660
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
xor edx, edx
mov dword [ebp - 0x21c], edx
mov dword [ebp - 0x218], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x49f760
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404380
xor eax, eax
push ebp
push 0x49f733
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xff
lea eax, [ebp - 0x214]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
lea eax, [ebp - 0x218]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004045f0
mov eax, dword [ebp - 0x218]
lea edx, [ebp - 0x14]
call fcn.00409048
push 0
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push pe_nt_image_headers32
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x21c]
mov ecx, 0x49f774
mov edx, dword [ebp - 0x14]
call fcn.0040468c
mov eax, dword [ebp - 0x21c]
call fcn.00404840
push eax
call sub.kernel32.dll_GetVolumeInformationA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49f73a
mov eax, dword [ebp - 8]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 4]
call fcn.00408b60
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

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

Disassembly:
pushal
call 0x43000c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
nop
jmp fcn.00401219
Function at 0x405ba0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, 0x42fa50
push esi
call fcn.004060e4
push esi
call fcn.00405b43
mov edi, eax
test edi, edi
jne 0x405bc1
xor eax, eax
jmp 0x405c19
push edi
call fcn.00406378
test byte [0x434ef8], 0x80
je 0x405bde
mov ax, word [edi]
test ax, ax
je 0x405bbd
cmp ax, 0x5c
je 0x405bbd
sub edi, esi
sar edi, 1
jmp 0x405bf8
call fcn.00406427
test eax, eax
je 0x405bf2
test byte [eax], 0x10
je 0x405bbd
push esi
call fcn.00405ae4
push esi
call sub.kernel32.dll_lstrlenW
cmp eax, edi
push esi
jg 0x405be4
call fcn.00405a98
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop edi
pop esi
ret 4

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

Disassembly:
push esi
push dword [esp + 8]
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
je 0x405cb3
and al, 0xfe
push eax
push dword [esp + 0xc]
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
mov eax, esi
pop esi
ret 4

Function at 0x405cb9
Capabilities:
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
mov ecx, eax
push 0
inc ecx
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push dword [esp + 0x14]
push 0
push 1
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.kernel32.dll_CreateFileW]
ret 0xc
Function at 0x45a8d0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x3e000]
push edi
or ebp, 0xffffffff
jmp 0x45a8f2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x45a8f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45a8e8
mov eax, 1
add ebx, ebx
jne 0x45a90b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x45a91c
jne 0x45a93b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45a93b
dec eax
add ebx, ebx
jne 0x45a928
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x45a900
add ebx, ebx
jne 0x45a937
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x45a98d
xor ecx, ecx
sub eax, 3
jb 0x45a953
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x45a9c2
sar eax, 1
mov ebp, eax
jmp 0x45a95e
add ebx, ebx
jne 0x45a95e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45a92c
inc ecx
add ebx, ebx
jne 0x45a96c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45a92c
add ebx, ebx
jne 0x45a979
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x45a96e
jne 0x45a98a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x45a96e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x45a9ac
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x45a99e
jmp 0x45a8ee
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x45a9ac
add edi, ecx
jmp 0x45a8ee
pop esi
mov edi, esi
mov ecx, 0x8b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x45a9ca
cmp byte [edi], 5
jne 0x45a9ca
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 0x45a9cf
lea edi, [esi + 0x58000]
mov eax, dword [edi]
or eax, eax
je 0x45aa47
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x5a0c8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x5a104]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x45a9fc
mov ecx, edi
jns 0x45aa2b
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 + 0x5a108]
or eax, eax
je 0x45aa41
mov dword [ebx], eax
add ebx, 4
jmp 0x45aa19
call dword [esi + 0x5a118]
mov ebp, dword [esi + 0x5a10c]
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 0x45aa7b
sub esp, 0xffffff80
jmp 0x40138c
Function at 0x40689a
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x4068be
xor eax, eax
test eax, eax
je 0x4068d1
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x4068d1
xor ecx, ecx
jmp 0x4068d4
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

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

Disassembly:
cmp dword [0x43190c], 0
push esi
jne 0x406a2e
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406a08
mov dword [ecx*4 + 0x431908], eax
inc ecx
cmp ecx, 0x100
jl 0x406a03
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406a5f
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x431908]
xor eax, esi
inc ecx
dec edx
jne 0x406a41
pop edi
not eax
pop esi
ret 0xc

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

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

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x402f74
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x469020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x40300c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402fec
xor eax, eax
push ebp
push 0x402fe5
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403028
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402fec
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x469020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x469020], ax
mov esp, ebp
pop ebp
ret

Function at 0x403cd0
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x46b048], 0
je 0x403d31
cmp word [0x46b21c], 0xd7b2
jne 0x403cf9
cmp dword [0x46b224], 0
jbe 0x403cf9
mov eax, 0x46b218
call dword [0x46b234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x46906c
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle_1
push eax
call sub.KERNEL32.DLL_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x403d58
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle_1
push eax
call sub.KERNEL32.DLL_WriteFile_1
pop edx
ret
cmp byte [0x469030], 0
jne 0x403d4d
push 0
push 0x469064
push 0x46906c
push 0
call sub.user32.dll_MessageBoxA_1
pop edx
ret