joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4db9c0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x53a7a3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0052d372
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], 0xf7c0d0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], 0xf78940
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [0x53d144]
push eax
mov ecx, edi
call fcn.00532a11
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00533f70
test eax, eax
je 0x4dbadc
mov ecx, dword [esp + 0x3c]
call fcn.00532a3e
mov ecx, dword [esi + 0x1c]
mov ebp, dword [0x53d630]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x4dbaa0
push edi
mov ecx, esi
call fcn.00530099
mov ecx, esi
call fcn.004dbc40
cmp dword [esp + 0x38], 1
jne 0x4dbad5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.005301d4
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28

Function at 0x4de510
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4de543
push esi
call fcn.004ec870
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4de53c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x4de5c9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4de5b2
mov eax, dword [esi + 8]
test eax, eax
je 0x4de567
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x4de5ae
cmp eax, 2
je 0x4de5b2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4de55a
cmp eax, 3
je 0x4de58d
cmp eax, 1
jne 0x4de55a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x4de55a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4de55a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004de5f0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4de5d8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004de5f0
add esp, 4
pop esi
ret
Function at 0x500d20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x53b170
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.005008d0
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.00500950
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.00500950
lea ecx, [esi + 0xc]
call fcn.0052bd25
lea ecx, [esi + 0x10]
call fcn.0052bd25
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.00501ee0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.00501ee0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.00501ee0
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.0052bd9a
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0052bd9a
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x505110
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0xfdbb7c]
xor edx, edx
cmp eax, edx
jne 0x505136
xor eax, eax
mov byte [eax + 0xfdba7c], al
inc eax
cmp eax, 0x100
jl 0x50511e
mov dword [0xfdbb7c], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0xfdba7c
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x5051c7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x50519a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x505168
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x505240
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x505293
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x50527a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x50bc20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x53b56e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.0050c540
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0xf7b16c
call fcn.0052badb
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x50bcb3
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0052badb
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x50bcac
push 0
mov ecx, eax
call fcn.00502d50
mov dword [esi + 0xc], eax
jmp 0x50bcb5
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x50bcb5
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x408a1c
Capabilities:
Get common file path
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4d0
push esi
push edi
lea eax, [ebp - 0x10]
push eax
mov edi, 0x4b6
push edi
mov esi, ecx
call fcn.004071bd
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
push 1
inc eax
inc eax
push edi
mov ecx, esi
mov dword [esi + 0x58], eax
call fcn.004071da
push 1
inc edi
push edi
mov ecx, esi
call fcn.004071da
push 0x104
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryW]
push 0x103
push 0x2b4
lea eax, [ebp - 0x4d0]
push eax
push 0
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [ebp - 0x4d0]
push edi
push dword [esi + 4]
mov dword [esi + 0x50], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x407823
push 0xfffffffffffffffc
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, esi
mov dword [esi + 0x54], eax
call fcn.004086eb
mov ecx, esi
mov edi, eax
call fcn.00407b90
mov eax, edi
pop edi
pop esi
leave
ret

Function at 0x40cde2
Capabilities:
Contain obfuscated stackstrings

Disassembly:
std
add eax, dword [eax]
add byte [ebx - 0x6fb43], al
inc dword [ecx]
jne 0x40ce97
and byte [ebp - 0x78c], 0
and byte [ebp - 0x78b], 0
mov byte [ebp - 0x78a], 0xa0
invalid
movsd dword es:[edi], dword [esi]

Function at 0x410996
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push esi
mov esi, ecx
mov dword [esi], 0x416e28
call fcn.0040cdda
mov ecx, esi
pop esi
jmp fcn.0040ce5c

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

Disassembly:
xor edx, edx
mov eax, edx
and eax, 1
sub eax, 1
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0x4199e0], ecx
add edx, 1
cmp edx, 0x100
jb 0x413372
cmp edx, 0x800
jae 0x41345b
mov edi, edi
mov eax, dword [edx*4 + 0x4195e0]
mov ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x4199e0]
add edx, 1
cmp edx, 0x800
mov dword [edx*4 + 0x4199dc], eax
jb 0x413430
mov dword [0x4199b4], 0x413ab0
call fcn.004135a0
test eax, eax
jne 0x413478
mov dword [0x4199b4], 0x4139d0
ret
Function at 0x5b7b7a
Capabilities:
Encode data using xor
Encrypt data using chaskey
Hash data using murmur3

