joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409d10
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 8
xor ecx, ecx
xor eax, eax
push ebp
mov ebp, dword [esp + 0x18]
mov byte [eax + ebp], al
inc eax
cmp eax, 0x100
jl 0x409d1c
mov eax, dword [esp + 0x14]
mov byte [ebp + 0x100], cl
cmp eax, ecx
mov byte [ebp + 0x101], cl
jle 0x409daf
push ebx
push esi
push edi
mov byte [esp + 0x24], cl
xor esi, esi
mov ebx, ebp
mov dword [esp + 0x10], pe_nt_image_headers32
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
and edi, 0xff
xor eax, eax
xor edx, edx
mov al, byte [edi + ecx]
mov dl, byte [ebx]
add esi, eax
add edx, esi
and edx, 0x800000ff
jns 0x409d79
dec edx
or edx, 0xffffff00
inc edx
mov byte [esp + 0x14], dl
mov esi, dword [esp + 0x14]
and esi, 0xff
lea eax, [esi + ebp]
push eax
push ebx
call fcn.00409dc0
lea eax, [edi + 1]
add esp, 8
cdq
idiv dword [esp + 0x20]
mov eax, dword [esp + 0x10]
inc ebx
dec eax
mov dword [esp + 0x10], eax
mov byte [esp + 0x24], dl
jne 0x409d4e
pop edi
pop esi
pop ebx
pop ebp
add esp, 8
ret

Function at 0x409de0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0xc
mov edx, dword [esp + 0x14]
push ebx
push esi
mov esi, dword [esp + 0x20]
xor ebx, ebx
mov al, byte [esi + 0x100]
mov cl, byte [esi + 0x101]
test edx, edx
mov byte [esp + 0x20], al
mov byte [esp + 8], cl
jle 0x409edd
push ebp
mov ebp, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x28]
and edi, 0xff
and ebp, 0xff
lea eax, [edi + 1]
and eax, 0x800000ff
jns 0x409e32
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x28], al
xor ecx, ecx
mov edi, dword [esp + 0x28]
and edi, 0xff
mov cl, byte [edi + esi]
lea eax, [edi + esi]
add ecx, ebp
mov dword [esp + 0x18], eax
and ecx, 0x800000ff
jns 0x409e5e
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ebp, dword [esp + 0x10]
and ebp, 0xff
lea ecx, [esi + ebp]
push ecx
push eax
mov dword [esp + 0x1c], ecx
call fcn.00409dc0
mov eax, dword [esp + 0x1c]
xor edx, edx
xor ecx, ecx
add esp, 8
mov dl, byte [eax]
mov eax, dword [esp + 0x18]
mov cl, byte [eax]
add edx, ecx
and edx, 0x800000ff
jns 0x409e9f
dec edx
or edx, 0xffffff00
inc edx
mov eax, dword [esp + 0x20]
and edx, 0xff
mov cl, byte [edx + esi]
mov dl, byte [ebx + eax]
xor dl, cl
mov byte [ebx + eax], dl
mov eax, dword [esp + 0x24]
inc ebx
cmp ebx, eax
jl 0x409e21
mov dl, byte [esp + 0x28]
mov al, byte [esp + 0x10]
pop edi
mov byte [esi + 0x100], dl
mov byte [esi + 0x101], al
pop ebp
pop esi
pop ebx
add esp, 0xc
ret
mov byte [esi + 0x100], al
mov byte [esi + 0x101], cl
pop esi
pop ebx
add esp, 0xc
ret
Function at 0x40aea0
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + 0x2c74b24]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x2c74ab4]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x40aeb3
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x40aef4
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x2c74b5c]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x40af26
mov bl, byte [esp + ecx + 0x4c]
jmp 0x40af2a
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x40af1b
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x40af48
mov bl, byte [esp + ecx + 0x4c]
jmp 0x40af4c
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x40af3d
xor ecx, ecx
mov eax, 0x2c74ac4
xor ebx, ebx
mov bl, byte [ecx + 0x2c74b6c]
cmp byte [esp + ebx + 0x14], 0
je 0x40af77
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x2c74b84]
cmp byte [esp + ebx + 0x14], 0
je 0x40af8e
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, 0x2c74b24
jl 0x40af5e
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x40aee7
lea edx, [esp + 0x84]
push edx
call fcn.0040afd0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x40af70
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x579bdb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
mov ebx, ecx
mov dword [ebp - 0x10], ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea esi, [ebx + 0x18]
mov dword [ebp + 8], esi
mov eax, dword [edi]
mov edx, dword [edi + 4]
mov dword [ebx], eax
mov dword [ebx + 4], edx
mov eax, dword [edi + 8]
mov edx, dword [edi + 0xc]
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], edx
mov eax, dword [edi + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [edi + 0x14]
mov dword [ebx + 0x14], eax
mov eax, dword [edi + 0x18]
sub eax, 0x10
push eax
call fcn.0040c100
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 0
lea esi, [ebx + 0x1c]
mov eax, dword [edi + 0x1c]
sub eax, 0x10
mov dword [ebp + 8], esi
push eax
call fcn.0040c100
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 1
lea esi, [ebx + 0x60]
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x24]
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], ecx
mov eax, dword [edi + 0x28]
mov ecx, dword [edi + 0x2c]
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], ecx
mov eax, dword [edi + 0x30]
mov ecx, dword [edi + 0x34]
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x34], ecx
mov eax, dword [edi + 0x38]
mov ecx, dword [edi + 0x3c]
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], ecx
mov eax, dword [edi + 0x40]
mov ecx, dword [edi + 0x44]
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x44], ecx
mov eax, dword [edi + 0x48]
mov dword [ebx + 0x48], eax
mov eax, dword [edi + 0x50]
mov ecx, dword [edi + 0x54]
mov dword [ebx + 0x50], eax
mov dword [ebx + 0x54], ecx
mov eax, dword [edi + 0x58]
mov ecx, dword [edi + 0x5c]
mov dword [ebx + 0x58], eax
mov dword [ebx + 0x5c], ecx
mov eax, dword [edi + 0x60]
sub eax, 0x10
mov dword [ebp + 8], esi
push eax
call fcn.0040c100
add esp, 0xc
add eax, 0x10
mov dword [esi], eax
mov eax, dword [edi + 0x64]
mov dword [ebx + 0x64], eax
mov eax, ebx
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x415d70
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3000
call fcn.00557630
push esi
mov esi, ecx
push edi
mov edi, edx
lea edx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x415d86
sub esi, edx
cmp esi, 0x800
jb 0x415daa
call fcn.0055f457
pop edi
pop esi
mov dword [eax], 0x26
xor eax, eax
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x415db6
cmp byte [esi + ecx - 1], 0x5c
jne 0x415db6
dec esi
push esi
push ecx
lea eax, [ebp - 0x800]
push eax
call fcn.00559510
mov byte [ebp + esi - 0x800], 0
add esp, 0xc
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x415dd4
sub esi, ecx
cmp esi, 0x800
jae 0x415d97
test esi, esi
je 0x415df1
cmp byte [esi + edi - 1], 0x5c
jne 0x415df1
dec esi
push ebx
push esi
lea eax, [ebp - 0x1000]
push edi
push eax
call fcn.00559510
add esp, 0xc
mov byte [ebp + esi - 0x1000], 0
mov esi, dword [0x58941c]
lea eax, [ebp - 0x3000]
push 0x800
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x800]
push eax
push 0
push 0xfde9
call esi
test eax, eax
jle 0x415e55
push 0x800
lea eax, [ebp - 0x2000]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x1000]
push eax
push 0
push 0xfde9
call esi
test eax, eax
jg 0x415e7a
call dword [0x58945c]
xor ebx, ebx
cmp eax, 0x7a
setne bl
lea ebx, [ebx*4 + 0x26]
call fcn.0055f457
mov dword [eax], ebx
xor eax, eax
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x2000]
push eax
lea eax, [ebp - 0x3000]
push eax
call fcn.00561861
add esp, 8
neg eax
sbb eax, eax
inc eax
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x416020
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1804
call fcn.00557630
push esi
mov esi, ecx
lea edx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x416033
sub esi, edx
cmp esi, 0x800
jb 0x416056
call fcn.0055f457
mov dword [eax], 0x26
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x416062
cmp byte [esi + ecx - 1], 0x5c
jne 0x416062
dec esi
push esi
push ecx
lea eax, [ebp - 0x804]
push eax
call fcn.00559510
add esp, 8
mov byte [ebp + esi - 0x804], 0
lea edx, [ebp - 4]
lea ecx, [ebp - 0x804]
push 0
call fcn.00415b70
add esp, 8
test eax, eax
je 0x41604f
mov eax, dword [ebp - 4]
sub eax, 0
je 0x4160c0
sub eax, 1
je 0x4160ae
sub eax, 1
jne 0x41604f
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
call fcn.0055f457
pop esi
mov dword [eax], 1
xor eax, eax
mov esp, ebp
pop ebp
ret
push 0x800
lea eax, [ebp - 0x1804]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x804]
push eax
push 0
push 0xfde9
call dword [0x58941c]
test eax, eax
jg 0x41610b
push ebx
call dword [0x58945c]
xor ebx, ebx
cmp eax, 0x7a
setne bl
lea ebx, [ebx*4 + 0x26]
call fcn.0055f457
mov dword [eax], ebx
xor eax, eax
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x1804]
push eax
call fcn.0056121d
add esp, 4
neg eax
sbb eax, eax
inc eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x416130
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
mov ebx, ecx
mov esi, dword [eax]
sub ebx, edi
mov dword [esp + 0x14], ebx
je 0x416297
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
mov dword [esp + 0x10], 0
cmp dword [esp + 0x10], edx
ja 0x4162a3
jb 0x416177
cmp ebx, eax
ja 0x4162a3
sub eax, ebx
sbb edx, 0
cmp dword [ebp + 0x10], edx
ja 0x4162a3
mov edx, dword [ebp + 0xc]
jb 0x416192
cmp edx, eax
ja 0x4162a3
add edx, dword [esi + 0x28]
mov eax, dword [esi + 0x2c]
adc eax, dword [ebp + 0x10]
cmp dword [esi + 0x20], edx
jne 0x4161a5
cmp dword [esi + 0x24], eax
je 0x4161fa
push 0
push eax
push edx
push dword [esi + 0x18]
call fcn.00560ee2
add esp, 0x10
test eax, eax
je 0x4161f7
mov dword [esi + 0x20], 0xffffffff
mov dword [esi + 0x24], 0xffffffff
call fcn.0055f457
mov edi, dword [eax]
mov eax, dword [esi + 0x30]
cmp eax, edi
je 0x4162e6
test edi, edi
je 0x4162e6
test eax, eax
jne 0x4161e7
mov dword [esi + 0x30], edi
push edi
call fcn.0055f714
add esp, 4
push eax
push edi
jmp 0x4162ce
mov ecx, dword [ebp + 0x18]
mov eax, dword [esi + 0x18]
mov dword [esp + 0x10], eax
cmp edi, ecx
jae 0x416244
mov edx, 0x100000
nop word [eax + eax]
mov ebx, ecx
sub ebx, edi
cmp ebx, 0x100000
push eax
cmova ebx, edx
push ebx
push 1
push edi
call fcn.00561a74
add esp, 0x10
cmp ebx, eax
jne 0x416246
mov ecx, dword [ebp + 0x18]
add edi, ebx
mov eax, dword [esp + 0x10]
mov edx, 0x100000
cmp edi, ecx
jb 0x416210
mov ebx, dword [esp + 0x14]
je 0x41627e
mov dword [esi + 0x20], 0xffffffff
mov dword [esi + 0x24], 0xffffffff
call fcn.0055f457
mov edi, dword [eax]
mov eax, dword [esi + 0x30]
cmp eax, edi
je 0x4162e6
test edi, edi
je 0x4162e6
test eax, eax
jne 0x416271
mov dword [esi + 0x30], edi
push edi
call fcn.0055f714
add esp, 4
push eax
push edi
jmp 0x4162ce
add ebx, dword [esi + 0x28]
mov ecx, 0
mov eax, dword [esi + 0x2c]
adc eax, ecx
add ebx, dword [ebp + 0xc]
mov dword [esi + 0x20], ebx
adc eax, dword [ebp + 0x10]
mov dword [esi + 0x24], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0055f457
mov dword [eax], 0x1b
mov eax, dword [esi + 0x30]
cmp eax, 0x1b
je 0x4162e6
test eax, eax
jne 0x4162c1
mov dword [esi + 0x30], 0x1b
push 0x1b
call fcn.0055f714
add esp, 4
push eax
push 0x1b
push 0x5c4404
push 2
call fcn.0055f14d
add esp, 4
push eax
call fcn.00402b80
add esp, 0x10
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x571612
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00571488

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

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

