joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14ffde14
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x14ffde2a
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x14ffde3b
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.14ffde7c
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx

Function at 0x150001e8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x15000131
add ebx, 0
push ecx
call 0x15000146
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x718663aa
sub ebx, dword [0x71885be9]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x71885bd9
call fcn.14ffbc10
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.14ffb11e
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x150002a4
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x150002a4
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x1500025b
mov eax, 1
lock xchg dword [0x71885be5], eax
push 0x3dd1fc71
call 0x150001e8
push esi
add esp, 8
cmp eax, 0
jne 0x150001d1
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x150001f7
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x1500020c
cmp ecx, edx
cmp eax, 0
je 0x15000231
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x1500021b
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.1500024a
dec eax
loope 0x1500024d
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x71885be5], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x15000281
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x15000296
jmp 0x150002a1
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x1500018f
Function at 0x15007309
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x150075df
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x7187285d
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x71869823
push 0xffffffffffffffff
call fcn.14ffe509
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x15007373
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.1500738b
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x150075d3
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x150075a7
Function at 0x15016dd9
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x15016dfb
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x15016dfb
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x15016dfb
ret
cmp word [ebx + 4], 0x14c
jne 0x15016dfb
test word [ebx + 0x16], 2
je 0x15016dfb
test word [ebx + 0x16], 0x100
je 0x15016dfb
cmp word [ebx + 0x18], 0x10b
jne 0x15016dfb
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x15016dfb
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x15016e87
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x15016e1b
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.14ffdd66
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x15016dfb
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x15016e87
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x15016dfb
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x15016dfb
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x15016dfb
ret
cmp word [ebx + 4], 0x14c
jne 0x15016dfb
test word [ebx + 0x16], 2
je 0x15016dfb
test word [ebx + 0x16], 0x100
je 0x15016dfb
cmp word [ebx + 0x18], 0x10b
jne 0x15016dfb
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x15016dfb
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x15016e87
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x15016e1b
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.14ffdd66
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x15016dfb
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8
Function at 0x15016f3e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x15016f97
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x15016f3e
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x15016f4d
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x1541cbf0
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x15016f9e
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.14ffde14
cmp eax, dword [ebp + 0xc]
pop eax
je 0x1501703d
add edi, 4
add eax, 2
dec ecx
jne 0x15016f83
call 0x15016fea
loope 0x15016fe0
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x1501703a
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x1501704b
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x15016ffe
cmp eax, ecx
ja 0x15016ffe
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x15017088
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x1501707e
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.14ffe2f3
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x15016f4d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x15016f97
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x15016f3e
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x15016f4d
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x1541cbf0
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x15016f9e
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.14ffde14
cmp eax, dword [ebp + 0xc]
pop eax
je 0x1501703d
add edi, 4
add eax, 2
dec ecx
jne 0x15016f83
call 0x15016fea
loope 0x15016fe0
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x1501703a
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x1501704b
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x15016ffe
cmp eax, ecx
ja 0x15016ffe
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x15017088
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x1501707e
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.14ffe2f3
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x408f6c
nop
mov ecx, 0x731c3f48
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data_1
nop
mov ebx, 0x42e3d0
nop
nop
mov ecx, 0xa810f7a
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x433003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..reloc
mov ebx, 0x40de38
nop
nop
mov ecx, 0x78422c04
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
nop
nop
mov eax, section..rdata
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x3f38106b
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43306c
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 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
mov ebx, 0x40de38
mov ecx, 0x769e056d
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..rdata
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x74cd74ed
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x101465a
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x45c
mov eax, dword [0x1035030]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x45c], 0
push ebx
push esi
mov esi, dword [ebp + 8]
push 0x24c
lea eax, [ebp - 0x458]
push 0
push eax
call sub.msvcrt.dll_memset
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call sub.msvcrt.dll_memset
add esp, 0x18
xor ebx, ebx
test esi, esi
jne 0x10146e3
mov eax, dword [0x1035014]
cmp eax, 0x1035014
je 0x10147b0
test byte [eax + 0x1c], 1
je 0x10147b0
push 0x10035d0
push 0x5e
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01004e8e
jmp 0x10147b0
push esi
push 0x10038fc
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.01006a35
add esp, 0x10
test eax, eax
jge 0x1014732
mov ecx, dword [0x1035014]
cmp ecx, 0x1035014
je 0x10147b0
test byte [ecx + 0x1c], 1
je 0x10147b0
push eax
push 0x10035d0
push 0x5f
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01004eb4
jmp 0x10147b0
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x101477a
mov eax, dword [0x1035014]
cmp eax, 0x1035014
je 0x10147b0
test byte [eax + 0x1c], 4
je 0x10147b0
lea ecx, [ebp - 0x20c]
push ecx
push 0x10035d0
push pe_nt_image_headers32
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01004ee0
jmp 0x10147b0
cmp dword [ebp - 0x45c], 0x10
je 0x1014792
cmp dword [ebp - 0x440], 0
jne 0x10147a6
add ebx, dword [ebp - 0x43c]
lea eax, [ebp - 0x45c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x101477a
jmp 0x10147a9
or ebx, 0xffffffff
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.01011f27
leave
ret 4
Function at 0x1031e81
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x18]
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 0x18]
push eax
push 0
push 0x10
push dword [ebp + 0xc]
mov dword [esi], 2
push dword [ebp + 8]
and dword [edi], 0
push 0x80000002
mov dword [ebp + 0x14], 4
call sub.ADVAPI32.dll_RegGetValueW
test eax, eax
jne 0x1031ed0
mov ecx, dword [ebp + 0x18]
cmp ecx, dword [ebp + 0x10]
ja 0x1031edb
inc eax
shl eax, cl
mov dword [edi], eax
and dword [esi], 0
jmp 0x1031edb
cmp eax, 2
jne 0x1031edf
mov dword [esi], 1
xor eax, eax
jmp 0x1031eed
test eax, eax
jle 0x1031eed
and eax, 0xffff
or eax, 0xc0070000
pop edi
pop esi
pop ebp
ret 0x14

Function at 0x11798ef
Capabilities:
Encode data using xor

Disassembly:
cld
sub ah, dh
add ah, dh
imul eax, eax, 0xf
push eax
movzx eax, byte [edi - 5]
neg eax
lea edi, [edi - 0xe]
test esp, 0x1d11d453
add dword [esp], eax
xor cl, bl
xor cl, bl
sub edi, 0xfffffff1
cmp byte [edi - 5], 0xa
cld
nop
pop eax
ja 0x117962d
cmp ah, cl
test al, 0xd2
mov eax, 0xef044847
xor dword [esp - 4], eax
nop
mov eax, dword [esp + 4]
xor dword [esp - 4], eax
jne 0x1179906
jmp 0x117996c
ret
lea ecx, [ebx + 7]
inc ah
dec edx
push 0xffffffffffffffff
push dword [ecx + 0x35]
lea esi, [ecx - 7]
pop edx
add ecx, dword [edx + ebx + 0x78]
add esi, dword [ecx + 0x19]
pop edx
inc edx
lodsd eax, dword [esi]
mov esp, esp
lea edi, [eax + ebx + 5]
cmp dword [ecx + 0x11], edx
mov esi, esi
nop
mov esi, esi
je 0x11798ca
sub al, 0
sahf
cld
xor eax, eax
jmp 0x1179628
sub ecx, 0xffffffed
add esp, 8
push dword [ecx + 2]
dec eax
pop edi
and ah, dh
add edi, ebx
add edx, edx
add edx, ebx
cmp al, bl
mov esi, dword [ecx + 0xa]
test al, 6
mov ax, word [edx + esi]
cwde
push dword [edi + eax*4]
add dword [esp], ebx
not ecx
pop esi
mov eax, dword [esp - 8]
jmp eax
Function at 0x6460d8e1
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x63c
mov eax, dword [0x646170a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, 0x20a
lea eax, [ebp - 0x630]
push edi
xor ebx, ebx
mov esi, ecx
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push edi
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x208
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x63c], edi
test esi, esi
je 0x6460dad7
push 1
xor eax, eax
mov edx, 0x646022e0
push 1
mov ecx, 0x80000001
mov word [esi], ax
call fcn.6460f208
mov edi, eax
test edi, edi
je 0x6460dad7
lea eax, [ebp - 0x63c]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x634]
push eax
push ebx
push 0x646023a4
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov ebx, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x6460d9a8
cmp ebx, 2
jne 0x6460dad7
mov edi, 0x646023c0
jmp 0x6460da19
cmp dword [ebp - 0x634], 1
je 0x6460d9be
cmp dword [ebp - 0x634], 2
jne 0x6460dad7
and dword [ebp - 0x638], 0
lea eax, [ebp - 0x638]
mov ebx, 0x105
lea ecx, [ebp - 0x218]
push eax
mov edx, ebx
call fcn.6460d6b0
test eax, eax
jns 0x6460d9e6
xor ecx, ecx
jmp 0x6460d9ec
mov ecx, dword [ebp - 0x638]
lea edi, [ebp - 0x218]
test eax, eax
js 0x6460da19
push 0x5c
pop eax
cmp word [ebp + ecx*2 - 0x21a], ax
je 0x6460da19
push 0x64601328
mov edx, ebx
mov ecx, edi
call fcn.64604305
test eax, eax
js 0x6460dacd
push ecx
push 5
lea edx, [ebp - 0x630]
pop ecx
call fcn.64622ef4
test eax, eax
jne 0x6460da44
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x646023f4
call fcn.6460eec0
pop ecx
pop ecx
jmp 0x6460dad7
lea eax, [ebp - 0x630]
mov ebx, 0x104
push eax
mov edx, ebx
mov ecx, esi
call fcn.646042d0
test eax, eax
js 0x6460dacd
push 0x5c
pop eax
cmp word [edi], ax
je 0x6460da77
push 0x64601328
mov edx, ebx
mov ecx, esi
call fcn.64604305
test eax, eax
js 0x6460dacd
push edi
mov edx, ebx
mov ecx, esi
call fcn.64604305
test eax, eax
js 0x6460dacd
lea eax, [ebp - 0x420]
push eax
push 0x64602430
push 0
push 0
push 0x8005
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathAndSubDirW]
test eax, eax
js 0x6460dacd
push 0x93d
push 0x64602468
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHELL32.dll_SHSetLocalizedName]
test eax, eax
js 0x6460dacd
mov ecx, esi
call fcn.6460e70f
xor eax, eax
inc eax
jmp 0x6460dad9
movzx eax, ax
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.64615dc0
leave
ret
Function at 0x6460f291
Capabilities:
Query environment variable
Query or enumerate registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov eax, ecx
mov edi, edx
xor edx, edx
mov dword [ebp - 0x10], edi
lea ecx, [ebp - 4]
mov dword [ebp - 0xc], eax
push ecx
push edx
lea ecx, [ebp - 8]
mov esi, edx
push ecx
push edx
push dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, dword [ebp + 0xc]
test eax, eax
je 0x6460f309
cmp eax, 2
jne 0x6460f301
test ebx, ebx
je 0x6460f2ee
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x6460f2d3
sub ecx, edx
sar ecx, 1
lea ecx, [ecx*2 + 2]
mov dword [ebp - 4], ecx
jmp 0x6460f315
push 2
push 0x64602798
call fcn.6460eec0
pop ecx
pop ecx
jmp 0x6460f42f
push eax
push 0x64602828
jmp 0x6460f2f5
cmp dword [ebp - 8], edi
jne 0x6460f488
mov ecx, dword [ebp - 4]
test ecx, ecx
jne 0x6460f31f
push 0x20
pop ecx
mov dword [ebp - 4], ecx
mov edi, ecx
and edi, 1
add edi, ecx
lea ecx, [edi + 2]
call fcn.6460cd43
mov esi, eax
test esi, esi
je 0x6460f42f
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 8]
push eax
xor eax, eax
push eax
push dword [ebp + 8]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor ecx, ecx
mov word [edi + esi], cx
test byte [ebp - 4], 1
je 0x6460f360
mov byte [edi + esi - 1], cl
test eax, eax
je 0x6460f3c4
cmp eax, 2
jne 0x6460f301
test ebx, ebx
je 0x6460f3b5
push ebx
lea edx, [edi + 2]
mov ecx, esi
call fcn.64605b4d
test eax, eax
jns 0x6460f387
push eax
push 0x64602868
jmp 0x6460f2f5
push dword [ebp - 4]
mov edi, dword [ebp - 0x10]
xor eax, eax
push esi
push edi
push eax
push dword [ebp + 8]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x6460f3c9
push eax
push dword [ebp + 8]
push 0x64602900
call fcn.6460eec0
add esp, 0xc
jmp 0x6460f42f
push 0x646028a8
call fcn.6460eec0
jmp 0x6460f2fb
mov edi, dword [ebp - 0x10]
jmp 0x6460f3cb
xor ecx, ecx
cmp edi, 2
jne 0x6460f40e
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov edi, eax
test edi, edi
je 0x6460f42f
lea ecx, [edi*2 + 2]
mov dword [ebp - 4], ecx
call fcn.6460cd43
mov ebx, eax
test ebx, ebx
je 0x6460f42c
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x6460f412
cmp eax, edi
jg 0x6460f412
mov ecx, esi
call fcn.6460cda9
mov esi, ebx
mov eax, esi
jmp 0x6460f48a
mov ecx, ebx
call fcn.6460cda9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x64602948
call fcn.64622ef4
pop ecx
pop ecx
mov ebx, dword [ebp + 0xc]
mov ecx, esi
call fcn.6460cda9
test ebx, ebx
je 0x6460f488
mov ecx, ebx
xor esi, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x6460f441
sub ecx, edx
sar ecx, 1
lea ecx, [ecx*2 + 2]
mov dword [ebp - 4], ecx
call fcn.6460cd43
mov esi, eax
test esi, esi
je 0x6460f488
mov edx, dword [ebp - 4]
mov ecx, esi
push ebx
call fcn.64605b4d
test eax, eax
jns 0x6460f40e
push eax
push 0x6460299c
call fcn.6460eec0
pop ecx
pop ecx
mov ecx, esi
call fcn.6460cda9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc