joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100bcbc9
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add esp, 8
and al, 3
push 0x30254a91
call 0x100bcbc9
div bh
int 0x82
add esp, 8
and eax, 3
push eax
call fcn.100bc780
ja 0x100bcbdd
sub edi, 0
add dword [esp - 0x37], edi
test dword [edx + 0x68], eax
je 0x100bcc69
test dword [edx + 0x70], 0x100
jne 0x100bcc1c
mov al, byte [esi + 1]
and dword [esp - 0x35], esi
jmp 0x100bcc05
shr al, 3
and al, 7
and eax, 7
push eax
call fcn.100bc780
test dword [edx + 0x70], eax
je 0x100bcc69
test dword [edx + 0x6c], 0x100
jne 0x100bcc48
add dword [esp - 0x18], edx
mov al, byte [esi + 1]
and al, 7
and eax, 7
push eax
call fcn.100bc780
and dword [esp - 0x1b], ecx
test dword [edx + 0x6c], eax
je 0x100bcc69
Function at 0x100bcd70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
call 0x100bcd7d
and eax, 0xa108abfa
mov byte [edi + 0x8c483b4], 0xc0
call 0x950e4089
fdiv dword [eax + 6]
Function at 0x100c2125
Capabilities:
Encode data using add xor sub operations

Disassembly:
or bh, byte [ebx - 0x68]
int1
salc
push edi
add esp, 8
add esp, 8
neg edi
or edi, 0xffffffff
push esi
xor esi, esi
jne 0x104c7d0d
mov esi, esp
and edi, dword [esi + 4]
mov dword [esp - 0x21], esi
mov esi, dword [esi]
push esi
and esi, 0xfe2ab961
mov esi, esp
mov dword [esi - 0x32], edi
pop esi
mov dword [esp - 0x22], ecx
add esp, 8
pop esi
pop edx
pop ebx
leave
ret 0x14
push 0x40ec7b
push esi
mov esi, esp
call 0x100c20d8
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x11e8fe], 0
add byte [edi - 0x54], bl
jne 0x100c20eb
jnp 0x100c207b
int1
salc
push edi
inc esp
sub eax, 0x29b0f362
scasb al, byte es:[edi]
dec edi
add esp, 8
sub dword [esi + 0x8c4834f], ebp
and dword [esi + 4], ebp
push ebx
dec ebx
mov ebx, esp
xor dword [ebx - 0x69], eax
pop ebx
jbe 0x100c2101
xor eax, 0
or dword [esi + 4], ebp
pop esi
mov ebp, esp
sub esp, 0x104
sub esp, 0xd
xor dword [esp + 9], eax
call 0x100c2125
push 0x5b
clc
sal dword [esi], 1
aaa
movsb byte es:[edi], byte [esi]
or eax, 0x910d3c2
call 0x100c2136
push cs
das
cmp al, 0xc5
sbb cl, byte [ebx + 0x28]
inc ecx
out 0x27, al
aam 0x7d
add esp, 8
xor eax, dword [esp + 9]
push ebx
and ebx, 0
jne 0x104c7dbc
or ebx, 0xffffffff
push eax
or eax, edx
mov eax, esp
mov dword [eax - 0x5b], esi
pop eax
xor ecx, 0
not ebx
or ebx, 0x486abb3
jmp 0x100c216b
or edi, edi
xor ebx, 0x55e6afca
xor ebx, 0x51600479
sub ecx, ebx
pop ebx
xor dword [esp + 9], eax
mov eax, dword [esp + 9]
add esp, 9
push 0xffffffffffffffff
sub ecx, 0
push edx
and edx, ecx
mov edx, esp
cmp dword [edx - 0xe], edi
pop edx
and dword [esp], ebx
sbb al, 0x24
push ecx
push edx
push edi
sub esp, 4
add ebx, 0
or dword [esp - 0x61], esi
xor dword [esp], esi
call 0x100c21bd
cmp eax, 0x39008332
jle 0x100c2196
sub al, 0xf5
mov bh, bl
sbb byte [ecx - 0x18], dh
adc al, 0
add byte [eax], al
push esi
xlatb
les ebp, [ebp - 0x56cf8c1e]
iretd
Function at 0x100c2136
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
or bh, byte [ebx - 0x68]
int1
salc
push edi
add esp, 8
add esp, 8
neg edi
or edi, 0xffffffff
push esi
xor esi, esi
jne 0x104c7d0d
mov esi, esp
and edi, dword [esi + 4]
mov dword [esp - 0x21], esi
mov esi, dword [esi]
push esi
and esi, 0xfe2ab961
mov esi, esp
mov dword [esi - 0x32], edi
pop esi
mov dword [esp - 0x22], ecx
add esp, 8
pop esi
pop edx
pop ebx
leave
ret 0x14
push 0x40ec7b
push esi
mov esi, esp
call 0x100c20d8
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x11e8fe], 0
add byte [edi - 0x54], bl
jne 0x100c20eb
jnp 0x100c207b
int1
salc
push edi
inc esp
sub eax, 0x29b0f362
scasb al, byte es:[edi]
dec edi
add esp, 8
sub dword [esi + 0x8c4834f], ebp
and dword [esi + 4], ebp
push ebx
dec ebx
mov ebx, esp
xor dword [ebx - 0x69], eax
pop ebx
jbe 0x100c2101
xor eax, 0
or dword [esi + 4], ebp
pop esi
mov ebp, esp
sub esp, 0x104
sub esp, 0xd
xor dword [esp + 9], eax
call 0x100c2125
push 0x5b
clc
sal dword [esi], 1
aaa
movsb byte es:[edi], byte [esi]
or eax, 0x910d3c2
call 0x100c2136
push cs
das
cmp al, 0xc5
sbb cl, byte [ebx + 0x28]
inc ecx
out 0x27, al
aam 0x7d
add esp, 8
xor eax, dword [esp + 9]
push ebx
and ebx, 0
jne 0x104c7dbc
or ebx, 0xffffffff
push eax
or eax, edx
mov eax, esp
mov dword [eax - 0x5b], esi
pop eax
xor ecx, 0
not ebx
or ebx, 0x486abb3
jmp 0x100c216b
or edi, edi
xor ebx, 0x55e6afca
xor ebx, 0x51600479
sub ecx, ebx
pop ebx
xor dword [esp + 9], eax
mov eax, dword [esp + 9]
add esp, 9
push 0xffffffffffffffff
sub ecx, 0
push edx
and edx, ecx
mov edx, esp
cmp dword [edx - 0xe], edi
pop edx
and dword [esp], ebx
sbb al, 0x24
push ecx
push edx
push edi
sub esp, 4
add ebx, 0
or dword [esp - 0x61], esi
xor dword [esp], esi
call 0x100c21bd
cmp eax, 0x39008332
jle 0x100c2196
sub al, 0xf5
mov bh, bl
sbb byte [ecx - 0x18], dh
adc al, 0
add byte [eax], al
push esi
xlatb
les ebp, [ebp - 0x56cf8c1e]
iretd
Function at 0x100c5617
Capabilities:
Parse pe header

