joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100173a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x101a4494]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x8c], 0x4f0053
push ebx
push esi
mov word [ebp - 8], ax
lea esi, [ebp - 0x8c]
mov eax, 0x101aa1d8
mov dword [ebp - 0x88], 0x540046
push edi
mov dword [ebp - 0x84], 0x410057
mov edx, 0x43
mov dword [ebp - 0x80], 0x450052
sub esi, eax
mov dword [ebp - 0x7c], 0x4d005c
mov dword [ebp - 0x78], 0x630069
mov dword [ebp - 0x74], 0x6f0072
mov dword [ebp - 0x70], 0x6f0073
mov dword [ebp - 0x6c], 0x740066
mov dword [ebp - 0x68], 0x57005c
mov dword [ebp - 0x64], 0x6e0069
mov dword [ebp - 0x60], 0x6f0064
mov dword [ebp - 0x5c], 0x730077
mov dword [ebp - 0x58], 0x43005c
mov dword [ebp - 0x54], 0x720075
mov dword [ebp - 0x50], 0x650072
mov dword [ebp - 0x4c], 0x74006e
mov dword [ebp - 0x48], 0x650056
mov dword [ebp - 0x44], 0x730072
mov dword [ebp - 0x40], 0x6f0069
mov dword [ebp - 0x3c], 0x5c006e
mov dword [ebp - 0x38], 0x6e0055
mov dword [ebp - 0x34], 0x6e0069
mov dword [ebp - 0x30], 0x740073
mov dword [ebp - 0x2c], 0x6c0061
mov dword [ebp - 0x28], 0x5c006c
mov dword [ebp - 0x24], 0x750048
mov dword [ebp - 0x20], 0x72006f
mov dword [ebp - 0x1c], 0x6e006f
mov dword [ebp - 0x18], 0x530067
mov dword [ebp - 0x14], 0x730079
mov dword [ebp - 0x10], 0x690064
mov dword [ebp - 0xc], 0x670061
nop
lea ecx, [edx + 0x7fffffbb]
test ecx, ecx
je 0x100174de
movzx ecx, word [esi + eax]
test cx, cx
je 0x100174de
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x100174c0
test edx, edx
lea ecx, [eax - 2]
pop edi
cmovne ecx, eax
xor eax, eax
pop esi
pop ebx
mov word [ecx], ax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100f4dc3
mov esp, ebp
pop ebp
ret
Function at 0x10017880
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x101a4494]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, 0x101a9e90
mov dword [ebp - 0x84], 0x4f0053
lea esi, [ebp - 0x84]
mov dword [ebp - 0x80], 0x540046
push edi
mov dword [ebp - 0x7c], 0x410057
mov edx, 0x40
mov dword [ebp - 0x78], 0x450052
sub esi, eax
mov dword [ebp - 0x74], 0x4d005c
mov dword [ebp - 0x70], 0x630069
mov dword [ebp - 0x6c], 0x6f0072
mov dword [ebp - 0x68], 0x6f0073
mov dword [ebp - 0x64], 0x740066
mov dword [ebp - 0x60], 0x57005c
mov dword [ebp - 0x5c], 0x6e0069
mov dword [ebp - 0x58], 0x6f0064
mov dword [ebp - 0x54], 0x730077
mov dword [ebp - 0x50], 0x43005c
mov dword [ebp - 0x4c], 0x720075
mov dword [ebp - 0x48], 0x650072
mov dword [ebp - 0x44], 0x74006e
mov dword [ebp - 0x40], 0x650056
mov dword [ebp - 0x3c], 0x730072
mov dword [ebp - 0x38], 0x6f0069
mov dword [ebp - 0x34], 0x5c006e
mov dword [ebp - 0x30], 0x700041
mov dword [ebp - 0x2c], 0x200070
mov dword [ebp - 0x28], 0x610050
mov dword [ebp - 0x24], 0x680074
mov dword [ebp - 0x20], 0x5c0073
mov dword [ebp - 0x1c], 0x360033
mov dword [ebp - 0x18], 0x730030
mov dword [ebp - 0x14], 0x660061
mov dword [ebp - 0x10], 0x2e0065
mov dword [ebp - 0xc], 0x780065
mov dword [ebp - 8], 0x65
nop dword [eax + eax]
lea ecx, [edx + 0x7fffffbe]
test ecx, ecx
je 0x100179ae
movzx ecx, word [esi + eax]
test cx, cx
je 0x100179ae
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x10017990
test edx, edx
lea ecx, [eax - 2]
pop edi
cmovne ecx, eax
xor eax, eax
pop esi
pop ebx
mov word [ecx], ax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100f4dc3
mov esp, ebp
pop ebp
ret
Function at 0x10018790
Capabilities:
Extract resource via kernel32 functions
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101540b3
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x101a4494]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0x10]
movzx eax, word [ebp + 8]
mov dword [ebp - 0x3c], ecx
push dword [ebp + 0xc]
mov dword [ebp - 4], 0
push eax
push 0x10000000
mov byte [ebp - 0x29], 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
push edi
push 0x10000000
call dword [sym.imp.KERNEL32.dll_LoadResource]
push edi
mov esi, eax
push 0x10000000
mov dword [ebp - 0x30], esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
mov dword [ebp - 0x34], eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push 0x98
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0xd4]
push 0
push eax
call fcn.1012e610
add esp, 0xc
lea ecx, [ebp - 0xd4]
call fcn.100090f0
mov esi, eax
push str.HRSRC:
push esi
mov byte [ebp - 4], 1
call fcn.100086f0
add esp, 8
mov ecx, esi
push edi
call fcn.10016100
push str._HGLOBAL:
push esi
call fcn.100086f0
add esp, 8
mov ecx, esi
push dword [ebp - 0x30]
call fcn.10016100
push str._resource_size:
push esi
call fcn.100086f0
mov edi, dword [ebp - 0x34]
add esp, 8
mov ecx, esi
push edi
call fcn.1000f570
cmp dword [0x101aa314], 0
mov byte [ebp - 4], 2
je 0x100188c0
lea eax, [ebp - 0xd4]
push eax
call fcn.10008a90
add esp, 4
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0xd0]
push eax
call fcn.1000d2e0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0x28]
call fcn.100098e0
lea ecx, [ebp - 0xd4]
call fcn.10009fa0
mov eax, dword [ebp - 0x38]
mov byte [ebp - 4], 0
test eax, eax
je 0x10018940
test edi, edi
je 0x10018940
shr edi, 1
xor ecx, ecx
dec edi
mov word [ebp - 0x28], cx
push edi
add eax, 2
mov byte [ebp - 0x29], 1
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
call fcn.1000bc10
mov esi, dword [ebp - 0x3c]
lea eax, [ebp - 0x28]
cmp esi, eax
je 0x10018938
mov ecx, esi
call fcn.100098e0
movups xmm0, xmmword [ebp - 0x28]
xor eax, eax
mov word [ebp - 0x28], ax
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
lea ecx, [ebp - 0x28]
call fcn.100098e0
mov eax, dword [ebp + 0xc]
or ecx, 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x1001895b
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov al, byte [ebp - 0x29]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100f4dc3
mov esp, ebp
pop ebp
ret
Function at 0x10019050
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x101944a0
push 0x1012eaf0
mov eax, dword fs:[0]
push eax
sub esp, 0x2cc
mov eax, dword [0x101a4494]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 0
push 0x2b4
push 0
lea eax, [ebp - 0x2d0]
push eax
call fcn.1012e610
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x100190b1
mov esi, dword [esi]
push 0x4000
push 0x2b4
lea eax, [ebp - 0x2d0]
push eax
push 0x80
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov dword [ebp - 0x2d4], 0
lea eax, [ebp - 0x2d4]
push eax
push 0x10165330
push 0
call dword [sym.imp.SHELL32.dll_SHGetImageList]
mov dword [ebp - 0x2dc], eax
xor ecx, ecx
mov dword [ebp - 0x2d8], ecx
test eax, eax
jne 0x10019142
mov edx, dword [ebp - 0x2cc]
test edx, edx
je 0x1001912a
mov ecx, dword [ebp - 0x2d4]
mov eax, dword [ecx]
lea esi, [ebp - 0x2d8]
push esi
push 0
push edx
push ecx
call dword [eax + 0x28]
mov dword [ebp - 0x2dc], eax
mov ecx, dword [ebp - 0x2d8]
test eax, eax
jne 0x10019142
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
jmp 0x1001914b
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.100f4dc3
mov esp, ebp
pop ebp
ret

Function at 0x10019170
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101541c9
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x101a4494]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ecx, ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], cx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x2c], ecx
lea ecx, [ebp - 0x2c]
push ecx
push 0
push dword [ebp + 0x10]
mov dword [ebp - 0x30], 1
push eax
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
js 0x10019254
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10019200
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.1000bc10
lea eax, [ebp - 0x28]
cmp esi, eax
je 0x1001924c
mov ecx, esi
call fcn.100098e0
movups xmm0, xmmword [ebp - 0x28]
xor eax, eax
mov word [ebp - 0x28], ax
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
lea ecx, [ebp - 0x28]
call fcn.100098e0
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x10019262
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100f4dc3
mov esp, ebp
pop ebp
ret
Function at 0x10019280
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10154209
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x101a4494]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x30], esi
push esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], 0
call fcn.10019f40
add esp, 8
cmp dword [esi + 0x10], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], 1
je 0x100192f4
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x100192e9
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10019367
lea eax, [ebp - 0x28]
push edi
push eax
call fcn.10019390
mov edi, eax
add esp, 8
cmp esi, edi
je 0x10019331
mov ecx, esi
call fcn.100098e0
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [esi], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x10019367
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001935d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10019384
push edx
push ecx
call fcn.100f4a6f
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100f4dc3
mov esp, ebp
pop ebp
ret
call fcn.10131c3f
int3
Function at 0x1001a6e0
Capabilities:
Check if file exists
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015439b
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x101a4494]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.1012e610
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
mov dword [ebp - 0x220], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001a760
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.1000bc10
push str.geeks_setup_v1.logger
sub esp, 0x18
mov dword [ebp - 4], 0
mov ecx, esp
xor eax, eax
push 0xb
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push str.UninstSetup
mov word [ecx], ax
call fcn.1000bc10
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.10013e90
mov edx, dword [ebp - 0x21c]
add esp, 0x24
cmp edx, 8
jb 0x1001a808
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001a7fe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001a890
push edx
push ecx
call fcn.100f4a6f
add esp, 8
cmp dword [ebp - 0x238], 0
jne 0x1001a815
xor eax, eax
jmp 0x1001a836
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
neg eax
sbb eax, eax
neg eax
mov edx, dword [ebp - 0x234]
mov dword [0x101aa314], eax
cmp edx, 8
jb 0x1001a877
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001a86d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001a895
push edx
push ecx
call fcn.100f4a6f
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100f4dc3
mov esp, ebp
pop ebp
ret
call fcn.10131c3f
call fcn.10131c3f
int3
Function at 0x1001aad0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x330
mov eax, dword [0x101a4494]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x224]
mov byte [ebp - 0x20d], 0
push eax
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x224], 0
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
lea eax, [ebp - 0x214]
mov dword [ebp - 0x220], 0
push eax
push 0
push 0
push 0xa
push 0
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x21c], 0
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
test eax, eax
jne 0x1001ab75
mov ecx, dword [ebp - 0x224]
lea edx, [ebp - 0x218]
push edx
push 0x101652f0
push 0
push dword [ebp - 0x214]
mov eax, dword [ecx]
push ecx
call dword [eax + 0x14]
test eax, eax
je 0x1001ab88
push dword [ebp - 0x214]
call dword [sym.imp.SHELL32.dll_ILFree]
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100f4dc3
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x218]
lea edx, [ebp - 0x220]
push edx
push 0xe0
push 0
mov eax, dword [ecx]
push ecx
call dword [eax + 0x10]
test eax, eax
je 0x1001abd1
push dword [ebp - 0x214]
call dword [sym.imp.SHELL32.dll_ILFree]
mov eax, dword [ebp - 0x218]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100f4dc3
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x220]
lea edx, [ebp - 0x228]
push edx
lea edx, [ebp - 0x21c]
push edx
mov eax, dword [ecx]
push 1
push ecx
call dword [eax + 0xc]
cmp eax, 1
je 0x1001aca2
mov edi, dword [ebp + 8]
mov ebx, dword [sym.imp.ole32.dll_CoTaskMemFree]
nop
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x21c]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x1001ac71
mov ecx, dword [ebp - 0x218]
lea edx, [ebp - 0x330]
push edx
push 0
push dword [ebp - 0x21c]
mov eax, dword [ecx]
push ecx
call dword [eax + 0x2c]
test eax, eax
jne 0x1001ac71
mov esi, dword [ebp - 0x32c]
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001ac41
sub ecx, edx
mov eax, edi
sar ecx, 1
cmp dword [edi + 0x14], 8
jb 0x1001ac5a
mov eax, dword [edi]
cmp dword [edi + 0x10], ecx
jb 0x1001ac6e
push ecx
push esi
push eax
call fcn.1000ded0
add esp, 0xc
test eax, eax
je 0x1001ac98
push esi
call ebx
mov ecx, dword [ebp - 0x220]
lea edx, [ebp - 0x228]
push edx
lea edx, [ebp - 0x21c]
push edx
mov eax, dword [ecx]
push 1
push ecx
call dword [eax + 0xc]
cmp eax, 1
jne 0x1001ac00
jmp 0x1001aca2
push esi
call ebx
mov byte [ebp - 0x20d], 1
push dword [ebp - 0x214]
call dword [sym.imp.SHELL32.dll_ILFree]
mov ecx, dword [ebp - 0x220]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov ecx, dword [ebp - 0x218]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x20d]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.100f4dc3
mov esp, ebp
pop ebp
ret
Function at 0x1001ba20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], 0
mov dword [ebp - 8], 4
cmp dword [eax + 0x14], 8
jb 0x1001ba3f
mov eax, dword [eax]
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x14], 8
jb 0x1001ba4a
mov ecx, dword [ecx]
lea edx, [ebp - 8]
push edx
lea edx, [ebp - 4]
push edx
push 0
push 0x10
push eax
push ecx
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
xor ecx, ecx
test eax, eax
cmove ecx, dword [ebp - 4]
mov eax, ecx
mov esp, ebp
pop ebp
ret
Function at 0x1001ba70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10154528
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x101a4494]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x14]
mov ecx, eax
mov esi, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x44], 0
jb 0x1001bac0
mov ecx, dword [eax]
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x1001baca
mov eax, dword [edi]
lea edx, [ebp - 0x44]
push edx
mov edx, dword [ebp - 0x48]
push 0
push 0
push 2
push ecx
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x1001bafc
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
jmp 0x1001bc2f
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x44]
shr eax, 1
jne 0x1001bb26
xor ecx, ecx
mov dword [ebp - 0x18], eax
mov word [ebp + eax*2 - 0x28], cx
jmp 0x1001bb31
push 0
push eax
lea ecx, [ebp - 0x28]
call fcn.1001ce10
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x4c]
cmovae ecx, dword [ebp - 0x28]
cmp dword [eax + 0x14], 8
jb 0x1001bb47
mov eax, dword [eax]
cmp dword [edi + 0x14], 8
jb 0x1001bb4f
mov edi, dword [edi]
lea edx, [ebp - 0x44]
push edx
push ecx
push 0
push 2
push eax
push edi
push dword [ebp - 0x48]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x1001bb7f
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
jmp 0x1001bc27
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x18]
shr ecx, 1
dec ecx
cmp ecx, eax
ja 0x1001bba2
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], ecx
cmovae eax, dword [ebp - 0x28]
xor edx, edx
mov word [eax + ecx*2], dx
jmp 0x1001bbaf
sub ecx, eax
push 0
push ecx
lea ecx, [ebp - 0x28]
call fcn.1001ce10
cmp dword [ebp - 0x14], 8
lea edx, [ebp - 0x28]
mov dword [ebp - 0x30], 0
cmovae edx, dword [ebp - 0x28]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001bbd3
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.1000bc10
movups xmm0, xmmword [ebp - 0x40]
mov dword [esi + 0x10], 0
lea ecx, [ebp - 0x40]
mov dword [esi + 0x14], 0
xor eax, eax
movups xmmword [esi], xmm0
mov word [ebp - 0x40], ax
movq xmm0, qword [ebp - 0x30]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
call fcn.100098e0
lea ecx, [ebp - 0x28]
call fcn.100098e0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100f4dc3
mov esp, ebp
pop ebp
ret
Function at 0x1001bc50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1001bca9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x1001bca9
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x1001bc9a
cmp esi, edx
jae 0x1001bca9
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x1001bc88
cmp esi, edx
jae 0x1001bca9
cmp word [esi], 0
je 0x1001bca9
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret

Function at 0x1001bf50
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x101a4494]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x38], 0
je 0x1001bff3
cmp byte [esi + 0x3d], 0
je 0x1001bff3
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x1001bfa9
mov ecx, dword [esi + 0x38]
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call edx
sub eax, 0
je 0x1001bfbb
sub eax, 1
je 0x1001bfbf
sub eax, 2
je 0x1001bff3
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100f4dc3
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x1001bfdc
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.10139b9b
add esp, 0x10
cmp edi, eax
jne 0x1001bfa9
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100f4dc3
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.100f4dc3
mov esp, ebp
pop ebp
ret
Function at 0x1001d900
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x101a4494]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x1001d930
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100f4dc3
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x1001d96c
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x1001d96c
lea ecx, [edi - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100f4dc3
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x1001da53
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x1001d994
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x1001d9c7
push dword [esi + 0x4c]
movsx eax, bl
push eax
call fcn.101392b8
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100f4dc3
mov esp, ebp
pop ebp
ret 4
mov byte [ebp - 0x28], bl
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x27]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 0x40]
push eax
call edx
test eax, eax
js 0x1001da53
cmp eax, 1
jle 0x1001da26
cmp eax, 3
jne 0x1001da53
push dword [esi + 0x4c]
push dword [ebp - 0x28]
call fcn.10013790
add esp, 8
or ecx, 0xffffffff
test al, al
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100f4dc3
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x1001da43
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.10139b9b
add esp, 0x10
cmp edi, eax
jne 0x1001da53
lea eax, [ebp - 0x28]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
jne 0x1001d957
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100f4dc3
mov esp, ebp
pop ebp
ret 4