Disassembly:
push eax
call fcn.00489a9b
add esp, 0xc
and dword [ebp - 0x700], 0
jmp 0x48af37
mov eax, dword [ebp - 0x700]
inc eax
mov dword [ebp - 0x700], eax
cmp dword [ebp - 0x700], 5
jge 0x48af80
mov eax, dword [ebp - 0x700]
movsx eax, byte [ebp + eax - 0x394]
movsx ecx, byte [ebp - 0x24]
xor eax, ecx
mov ecx, dword [ebp - 0x700]
mov byte [ebp + ecx - 0x394], al
mov eax, dword [ebp - 0x700]
movsx eax, byte [ebp + eax - 0x394]
not eax
mov ecx, dword [ebp - 0x700]
mov byte [ebp + ecx - 0x394], al
jmp 0x48af2a
call fcn.00489b2a
enter 0xffffffffffffe2a5, 0x66
and byte [ebp - 0x72c], 0
and byte [ebp - 0x72b], 0
mov byte [ebp - 0x72a], 0xc2
and byte [ebp - 0x729], 0
mov byte [ebp - 0x728], 0x6b
invalid
test ecx, ebx
clc

Function at 0x48c502
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x4c57b0
push edi
mov ecx, esi
call fcn.00402612
mov ecx, dword [0x4c5810]
mov eax, dword [ecx + eax*4]
mov ebx, dword [eax]
cmp dword [ebp + 0xc], edi
jne 0x48c55c
xor esi, esi
cmp dword [ebx + 0x1a0], esi
je 0x48c5c0
lea eax, [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push esi
push edi
push dword [ebp - 4]
push dword [ebp - 8]
push esi
push dword [ebx + 0x1a0]
call dword [sym.imp.USER32.dll_TrackPopupMenuEx]
jmp 0x48c5de
push dword [ebp + 0xc]
mov ecx, esi
call fcn.004025db
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
je 0x48c5c0
mov ecx, dword [0x4c5824]
mov ecx, dword [ecx + eax*4]
mov eax, dword [ecx]
mov cl, byte [eax + 0x90]
cmp cl, 0xe
je 0x48c5c0
cmp cl, 0xf
je 0x48c5c0
cmp cl, 0x13
je 0x48c5c0
cmp cl, 0x10
je 0x48c5c0
xor esi, esi
cmp dword [eax + 0xc], esi
je 0x48c5c0
lea eax, [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [0x4c5824]
mov ecx, dword [ebp + 8]
push esi
push dword [ebx]
push dword [ebp - 4]
mov eax, dword [eax + ecx*4]
push dword [ebp - 8]
push esi
mov eax, dword [eax]
push dword [eax + 0xc]
jmp 0x48c551
mov eax, dword [ebp + 0x14]
movzx ecx, ax
mov eax, dword [ebp + 0x10]
shl ecx, 0x10
movzx eax, ax
or ecx, eax
push ecx
push dword [ebp + 0xc]
push 0x7b
push edi
call dword [sym.imp.USER32.dll_DefDlgProcW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x99677c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x9967a3
call fcn.00938d18
mov dword [eax], esi
call fcn.00938d05
push 0x16
pop esi
mov dword [eax], esi
call fcn.0093995a
mov eax, esi
jmp 0x9967f8
test dword [ebp + 0xc], 0xfffffff9
jne 0x996789
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x9967d0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00938d2b
pop ecx
call fcn.00938d05
mov eax, dword [eax]
jmp 0x9967f8
test al, 0x10
jne 0x9967f6
test al, 1
je 0x9967f6
test byte [ebp + 0xc], 2
je 0x9967f6
call fcn.00938d18
mov dword [eax], 5
call fcn.00938d05
mov dword [eax], 0xd
jmp 0x9967c7
xor eax, eax
pop esi
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40915c
mov ecx, 0x3e1f291a
nop
nop
nop
nop
test eax, eax
nop
je 0x43104e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x431024
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f3f8
nop
mov ecx, 0x7f6555c4
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x431084
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43106c
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219

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, 0x4b5c782f
nop
nop
nop
test eax, eax
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x381f48ba
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43306c
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x10004ec0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10008e6b
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x1000e008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ecx - 0x64]
xor bl, bl
mov dword [ebp - 0x21c], 0x104
cmp eax, 0x1e
ja case.0x10004f0b.101
movzx eax, byte [eax + 0x1000505c]
jmp dword [eax*4 + 0x10005048]
mov edx, 0x1000ad9c
jmp 0x10004f2c
mov edx, str.HOffice110
jmp 0x10004f2c
mov edx, str.HOffice120
jmp 0x10004f2c
mov edx, str.HOffice130
push ecx
lea eax, [ebp - 0x218]
push eax
call fcn.10005080
add esp, 8
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x218]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x10005029
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x224], 7
mov word [ebp - 0x238], ax
push 9
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x238]
push str.ProductID
mov dword [ebp - 0x220], 1
call fcn.10001e00
cmp dword [ebp - 0x228], 0
je 0x10004fdb
cmp dword [ebp - 0x224], 8
lea ecx, [ebp - 0x21c]
push ecx
push esi
lea ecx, [ebp - 0x220]
push ecx
lea eax, [ebp - 0x238]
cmovae eax, dword [ebp - 0x238]
push 0
push eax
push dword [ebp - 0x23c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
movzx ebx, bl
mov ecx, 1
cmove ebx, ecx
push dword [ebp - 0x23c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x224]
cmp edx, 8
jb 0x10005029
mov ecx, dword [ebp - 0x238]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000501f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000501f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10007d1e
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10007cd8
mov esp, ebp
pop ebp
ret
Function at 0x10007d2c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc dword [eax]
je 0x10007d63
lea eax, [ebp - 0x714]
push eax
call fcn.10005d90
pop ecx
push eax
push dword [ebp - 0x3a4]
push dword [ebp + 0x14]
call fcn.10005d45
add esp, 0xc
mov dword [ebp - 0x37c], eax
cmp dword [ebp - 0x37c], 0
jne 0x10007d63
jmp 0x10007722
cmp dword [ebp - 0x37c], 0
je 0x10007d71
jmp 0x10007e26
push 0
push 0
push 2
push 0
push 2
push 0x40000000
push dword [ebp - 0x3a0]
call dword [ebp - 0x3c8]
mov dword [ebp - 0x380], eax
cmp dword [ebp - 0x380], 0xffffffff
je 0x10007dca
push 0
lea eax, [ebp - 0x6c4]
push eax
push dword [ebp - 0x38c]
push dword [ebp - 0x748]
push dword [ebp - 0x380]
call dword [ebp - 0x730]
push dword [ebp - 0x380]
call dword [ebp - 0x680]
jmp 0x10007dcf
jmp 0x10007722
and dword [ebp - 0x37c], 0
push dword [ebp - 0x3a0]
call dword [ebp - 0x704]
mov dword [ebp - 0x3a4], eax
cmp dword [ebp - 0x3a4], 0
je 0x10007e16
lea eax, [ebp - 0x714]
push eax
call fcn.10005d90
pop ecx
push eax
push dword [ebp - 0x3a4]
push dword [ebp + 0x14]
call fcn.10005d45
add esp, 0xc
mov dword [ebp - 0x37c], eax
cmp dword [ebp - 0x37c], 0
je 0x10007e21
jmp 0x10007e26
jmp 0x10007722
cmp dword [ebp - 0x37c], 0
jne 0x10007ed0
mov eax, dword [ebp - 0x748]
mov dword [ebp - 0x7ec], eax
mov eax, dword [ebp - 0x38c]
mov dword [ebp - 0x7e8], eax
and dword [ebp - 0x7e0], 0
push 0x1000
add byte [edx + 8], ch
push dword [ebp - 0x674]
call dword [ebp - 0x67c]
mov dword [ebp - 0x7e4], eax
push dword [ebp - 0x7e4]
lea eax, [ebp - 0x7ec]
push eax
push dword [ebp - 0x748]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.10005f5c
add esp, 0x14
mov dword [ebp - 0x7e0], eax
cmp dword [ebp - 0x7e0], 0
je 0x10007ebc
lea eax, [ebp - 0x714]
push eax
call fcn.10005d90
pop ecx
push eax
push dword [ebp - 0x7e0]
call fcn.10005e25
pop ecx
pop ecx
mov dword [ebp - 0x37c], eax
push dword [ebp - 0x7e4]
push 1
push dword [ebp - 0x674]
call dword [ebp - 0x39c]
push dword [ebp + 0x1c]
push dword [ebp - 0xc]
push dword [ebp - 0x540]
push dword [ebp - 0x684]
push dword [ebp - 0x688]
push dword [ebp - 0x3ac]
push dword [ebp - 0x400]
push dword [ebp - 0x54c]
push dword [ebp - 0x678]
lea eax, [ebp - 0x334]
push eax
push dword [ebp - 4]
push dword [ebp + 8]
call dword [ebp - 0x37c]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x409e90
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
mov eax, dword [0x4ab9f8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
lea edx, [ebp - 0x3f4]
push edx
push 0x20019
push 0
push str.TypeLib
push SysReAllocString
mov dword [ebp - 0x3fc], eax
mov dword [ebp - 0x400], ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push SysReAllocString
mov esi, eax
call edi
test esi, esi
je 0x409ef7
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046abf1
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x3f4]
lea eax, [ebp - 0x3f0]
push eax
push 0x20019
push 0
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edx, dword [ebp - 0x3f4]
push edx
mov esi, eax
call edi
test esi, esi
jne 0x409ee5
mov edx, dword [ebp - 0x3f0]
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x3f8]
push eax
lea ecx, [ebp - 0x3ec]
push ecx
push esi
push edx
mov dword [ebp - 0x3f8], 0x3e8
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov esi, eax
mov eax, dword [ebp - 0x3f0]
push eax
call edi
test esi, esi
jne 0x409ee5
mov ecx, dword [ebp - 0x400]
mov edx, dword [ebp - 0x3fc]
push ecx
push edx
lea eax, [ebp - 0x3ec]
push str._d._d
push eax
call fcn.0046d74f
mov ecx, dword [ebp - 4]
add esp, 0x10
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.0046abf1
mov esp, ebp
pop ebp
ret