joyce8/EMBER2024-capa huggingface dataset:
Function at 0x566e75
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x566f8d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x566f8d
mov eax, dword [esi + 0x3c]
push eax
call fcn.005a300d
mov esi, eax
test esi, esi
je 0x566f8d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x566f8d
mov ecx, esi
call fcn.00566e00
cmp edi, eax
jge 0x566f8d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x566f13
mov dword [esp + 0x34], 1
jmp 0x566f6e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x566f8d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.005663b0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x56fbc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5b0f58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0056f7a0
mov eax, dword [esp + 0x24]
lea ecx, [esp + 4]
push eax
mov dword [esp + 0x20], 0
call fcn.0056f810
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push ecx
push edx
lea ecx, [esp + 0xc]
push eax
push ecx
mov ecx, esi
call fcn.0056faf0
lea ecx, [esp + 4]
mov esi, eax
mov dword [esp + 0x1c], 0xffffffff
call fcn.0056f7c0
mov ecx, dword [esp + 0x14]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x10

Function at 0x56fbd8
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5b0f58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0056f7a0
mov eax, dword [esp + 0x24]
lea ecx, [esp + 4]
push eax
mov dword [esp + 0x20], 0
call fcn.0056f810
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push ecx
push edx
lea ecx, [esp + 0xc]
push eax
push ecx
mov ecx, esi
call fcn.0056faf0
lea ecx, [esp + 4]
mov esi, eax
mov dword [esp + 0x1c], 0xffffffff
call fcn.0056f7c0
mov ecx, dword [esp + 0x14]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x10
Function at 0x572510
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x57251b
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x57261e
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x71d5b4]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x71d5b4]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x71d5b4]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x71d5b4]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x71d5b4]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x71d5b4]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x71d5b4]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x71d5b4]
xor eax, edx
inc ecx
dec edi
jne 0x572536
pop edi
test esi, esi
je 0x572640
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x71d5b4]
xor eax, edx
inc ecx
dec esi
jne 0x572622
pop esi
pop ebx
not eax
ret

Function at 0x572fb0
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x10]
mov cl, byte [ebx]
mov eax, ebp
imul eax, dword [esp + 0x14]
test cl, cl
je 0x572ff1
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0xc]
push 0
push ecx
push eax
mov eax, dword [ebx + 4]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x572fe6
mov byte [ebx + 8], 1
mov eax, dword [esp + 0xc]
xor edx, edx
div ebp
pop ebp
pop ebx
ret
mov edx, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x14]
push esi
push edi
lea esi, [edx + eax]
cmp esi, ecx
jbe 0x573004
sub ecx, edx
mov eax, ecx
mov esi, dword [ebx + 0x10]
mov edi, dword [esp + 0x14]
mov ecx, eax
add esi, edx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
xor edx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x18]
pop edi
add ecx, eax
pop esi
div ebp
mov dword [ebx + 0x18], ecx
pop ebp
pop ebx
ret
Function at 0x57a700
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x7b2d28]
xor edx, edx
cmp eax, edx
jne 0x57a726
xor eax, eax
mov byte [eax + 0x7b2c28], al
inc eax
cmp eax, 0x100
jl 0x57a70e
mov dword [0x7b2d28], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x7b2c28
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x57a7b7
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 0x57a78a
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 0x57a758
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x57a7c0
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 0x57a813
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 0x57a7fa
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 0x5811d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5b140e
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.00581af0
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x71dd9c
call fcn.005a1324
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x581263
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.005a1324
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x58125c
push 0
mov ecx, eax
call fcn.00578340
mov dword [esi + 0xc], eax
jmp 0x581265
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x581265
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 0x59270d
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x59272d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.005915ba
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x592750
test byte [esp + 8], 2
je 0x592750
call fcn.0059162d
mov dword [eax], 0xd
call fcn.00591636
mov dword [eax], 5
jmp 0x592729
xor eax, eax
ret

Function at 0x5a39b1
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x5a39e9
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.005a1a3e
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.005a1a16
jmp 0x5a39f5
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x5a509f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x5a50e1
call fcn.005aab99
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x5a50e1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x5a50d8
xor eax, eax
jmp 0x5a50e9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.005a50ef
pop edi
pop esi
pop ebx
ret 4