Disassembly:
add esp, 0xfffffffc
mov dword [esp], ebp
mov ebp, esp
push ebx
lea esp, [esp - 0x11]
mov dword [esp + 0xd], 0xdc12c045
lea esp, [esp + 0xd]
mov dword [esp], ecx
push edx
push edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x100c5639
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x100c5639
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x100c5639
mov dword [esp - 0x1d], esi
jb 0x100c566f
sub edx, 0
cmp word [ebx + 4], 0x14c
jne 0x100c5639
test word [ebx + 0x16], 2
je 0x100c5639
test word [ebx + 0x16], 0x100
je 0x100c5639
jmp 0x100c56a5
push ebx
call 0x100c56b6
sbb al, 0x25
cli
stosd dword es:[edi], eax
or byte [ecx - 0x224b783a], ah
push edx
add esp, 8
cmp word [ebx + 0x18], 0x10b
jne 0x100c5639
mov edx, dword [ebx + 0x78]
cmp dword [esp - 0x23], ecx
cmp edx, 0
je 0x100c5639
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.100acabf
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x100c5639
lea esi, [edx + 0x316f4195]
or esi, 0xffffffff
push ecx
xor ecx, 0x723b9e9b
mov ecx, esp
and esi, dword [ecx + 4]
xor eax, 0
mov ecx, dword [ecx]
push eax
call 0x100c5725
add dl, byte [ebx]
push eax
dec ecx
dec esi
outsd dx, dword [esi]
jl 0x100c5720
pop edx
mov ebp, dword [eax - 0x7f]
adc al, 0xbd
adc al, 0xbd
mov dl, 3
add esp, 8
add esp, 8
sub edi, edi
jne 0x100c57a4
or edi, 0xffffffff
not edi
or edi, dword [esp]
add esp, 4
not edx
or edx, 0xffffffff
push ebx
sub ebx, ebx
jne 0x104cb3bd
mov ebx, esp
mov dword [ebx - 9], edi
pop ebx
not edx
push eax
add eax, esi
mov eax, esp
xor edx, dword [eax + 4]
push edx
lea edx, [esi + edi*2 - 0x55f35438]
mov edx, esp
cmp dword [edx - 0x37], edi
pop edx
or dword [esp - 0x21], ecx
mov eax, dword [eax]
push ebx
and ebx, eax
mov ebx, esp
sub dword [ebx - 0xb], ecx
pop ebx
add esp, 8
pop ecx
xchg dword [esp], ebx
mov dword [esp], ebx
lea esp, [esp + 4]
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
ret 8
invalid
Function at 0x100c56b6
Capabilities:
Parse pe header

Disassembly:
add esp, 0xfffffffc
mov dword [esp], ebp
mov ebp, esp
push ebx
lea esp, [esp - 0x11]
mov dword [esp + 0xd], 0xdc12c045
lea esp, [esp + 0xd]
mov dword [esp], ecx
push edx
push edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x100c5639
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x100c5639
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x100c5639
mov dword [esp - 0x1d], esi
jb 0x100c566f
sub edx, 0
cmp word [ebx + 4], 0x14c
jne 0x100c5639
test word [ebx + 0x16], 2
je 0x100c5639
test word [ebx + 0x16], 0x100
je 0x100c5639
jmp 0x100c56a5
push ebx
call 0x100c56b6
sbb al, 0x25
cli
stosd dword es:[edi], eax
or byte [ecx - 0x224b783a], ah
push edx
add esp, 8
cmp word [ebx + 0x18], 0x10b
jne 0x100c5639
mov edx, dword [ebx + 0x78]
cmp dword [esp - 0x23], ecx
cmp edx, 0
je 0x100c5639
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.100acabf
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x100c5639
lea esi, [edx + 0x316f4195]
or esi, 0xffffffff
push ecx
xor ecx, 0x723b9e9b
mov ecx, esp
and esi, dword [ecx + 4]
xor eax, 0
mov ecx, dword [ecx]
push eax
call 0x100c5725
add dl, byte [ebx]
push eax
dec ecx
dec esi
outsd dx, dword [esi]
jl 0x100c5720
pop edx
mov ebp, dword [eax - 0x7f]
adc al, 0xbd
adc al, 0xbd
mov dl, 3
add esp, 8
add esp, 8
sub edi, edi
jne 0x100c57a4
or edi, 0xffffffff
not edi
or edi, dword [esp]
add esp, 4
not edx
or edx, 0xffffffff
push ebx
sub ebx, ebx
jne 0x104cb3bd
mov ebx, esp
mov dword [ebx - 9], edi
pop ebx
not edx
push eax
add eax, esi
mov eax, esp
xor edx, dword [eax + 4]
push edx
lea edx, [esi + edi*2 - 0x55f35438]
mov edx, esp
cmp dword [edx - 0x37], edi
pop edx
or dword [esp - 0x21], ecx
mov eax, dword [eax]
push ebx
and ebx, eax
mov ebx, esp
sub dword [ebx - 0xb], ecx
pop ebx
add esp, 8
pop ecx
xchg dword [esp], ebx
mov dword [esp], ebx
lea esp, [esp + 4]
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
ret 8
invalid
Function at 0x406624
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 0x406648
xor eax, eax
test eax, eax
je 0x40665b
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x40665b
xor ecx, ecx
jmp 0x40665e
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 0x406787
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x4698ec], 0
push esi
jne 0x4067be
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 0x406798
mov dword [ecx*4 + 0x4698e8], eax
inc ecx
cmp ecx, 0x100
jl 0x406793
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x4067ef
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 + 0x4698e8]
xor eax, esi
inc ecx
dec edx
jne 0x4067d1
pop edi
not eax
pop esi
ret 0xc

Function at 0x7df7c9
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
je 0xdbe7e1
mov eax, dword [eax + ecx + 0x7c]
cmp di, bp
push ebx
test edx, 0x6afe454d
cmp dx, sp
push edi
mov dword [ebp - 0x10], eax
jmp 0x854a3e
je 0xdbe7e1
mov eax, 0x5a4d
cmp edi, ebp
cmp word [ecx], ax
jmp 0xdbe7db
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
test dx, 0x2ca2
lea esp, [esp - 0x114]
cmc
push esi
stc
cmc
test ecx, ecx
je 0xdbe7e1
mov esi, dword [ebp + 0xc]
cmc
test esi, esi
jmp 0x7de1e7
mov dword [ebp - 8], 0xffffffff
clc
cmp bl, bh
cmp esi, 0xffff
jmp 0x8c3644
mov eax, dword [ecx + 0x3c]
cmp dword [eax + ecx], 0x4550
jmp 0xda8b1e
ret
ja 0xdcbf1c
mov eax, esi
sub eax, dword [edx + ecx + 0x10]
jmp 0xd2a8b1
dec edi
jmp 0x94aecd
mov dword [ebp - 0xc], eax
js 0x7dbfad
jmp 0x8535d1
mov dword [ebp - 8], eax
jmp 0x7dbfad
je 0x7dbfad
mov eax, dword [edx + ecx + 0x20]
cmp bp, 0x17d2
cmc
add eax, ecx
clc
stc
sub ebx, ebx
jmp 0x8e74f2
mov esp, ebp
xchg ebp, ebp
bswap ebp
movsx ebp, di
pop ebp
jmp 0x8c1dd3
jne 0xdbe7e1
mov edx, dword [eax + ecx + 0x78]
mov dword [ebp - 4], edx
cmc
test edx, edx
jmp 0x7ae0a2
je 0x860633
xor eax, eax
pop esi
jmp 0xd76d5e
mov edi, dword [edx + ecx + 0x18]
test edi, edi
jmp 0xd4762d
Function at 0x403590
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x40500c]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403628
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403608
xor eax, eax
push ebp
push 0x403601
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 0x403644
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 0x403608
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x40500c]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x40500c], ax
mov esp, ebp
pop ebp
ret

Function at 0x403c90
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x406034], 0
je 0x403cf1
cmp word [0x406208], 0xd7b2
jne 0x403cb9
cmp dword [0x406210], 0
jbe 0x403cb9
mov eax, 0x406204
call dword [0x406220]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x405084
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x403d18
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x405018], 0
jne 0x403d0d
push 0
push 0x40507c
push 0x405084
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x403fe0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x404046
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00403e94
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402d64
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x404030
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40404d
lea eax, [ebp - 0x10]
call fcn.00403e14
ret
Function at 0x1d174b
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push edi
mov edi, ecx
mov eax, dword [edi + 0x44]
xor ebx, ebx
cmp eax, ebx
je 0x1d17a6
cmp eax, 0xffffffff
je 0x1d17a6
cmp dword [ebp + 8], ebx
je 0x1d17a6
push esi
push dword [ebp + 8]
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, dword [edi + 0x44]
push ebx
mov esi, eax
lea eax, [ebp - 4]
push eax
add esi, esi
push esi
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1df302
cmp esi, dword [ebp - 4]
jne 0x1df31d
pop esi
pop edi
mov eax, ebx
pop ebx
leave
ret 4
mov ebx, 0x80070057
jmp 0x1d179e

Function at 0x1d227c
Capabilities:
Query environment variable

Disassembly:
push 0x20
mov eax, 0x1e621c
call fcn.001d1350
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
push ebx
push 0x20019
push dword [0x1eb458]
lea ecx, [ebp - 0x2c]
push 0x80000002
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], ebx
call fcn.001d2097
test eax, eax
jne 0x1d23c4
lea eax, [ebp - 0x20]
push eax
push dword [0x1eb45c]
lea ecx, [ebp - 0x2c]
push ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x20], ebx
call fcn.001d23dc
test eax, eax
jne 0x1d23c4
mov eax, dword [ebp - 0x20]
xor ecx, ecx
push 2
add eax, eax
pop edx
mul edx
seto cl
mov byte [ebp - 4], 1
neg ecx
or ecx, eax
push ecx
call fcn.001d13e0
mov esi, eax
pop ecx
mov dword [ebp - 0x1c], esi
cmp esi, ebx
je 0x1d23c4
lea eax, [ebp - 0x20]
push eax
push dword [0x1eb45c]
lea ecx, [ebp - 0x2c]
push esi
call fcn.001d23dc
test eax, eax
jne 0x1d23bb
push ebx
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
call esi
mov edi, eax
cmp edi, ebx
je 0x1d23bb
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.001d13e0
pop ecx
mov dword [ebp - 0x14], eax
cmp eax, ebx
je 0x1d23bb
push edi
push eax
push dword [ebp - 0x1c]
call esi
mov esi, eax
cmp esi, ebx
je 0x1d23b2
cmp dword [ebp + 8], ebx
je 0x1dea08
push dword [0x1eb460]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [eax + esi + 1]
xor ecx, ecx
push 2
pop edx
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.001d13e0
pop ecx
mov dword [ebp - 0x18], eax
cmp eax, ebx
je 0x1d23b2
push dword [ebp - 0x14]
push esi
push eax
call fcn.001d21cb
push dword [0x1eb460]
push edi
push dword [ebp - 0x18]
call fcn.001d2436
push dword [ebp - 0x14]
call fcn.001d13c0
pop ecx
push dword [ebp - 0x1c]
call fcn.001d13c0
pop ecx
lea ecx, [ebp - 0x2c]
call fcn.001d1f10
mov eax, dword [ebp - 0x18]
call fcn.001d1390
ret 4
Function at 0x1d23dc
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
push edi
push esi
lea eax, [ebp - 4]
push eax
xor ebx, ebx
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 4], ebx
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 4], ebx
jbe 0x1d242c
cmp dword [ebp - 4], 2
ja 0x1de965
mov ecx, dword [edi]
test cl, 1
jne 0x1d242c
cmp esi, ebx
je 0x1d2425
shr ecx, 1
cmp word [esi + ecx*2 - 2], bx
jne 0x1d242c
pop edi
pop esi
pop ebx
leave
ret 0xc
push 0xd
pop eax
jmp 0x1d2425

Function at 0x1d24ed
Capabilities:
Delete file
Move file

Disassembly:
push 0x14
mov eax, 0x1e6b05
call fcn.001d1350
mov esi, ecx
mov eax, dword [esi + 0x44]
xor edi, edi
mov ebx, 0x8007000e
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
cmp eax, edi
je 0x1d2519
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x44], edi
cmp dword [ebp + 8], edi
je 0x1d265b
cmp dword [ebp + 0xc], edi
je 0x1d265b
push 1
call fcn.001d227c
mov dword [ebp - 0x1c], eax
cmp eax, edi
je 0x1d264a
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
mov dword [ebp - 4], edi
call esi
push dword [ebp + 8]
mov edi, eax
call esi
lea eax, [eax + edi + 1]
xor ecx, ecx
push 2
pop edx
mov dword [ebp - 0x20], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.001d13e0
pop ecx
mov dword [ebp - 0x18], eax
test eax, eax
je 0x1d259b
push dword [ebp - 0x1c]
inc edi
push edi
push eax
call fcn.001d21cb
mov ebx, eax
test ebx, ebx
jl 0x1d259b
push dword [ebp + 8]
push dword [ebp - 0x20]
push dword [ebp - 0x18]
call fcn.001d2436
mov ebx, eax
test ebx, ebx
jl 0x1d259b
xor ebx, ebx
inc ebx
or dword [ebp - 4], 0xffffffff
test ebx, ebx
jl 0x1d2632
push 2
pop ebx
push dword [ebp - 0x1c]
mov dword [ebp - 4], ebx
call esi
push dword [ebp + 0xc]
mov edi, eax
call esi
lea esi, [eax + edi + 1]
xor ecx, ecx
mov eax, esi
mul ebx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.001d13e0
pop ecx
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1d2654
push dword [ebp - 0x1c]
inc edi
push edi
push eax
call fcn.001d21cb
mov ebx, eax
test ebx, ebx
jl 0x1d2623
push dword [ebp + 0xc]
push esi
push dword [ebp - 0x14]
call fcn.001d2436
mov ebx, eax
test ebx, ebx
jl 0x1d2623
xor ebx, ebx
inc ebx
test ebx, ebx
jl 0x1d2623
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 1
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x1df3a2
xor ebx, ebx
cmp dword [ebp - 0x14], 0
je 0x1d2632
push dword [ebp - 0x14]
call fcn.001d13c0
pop ecx
cmp dword [ebp - 0x18], 0
je 0x1d2641
push dword [ebp - 0x18]
call fcn.001d13c0
pop ecx
push dword [ebp - 0x1c]
call fcn.001d13c0
pop ecx
mov eax, ebx
call fcn.001d1390
ret 8
mov ebx, 0x8007000e
jmp 0x1d25fe
mov ebx, 0x80070057
jmp 0x1d264a
Function at 0x1d3a67
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 8], 0
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x1d3ae4
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x1d3ac0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push 0x1d3ad0
push dword [ebp - 4]
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, 0xffffffff
pop esi
je 0x1de30e
mov eax, dword [ebp - 8]
leave
ret
Function at 0x1d4267
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
cmp dword [0x1eb00c], esi
jne 0x1d42be
lea eax, [ebp - 4]
push eax
push esi
push esi
push 0x1d2c6f
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x1eb00c], eax
cmp eax, esi
je 0x1de4ec
push 0xffffffffffffffff
push dword [0x1eb014]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [0x1eb014]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
cmp dword [0x1eb018], esi
jl 0x1de50a
pop esi
leave
ret

Function at 0x1d4441
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x1d4498
call fcn.001d2712
xor eax, eax
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x1d4490
cmp ecx, 0xffffffff
je 0x1d4490
and dword [ebp - 4], eax
mov edx, 0x5a4d
cmp word [ecx], dx
jne 0x1d4489
mov edx, dword [ecx + 0x3c]
test edx, edx
jl 0x1d4489
cmp edx, 0x10000000
jae 0x1d4489
lea eax, [edx + ecx]
mov dword [ebp - 0x1c], eax
cmp dword [eax], 0x4550
jne 0x1de892
mov dword [ebp - 4], 0xfffffffe
call fcn.001d2757
ret 4

Function at 0x1d681f
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x1eb004]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push esi
mov esi, ecx
inc eax
cmp dword [esi + 0x2c], 0
jne 0x1d6933
push edi
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x41c], ax
lea eax, [ebp - 0x41a]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov edi, 0x105
push edi
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov dword [ebp - 0x420], eax
cmp eax, edi
ja 0x1ded16
lea eax, [ebp - 0x41c]
push eax
push edi
lea eax, [ebp - 0x210]
push eax
call fcn.001d21cb
test eax, eax
jl 0x1d6932
mov ecx, dword [ebp - 0x420]
cmp word [ebp + ecx*2 - 0x210], 0x5c
je 0x1d68c3
push 0x1d6994
push edi
lea eax, [ebp - 0x210]
push eax
call fcn.001d2436
test eax, eax
jl 0x1d6932
push 0x1d6980
push edi
lea eax, [ebp - 0x210]
push eax
call fcn.001d2436
test eax, eax
jl 0x1d6932
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 0x2c], eax
test eax, eax
je 0x1ded20
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1d6970
push eax
call edi
push 0x1d695c
push dword [esi + 0x2c]
mov dword [esi + 0x30], eax
call edi
push 0x1d6948
push dword [esi + 0x2c]
mov dword [esi + 0x34], eax
call edi
cmp dword [esi + 0x30], 0
mov dword [esi + 0x38], eax
je 0x1d6940
cmp dword [esi + 0x34], 0
je 0x1d6940
test eax, eax
je 0x1d6940
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.001d20d4
leave
ret
mov eax, 0x8007007f
jmp 0x1d6932