Disassembly:
and eax, 0x5743e18e
xchg edi, eax
and edx, esi
or eax, ebx
xchg esi, ecx
xor ebx, edx
sub ebx, eax
or esi, 0x5c0b2f8e
and ecx, eax
xchg edx, eax
not ecx
and edi, ecx
mov eax, ebx
and edi, ecx
and edi, eax
or edi, edx
sub esi, ebx
ror esi, 0x1a
mov ebx, edx
shr ebx, 0xc
dec ebx
sub edx, ecx
xchg edx, esi
and edx, ebx
sub eax, ecx
sub edi, ebx
mov edi, 0x67385b8e
sub esi, eax
or esi, edx
xor eax, ebx
sub esi, ebx
inc ebx
or ecx, esi
not ecx
and edi, ecx
or ebx, edi
mov edi, eax
inc eax
or edi, ebx
bswap edi
rol ebx, 0x1a
sub edi, esi
xor edi, eax
xor edi, eax
add eax, ebx
xor ebx, esi
sub esi, edx
xchg esi, edx
sub ecx, edi
xor edi, ecx
xor ecx, eax
mov ebx, esi
bswap eax
mov esi, ebx
ror ebx, 0x1b
mov eax, ebx
xor ecx, edx
add ebx, edi
and edi, ecx
mov ecx, edi
and edx, esi
xchg edx, esi
xchg ecx, eax
xor edi, ebx
or edx, ebx
and edi, eax
ror edx, 0x1d
add esi, ebx
xor edx, eax
ror edx, 0x19
xor edx, esi
mov esi, eax
inc ecx
and ebx, ecx
and esi, 0x86702d8e
xchg edx, eax
mov edi, ecx
xor esi, ecx
or edi, eax
or edi, esi
and ecx, esi
dec ecx
bswap edx
add edi, ecx
bswap edi
xor esi, edi
xor edi, ecx
and edi, 0x8eb9e58e
add eax, edi
and esi, eax
add ecx, esi
sub edx, ecx
add edx, eax
sub edi, 0x91fbcf8e
dec ecx
sub eax, 0x9334838e
or ebx, eax
sub esi, edi
sub edi, esi
and edx, 0x95b9918e
sub ecx, eax
xchg ebx, ecx
and esi, ebx
and eax, 0x9844098e
mov esi, ebx
add ebx, edi
not edx
and edx, 0x9a44f58e
xor esi, ebx
and eax, edi
sub edx, ecx
sub esi, ebx
ror eax, 0xd
mov ecx, esi
xor ebx, edx
sub eax, esi
sub eax, ebx
mov ecx, edx
mov ecx, eax
and edi, ecx
and eax, ebx
add eax, edi
xchg edx, ebx
xchg edx, edi
or ebx, 0xa476138e
add ecx, edx
or ebx, eax
and eax, ecx
sub edi, esi
add esi, edi
add ecx, 0xa7a5798e
xor edi, ecx
bswap edx
xor ebx, edi
sub ebx, edx
xor esi, 0xab11898e
xor eax, ebx
xor ebx, ecx
mov edi, eax
xor eax, ecx
xchg ebx, ecx
or ecx, ebx
xchg edi, eax
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
pop eax
nop
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43201e
nop
nop
popal
nop
nop
nop
jmp 0x431219

Function at 0x4659a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x457015
lea edi, [esi - 0x56015]
push edi
or ebp, 0xffffffff
jmp 0x4659c2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4659c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4659b8
mov eax, 1
add ebx, ebx
jne 0x4659db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4659d0
jne 0x4659ec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4659d0
xor ecx, ecx
sub eax, 3
jb 0x465a00
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x465a72
mov ebp, eax
add ebx, ebx
jne 0x465a0b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x465a18
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x465a3c
inc ecx
add ebx, ebx
jne 0x465a28
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x465a1d
jne 0x465a39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x465a1d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x465a5c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x465a4d
jmp 0x4659be
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x465a5c
add edi, ecx
jmp 0x4659be
pop esi
mov edi, esi
mov ecx, 0x33e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x465a7a
cmp byte [edi], 0
jne 0x465a7a
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 eax, ebx
loop 0x465a7f
lea edi, [esi + 0x63000]
mov eax, dword [edi]
or eax, eax
je 0x465aee
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x651f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x65254]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x465aac
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x65258]
or eax, eax
je 0x465ae8
mov dword [ebx], eax
add ebx, 4
jmp 0x465ac9
call dword [esi + 0x6525c]
popal
jmp 0x40da18
Function at 0x10009fdb
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x10009fea
pop dword [ebp - 0x40]
mov eax, 0xbb730836
sub eax, 0xab72684c
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0x4fa1ce19
add dword [ebp - 0x50], 0xfeb07732
mov dword [ebp - 0x4c], 0xdd61703
sub dword [ebp - 0x4c], 0xdba2cabe
mov dword [ebp - 0x48], 0x92706d3d
sub dword [ebp - 0x48], 0x4624290f
mov dword [ebp - 0x44], 0xe89189ed
sub dword [ebp - 0x44], 0xe89189ed
lea eax, [ebp - 0x50]
push eax
mov eax, 0x311a2477
sub eax, 0x2117d427
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0x330b4813
sub dword [ebp - 0x50], 0xbe98debd
mov dword [ebp - 0x4c], 0x167c32e2
sub dword [ebp - 0x4c], 0xd50fd16d
mov dword [ebp - 0x48], 0xddf25c53
add dword [ebp - 0x48], 0x857d1019
mov dword [ebp - 0x44], 0xcd673708
sub dword [ebp - 0x44], 0xcd673708
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, 0x3234f050
add eax, 0xddcd6004
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x3f76e
push 0
call eax
mov ecx, 0x4f06
xor edi, edi
add edi, eax
mov ebx, 0x4a95c3e
add ebx, 0xb59fdc2
add ebx, dword [ebp - 0x40]
mov edx, 0x283b78a8
add edx, 0x1958a8a3
xor dword [ebp - 0xc], 0x90872305
mov esi, dword [ebx]
sub dword [ebp - 0x1c], 0x519d1738
xor esi, edx
sub dword [ebp - 0x24], 0xe27870fc
mov dword [edi], esi
sub dword [ebp - 4], 0x8c9617b9
add edi, 0x1bb50675
add edi, 0xe44af98f
add ebx, 0x5b7db2ad
sub ebx, 0x5b7db2a9
loop 0x1000a108
add eax, 0x12eeb
mov ebx, eax
add eax, 0x2a3deccb
add eax, 0xd5c2133a
mov ecx, 0x69387e8e
add ecx, 0xa6c78172
add ecx, dword [ebp - 0x40]
Function at 0x488507
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4b09fc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0047b0f3
and dword [ebp - 0x14], 0
cmp dword [0x4b32ec], 0
mov dword [ebp - 0x18], eax
jne 0x4885ba
push 0x497bc4
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x488662
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x497bb8
push ebx
call edi
test eax, eax
je 0x488662
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x497ba8
push ebx
mov dword [0x4b32ec], eax
call edi
push eax
call esi
push 0x497b94
push ebx
mov dword [0x4b32f0], eax
call edi
push eax
call esi
push 0x497b78
push ebx
mov dword [0x4b32f4], eax
call edi
push eax
call esi
mov dword [0x4b32fc], eax
test eax, eax
je 0x4885ba
push 0x497b60
push ebx
call edi
push eax
call esi
mov dword [0x4b32f8], eax
mov eax, dword [0x4b32f8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x488613
cmp dword [0x4b32fc], ecx
je 0x488613
push eax
call esi
push dword [0x4b32fc]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x488613
test ebx, ebx
je 0x488613
call edi
test eax, eax
je 0x48860a
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x48860a
test byte [ebp - 8], 1
jne 0x488613
or dword [ebp + 0x10], 0x200000
jmp 0x488646
mov eax, dword [0x4b32f0]
cmp eax, dword [ebp - 0x18]
je 0x488646
push eax
call esi
test eax, eax
je 0x488646
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x488646
mov eax, dword [0x4b32f4]
cmp eax, dword [ebp - 0x18]
je 0x488646
push eax
call esi
test eax, eax
je 0x488646
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4b32ec]
call esi
test eax, eax
je 0x488662
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x488664
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046ef01
leave
ret
Function at 0x467584
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov dl, 0xb5
mov ebx, eax
xor eax, eax
mov ecx, eax
mov esi, ebx
shr esi, cl
mov ecx, esi
and cl, 0xff
xor dl, cl
inc eax
cmp eax, 4
jne 0x46758c
mov eax, edx
pop esi
pop ebx
ret