Function at 0x5ab0c9
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x5ab0f7
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x5ab115
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.005ab02f
jmp 0x5ab115
mov eax, dword [esi + 0x14]
test eax, eax
je 0x5ab115
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.005ab02f
test edi, edi
mov eax, edi
jne 0x5ab0ff
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408e84
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x4c020577
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x5c12620f
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
loop 0x4300c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x1003a28
Capabilities:
Enumerate processes via ntquerysysteminformation
Get system information on windows

Disassembly:
mov ecx, dword [esi + 0x4c]
mov eax, dword [0x103a024]
cmp ecx, eax
ja 0x1019448
mov ecx, dword [esi + 4]
mov eax, dword [0x103a028]
cmp ecx, eax
ja 0x101945b
mov ecx, dword [esi + 0x84]
mov eax, dword [0x103a020]
cmp ecx, eax
jbe 0x1003a9a
jmp 0x101946e
xor esi, esi
jmp 0x1003aa6
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov eax, 0xb8
push edi
push eax
mov esi, eax
call fcn.0100150d
mov ebx, eax
pop ecx
test ebx, ebx
je 0x1003ac3
xor edi, edi
inc edi
lea eax, [ebp - 4]
push eax
push esi
push ebx
push 5
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x1003ab8
push ebx
call fcn.010014d6
mov eax, dword [ebp - 4]
mov ecx, eax
shr ecx, 4
lea esi, [ecx + eax + 0x8000]
push esi
call fcn.0100150d
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x1003ac3
test edi, edi
jne 0x1003a48
inc edi
mov esi, ebx
test ebx, ebx
je 0x1003aaa
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [esi + 0x44], eax
je 0x10039b0
mov eax, dword [esi]
test eax, eax
je 0x1003a1c
add esi, eax
test esi, esi
jne 0x1003a8b
push ebx
call fcn.010014d6
pop ecx
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
xor edi, edi
test eax, eax
jge 0x1003a80
jmp 0x1019481
xor eax, eax
jmp 0x1003ab3
push eax
push ecx
push 0x10194cc
call fcn.01020e74
xor edi, edi
jmp 0x10039c0
push eax
push ecx
push 0x10194b4
call fcn.01020e74
xor edi, edi
jmp 0x10039d0
push eax
push ecx
push 0x1019490
call fcn.01020e74
xor edi, edi
jmp 0x1003a9a
push ebx
call fcn.010014d6
pop ecx
jmp 0x1003ac3
Function at 0x100aa41
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x20]
xor ebx, ebx
push edi
cmp eax, ebx
jne 0x101eb47
mov edi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
cmp dword [ebp + 8], ebx
je 0x100aa76
push dword [ebp + 8]
call edi
mov dword [esi + 0x20], eax
cmp eax, ebx
je 0x101eb56
mov eax, dword [esi + 0x28]
cmp eax, ebx
jne 0x101eb60
cmp dword [ebp + 0xc], ebx
je 0x100aa96
push dword [ebp + 0xc]
call edi
mov dword [esi + 0x28], eax
cmp eax, ebx
je 0x101eb56
push dword [ebp + 8]
lea eax, [ebp - 4]
push dword [0x103b4d0]
mov dword [ebp - 4], ebx
push eax
push 2
call fcn.0100ac9d
add esp, 0x10
cmp eax, ebx
mov dword [ebp + 8], eax
jl 0x100ab63
push 0x20
pop ebx
push dword [ebp - 4]
lea edi, [esi + 0x644]
mov ecx, esi
mov dword [edi], ebx
call fcn.0100ab72
xor ecx, ecx
cmp dword [edi], ebx
mov dword [ebp + 8], eax
setne cl
mov eax, 0x100
xor ebx, ebx
dec ecx
and ecx, eax
add eax, ecx
lea ecx, [ebp + 0xc]
push ecx
or eax, 0x20019
push eax
push ebx
push dword [ebp - 4]
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor edi, edi
inc edi
test eax, eax
jne 0x100ab52
lea eax, [ebp - 8]
push eax
lea eax, [esi + 0x43c]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push dword [0x103b54c]
mov dword [ebp - 0xc], edi
push dword [ebp + 0xc]
mov dword [ebp - 8], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp + 0xc]
mov ecx, esi
call fcn.0100b6f5
cmp eax, ebx
mov dword [ebp + 8], eax
jl 0x100ab49
cmp dword [esi + 0x10], edi
jne 0x101eb6f
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 4]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp dword [ebp + 8], ebx
jl 0x100ab63
mov dword [esi + 0x1c], edi
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret 0xc
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi + 0x20], ebx
jmp 0x100aa5b
mov eax, 0x80041006
jmp 0x100ab66
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi + 0x28], ebx
jmp 0x100aa81
cmp dword [esi + 0x14], edi
je 0x100ab49
mov dword [esi + 0x18], edi
mov dword [esi + 8], 2
mov dword [esi + 0xc], ebx
jmp 0x100ab49
Function at 0x100abce
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
push ebx
push esi
push dword [0x103b4d4]
lea eax, [ebp - 4]
push dword [ebp + 8]
mov esi, ecx
push eax
push 2
call fcn.0100ac9d
mov ebx, eax
add esp, 0x10
test ebx, ebx
jl 0x100ac90
xor ecx, ecx
cmp dword [esi + 0x644], 0x20
mov eax, 0x100
setne cl
dec ecx
and ecx, eax
add eax, ecx
lea ecx, [ebp + 8]
push ecx
or eax, 0x20019
push eax
push 0
push dword [ebp - 4]
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100ac87
push edi
push dword [ebp + 8]
xor edi, edi
inc edi
mov ecx, esi
mov dword [esi + 0x10], edi
call fcn.0100b55c
mov ebx, eax
test ebx, ebx
jl 0x100ac56
push dword [ebp + 8]
mov ecx, esi
call fcn.0100b608
mov ebx, eax
lea eax, [ebp - 8]
push eax
add esi, 0x2c
push esi
lea eax, [ebp - 0xc]
push eax
push 0
push dword [0x103b54c]
mov dword [ebp - 0xc], edi
push dword [ebp + 8]
mov dword [ebp - 8], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
push dword [ebp - 4]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
pop esi
mov eax, ebx
pop ebx
leave
ret 4

Function at 0x100b55c
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x103a02c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, ecx
lea ecx, [ebp - 0x214]
push ecx
lea ecx, [ebp - 0x20c]
push ecx
lea ecx, [ebp - 0x210]
push ecx
xor ebx, ebx
push ebx
push dword [0x103b4ec]
xor edi, edi
inc edi
push eax
mov dword [ebp - 0x210], edi
mov dword [ebp - 0x214], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x101475f
push dword [0x103b4fc]
lea eax, [ebp - 0x20c]
push eax
call fcn.010091a5
test eax, eax
je 0x1014757
push dword [0x103b500]
lea eax, [ebp - 0x20c]
push eax
call fcn.010091a5
test eax, eax
jne 0x101e9e8
mov dword [esi + 8], edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.01006c81
leave
ret 4
and dword [esi + 8], ebx
jmp 0x100b5f0
mov ebx, 0x80041012
jmp 0x100b5f0
push dword [0x103b8b8]
lea eax, [ebp - 0x20c]
push eax
call fcn.010091a5
test eax, eax
jne 0x101ea0a
mov dword [esi + 8], 2
jmp 0x100b5f0
push dword [0x103b8bc]
lea eax, [ebp - 0x20c]
push eax
call fcn.010091a5
neg eax
sbb eax, eax
neg eax
add eax, 3
mov dword [esi + 8], eax
jmp 0x100b5f0
Function at 0x100b608
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x103a02c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov esi, ecx
lea ecx, [ebp - 0x214]
push ecx
lea ecx, [ebp - 0x20c]
push ecx
lea ecx, [ebp - 0x210]
push ecx
push 0
push dword [0x103b4f4]
xor edi, edi
inc edi
push eax
mov dword [ebp - 0x210], edi
mov dword [ebp - 0x214], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x101ea2d
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.01006c81
leave
ret 4
push dword [0x103b8c0]
lea eax, [ebp - 0x20c]
push eax
call fcn.010091a5
test eax, eax
jne 0x101ea4b
and dword [esi + 0xc], eax
jmp 0x100b663
push dword [0x103b8c4]
lea eax, [ebp - 0x20c]
push eax
call fcn.010091a5
test eax, eax
jne 0x101ea69
mov dword [esi + 0xc], edi
jmp 0x100b663
push dword [0x103b8c8]
lea eax, [ebp - 0x20c]
push eax
call fcn.010091a5
test eax, eax
jne 0x101ea8b
mov dword [esi + 0xc], 2
jmp 0x100b663
push dword [0x103b8cc]
lea eax, [ebp - 0x20c]
push eax
call fcn.010091a5
test eax, eax
jne 0x101eaad
mov dword [esi + 0xc], 3
jmp 0x100b663
push dword [0x103b8d0]
lea eax, [ebp - 0x20c]
push eax
call fcn.010091a5
neg eax
sbb eax, eax
neg eax
add eax, 4
mov dword [esi + 0xc], eax
jmp 0x100b663

Function at 0x100b67a
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 4], 0
push esi
push dword [0x103b4f0]
lea eax, [ebp - 4]
push dword [ebp + 8]
mov esi, ecx
push eax
push 2
call fcn.0100ac9d
add esp, 0x10
mov dword [ebp - 0x10], eax
test eax, eax
jl 0x100b6e8
xor ecx, ecx
cmp dword [esi + 0x644], 0x20
mov eax, 0x100
setne cl
dec ecx
and ecx, eax
add eax, ecx
lea ecx, [ebp + 8]
push ecx
or eax, 0x20019
push eax
push 0
push dword [ebp - 4]
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x101ead0
push dword [ebp - 4]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x10]
pop esi
leave
ret 4
and dword [esi + 0xc], 0
inc eax
mov dword [esi + 0x14], eax
mov dword [ebp - 0xc], eax
mov dword [esi + 8], 2
lea eax, [ebp - 8]
push eax
add esi, 0x234
push esi
lea eax, [ebp - 0xc]
push eax
push 0
push dword [0x103b54c]
mov dword [ebp - 8], 0x208
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x100b6df
Function at 0x100bde1
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push 0x100be60
mov ebx, 0x80000002
push ebx
mov dword [ebp - 0x14], esi
mov dword [ebp - 8], esi
call edi
test eax, eax
jne 0x101e76c
lea eax, [ebp - 8]
push eax
push esi
lea eax, [ebp - 0x10]
push eax
push esi
push dword [ebp + 8]
mov dword [ebp - 8], esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov dword [ebp - 0xc], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0xc], esi
jne 0x101e75f
cmp dword [ebp - 0x10], 1
jne 0x101e76c
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
cmp dword [ebp - 0xc], 0xea
je 0x100be47
lea eax, [ebp - 4]
push eax
push 0x20019
push esi
push 0x101e868
push ebx
call edi
test eax, eax
jne 0x101e7c7
lea eax, [ebp - 8]
push eax
push esi
lea eax, [ebp - 0x10]
push eax
push esi
push dword [ebp + 8]
mov dword [ebp - 8], esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov dword [ebp - 0xc], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0xc], esi
je 0x101e7b5
cmp dword [ebp - 0xc], 0xea
jne 0x101e7c7
xor eax, eax
inc eax
cmp dword [ebp - 0x10], eax
jne 0x101e7c7
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
jmp 0x100be56
lea eax, [ebp - 4]
push eax
push 0x20019
push esi
push dword [0x103b928]
push ebx
call edi
cmp eax, esi
jne 0x101e84b
push 4
pop ebx
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push dword [0x103b930]
mov dword [ebp + 8], esi
push dword [ebp - 4]
mov dword [ebp - 8], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, esi
jne 0x101e826
cmp dword [ebp - 0x10], ebx
jne 0x101e82b
mov ecx, dword [ebp + 0xc]
xor eax, eax
cmp dword [ebp + 8], esi
sete al
mov dword [ecx], eax
jmp 0x101e85a
cmp edi, 2
jne 0x101e836
mov eax, dword [ebp + 0xc]
mov dword [eax], 1
jmp 0x101e85a
cmp edi, esi
jle 0x101e846
and edi, 0xffff
or edi, 0x80070000
mov dword [ebp - 0x14], edi
jmp 0x101e85a
jle 0x101e857
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
jmp 0x100be58