Function at 0x497a9c
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xf]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x497aea
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xf], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.00497560
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x497b03
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x4076c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x348
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 4
jl 0x407871
mov edi, 0x100
lea eax, [ebp - 0x100]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
lea eax, [ebp - 0x100]
push eax
push ebx
call esi
test eax, eax
je 0x407871
lea eax, [ebp - 0x100]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp - 0x100]
push eax
push ebx
call esi
test eax, eax
je 0x407871
mov eax, dword [0x4148b8]
test eax, eax
je 0x40773f
push eax
push ebx
call esi
test eax, eax
je 0x407871
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x100]
push ebx
push eax
call edi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x100]
push str..
push eax
call esi
lea eax, [ebp - 0x348]
push eax
lea eax, [ebp - 0x100]
push 0x17
push eax
call fcn.00408b64
add esp, 0xc
test eax, eax
jne 0x40785b
mov ebx, 0x4110cc
test byte [ebp - 0x248], 0x10
je 0x4077fd
cmp byte [ebp - 0x348], 0x2e
je 0x407846
push dword [ebp + 8]
lea eax, [ebp - 0x100]
push eax
call edi
lea eax, [ebp - 0x100]
push ebx
push eax
call esi
lea eax, [ebp - 0x348]
push eax
lea eax, [ebp - 0x100]
push eax
call esi
push dword [ebp + 0xc]
lea eax, [ebp - 0x100]
push eax
call fcn.004076c0
pop ecx
lea eax, [ebp - 0x100]
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [ebp - 0x100]
sub ecx, 4
and byte [eax + ecx], 0
lea eax, [ebp - 0x100]
push eax
call fcn.00408869
jmp 0x407845
cmp dword [ebp + 0xc], 0
je 0x407846
push dword [ebp + 8]
lea eax, [ebp - 0x100]
push eax
call edi
lea eax, [ebp - 0x100]
push ebx
push eax
call esi
lea eax, [ebp - 0x348]
push eax
lea eax, [ebp - 0x100]
push eax
call esi
lea eax, [ebp - 0x100]
push 0
push eax
call fcn.00408b41
pop ecx
lea eax, [ebp - 0x100]
pop ecx
push eax
call fcn.004088aa
pop ecx
lea eax, [ebp - 0x348]
push eax
call fcn.00408ba6
test eax, eax
pop ecx
je 0x407788
lea eax, [ebp - 0x348]
push eax
call fcn.00408be3
pop ecx
push dword [ebp + 8]
call fcn.00408869
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x407f25
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push ebx
xor ebx, ebx
cmp dword [0x41487c], ebx
push esi
push edi
je 0x408125
lea eax, [ebp - 4]
push eax
push 0x1f
push ebx
push dword [0x41104c]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x408125
lea eax, [ebp - 0xc]
mov esi, 0x100
push eax
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 8]
push eax
push ebx
push dword [ebp + 8]
mov dword [ebp - 0xc], esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40811c
or eax, 0xffffffff
cmp dword [ebp - 8], 1
push 4
pop edi
jne 0x407fa6
lea eax, [ebp - 0x10c]
push eax
call fcn.0040a660
pop ecx
jmp 0x407fbc
cmp dword [ebp - 8], edi
je 0x407fb6
cmp dword [ebp - 8], 3
jne 0x407fbc
cmp dword [ebp - 0xc], edi
jne 0x407fbc
mov eax, dword [ebp - 0x10c]
cmp eax, ebx
jg 0x407fc5
or eax, 0xffffffff
jmp 0x407fd9
cmp dword [0x4148e8], ebx
je 0x407fd0
dec eax
jmp 0x407fd3
sub eax, dword [ebp + 0x10]
cmp eax, ebx
jge 0x407fdb
xor eax, eax
cmp eax, ebx
jne 0x4080f6
lea eax, [ebp - 0x20c]
push esi
push eax
push 0x26
push dword [0x414bf0]
call fcn.00408ff4
add esp, 0x10
lea eax, [ebp - 0x20c]
push dword [ebp + 8]
push eax
push dword [0x4148d0]
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x20c]
push esi
push eax
push 0x27
push dword [0x414bf0]
call fcn.00408ff4
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
push dword [0x4148d0]
call dword [sym.imp.KERNEL32.dll_lstrcatA]
cmp dword [0x414898], ebx
mov esi, 0x3ed
jne 0x4080dd
cmp dword [0x414cf0], ebx
jne 0x4080dd
cmp dword [0x4148b0], ebx
je 0x408066
mov edi, esi
jmp 0x4080e0
cmp dword [0x414bec], ebx
je 0x40807c
push 0x19
push dword [0x414838]
call dword [sym.imp.USER32.dll_KillTimer]
push ebx
push sym.UNWISE32.EXE__SharedDlg_16
push dword [0x414838]
push 0x68
push dword [0x414bf0]
call dword [sym.imp.USER32.dll_DialogBoxParamA]
cmp dword [0x414bec], ebx
mov edi, eax
je 0x4080b4
push ebx
push 0x96
push 0x19
push dword [0x414838]
call dword [sym.imp.USER32.dll_SetTimer]
push 1
pop eax
cmp edi, eax
jne 0x4080c0
mov dword [0x414cf0], eax
cmp edi, 0x3ef
jne 0x4080cf
mov edi, esi
mov dword [0x4148b0], eax
push dword [0x414838]
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x4080e0
push 7
pop edi
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
xor eax, eax
cmp edi, esi
sete al
inc eax
jmp 0x408127
cmp eax, 1
jl 0x40811c
mov dword [ebp - 0x10c], eax
lea eax, [ebp - 0x10c]
push edi
push eax
push edi
push ebx
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 1
pop eax
jmp 0x408127
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret