joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100df198
Capabilities:
Check if file exists
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
sub esp, 0x458
lea ebp, [esp - 4]
mov eax, dword [0x1019c8c8]
xor eax, ebp
mov dword [ebp + 0x458], eax
push 0x1c
mov eax, 0x1014aff0
call fcn.101018e5
mov eax, dword [ebp + 0x464]
mov esi, dword [ebp + 0x468]
xor ebx, ebx
push eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x24], ebx
call fcn.1000587e
push esi
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], ebx
call fcn.1000587e
mov esi, 0x10155e24
push esi
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.1003e7b2
push esi
lea ecx, [ebp - 0x18]
call fcn.1003e7b2
push dword [ebp - 0x20]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call edi
test eax, eax
jne 0x100df244
xor esi, esi
inc esi
lea ecx, [ebp - 0x20]
call fcn.100015d9
lea ecx, [ebp - 0x18]
call fcn.100015d9
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x458]
xor ecx, ebp
call fcn.101018a3
add ebp, 0x45c
leave
ret
push dword [ebp - 0x18]
call edi
test eax, eax
je 0x100df382
push esi
lea ecx, [ebp - 0x18]
call fcn.1001c185
push esi
lea ecx, [ebp - 0x20]
call fcn.1001c185
push 0x206
lea eax, [ebp + 0x252]
push ebx
push eax
mov word [ebp + 0x250], bx
call fcn.101027c0
push 0x10159b64
push dword [ebp - 0x18]
mov esi, str._s_s
push esi
push 0xffffffffffffffff
lea eax, [ebp + 0x250]
push 0x104
push eax
call fcn.10101c5e
add esp, 0x24
lea eax, [ebp]
push eax
lea eax, [ebp + 0x250]
push eax
mov word [ebp + 0x456], bx
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
mov dword [ebp - 0x28], edi
je 0x100df382
mov dword [ebp - 0x24], 1
movzx eax, word [ebp + 0x2c]
sub eax, 0x2e
je 0x100df368
mov eax, dword [0x1019a028]
mov dword [ebp - 0x1c], eax
lea eax, [ebp + 0x2c]
push eax
push dword [ebp - 0x18]
lea eax, [ebp - 0x1c]
push esi
push eax
mov byte [ebp - 4], 3
call fcn.100020c6
mov eax, dword [0x1019a028]
add esp, 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x2c]
push eax
push dword [ebp - 0x20]
lea eax, [ebp - 0x14]
push esi
push eax
mov byte [ebp - 4], 4
call fcn.100020c6
add esp, 0x10
test byte [ebp], 0x10
push dword [ebp - 0x14]
je 0x100df34a
push dword [ebp - 0x1c]
call fcn.100df198
cmp eax, ebx
pop ecx
pop ecx
jne 0x100df354
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x24], ebx
call fcn.100015d9
lea ecx, [ebp - 0x1c]
call fcn.100015d9
jmp 0x100df37b
call fcn.100dd594
test eax, eax
pop ecx
jne 0x100df335
lea ecx, [ebp - 0x14]
call fcn.100015d9
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.100015d9
lea eax, [ebp]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x100df2d1
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [ebp - 0x24]
jmp 0x100df20f
Function at 0x100df3a3
Capabilities:
Check if file exists
Enumerate files on windows

Disassembly:
push ebp
sub esp, 0x458
lea ebp, [esp - 4]
mov eax, dword [0x1019c8c8]
xor eax, ebp
mov dword [ebp + 0x458], eax
push 0x10
mov eax, 0x1014b028
call fcn.101018e5
mov eax, dword [ebp + 0x464]
xor edi, edi
push eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], edi
call fcn.1000587e
mov esi, 0x10155e24
push esi
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], edi
call fcn.1003e7b2
push dword [ebp - 0x18]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100df4f0
push esi
lea ecx, [ebp - 0x18]
call fcn.1001c185
push 0x206
lea eax, [ebp + 0x252]
push edi
push eax
mov word [ebp + 0x250], di
call fcn.101027c0
push 0x10159b64
push dword [ebp - 0x18]
mov esi, str._s_s
push esi
push 0xffffffffffffffff
lea eax, [ebp + 0x250]
push 0x104
push eax
call fcn.10101c5e
add esp, 0x24
lea eax, [ebp]
push eax
lea eax, [ebp + 0x250]
push eax
mov word [ebp + 0x456], di
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
mov dword [ebp - 0x1c], edi
je 0x100df4f0
mov ebx, dword [ebp + 0x468]
movzx eax, word [ebp + 0x2c]
sub eax, 0x2e
je 0x100df4d3
mov eax, dword [0x1019a028]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x2c]
push eax
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
push esi
push eax
mov byte [ebp - 4], 2
call fcn.100020c6
add esp, 0x10
test byte [ebp], 0x10
je 0x100df4b2
test bl, 3
je 0x100df4c7
push ebx
push dword [ebp - 0x14]
call fcn.100dec06
jmp 0x100df4c5
test bl, 1
je 0x100df4c7
mov eax, ebx
and eax, 8
push eax
push dword [ebp - 0x14]
call fcn.100ddaef
pop ecx
pop ecx
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.100015d9
lea eax, [ebp]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x100df473
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x14], 1
lea ecx, [ebp - 0x18]
call fcn.100015d9
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x458]
xor ecx, ebp
call fcn.101018a3
add ebp, 0x45c
leave
ret
Function at 0x100df5f3
Capabilities:
Read file on windows

Disassembly:
push 0x24
mov eax, 0x1014b0af
call fcn.1010191b
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
push ecx
lea eax, [ebp + 8]
xor esi, esi
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
mov dword [ebp - 4], esi
mov dword [ebp - 0x2c], esi
call fcn.1000584b
call fcn.100ddc62
mov ebx, eax
lea eax, [ebx - 1]
cmp eax, 0x9fffff
pop ecx
ja 0x100df6f5
cmp dword [ebp + 0x10], esi
jbe 0x100df63f
cmp ebx, dword [ebp + 0x10]
jbe 0x100df645
cmp dword [ebp + 0x10], esi
jne 0x100df6f5
lea edi, [ebx + 1]
push edi
call fcn.10100af4
mov esi, eax
test esi, esi
pop ecx
je 0x100df6f5
push edi
push 0
push esi
call fcn.101027c0
and dword [ebp - 0x28], 0
push 0x10153bc8
push dword [ebp + 8]
lea eax, [ebp - 0x28]
push eax
call fcn.101035c0
add esp, 0x18
test eax, eax
jne 0x100df6db
cmp dword [ebp - 0x28], eax
je 0x100df6ea
push dword [ebp - 0x28]
push 1
push ebx
push esi
call fcn.101034cc
add esp, 0x10
cmp eax, 1
jne 0x100df6db
xor eax, eax
mov byte [ebp - 0x24], 0
lea edi, [ebp - 0x23]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push str.89F3CC4B_0091_49B0_81A6_188CFF582735
stosw word es:[edi], ax
push 0x10153b9c
push 0xffffffffffffffff
stosb byte es:[edi], al
lea eax, [ebp - 0x24]
push 0x14
push eax
call fcn.1010314f
push 0xa0
lea eax, [ebp - 0x24]
push eax
push ebx
push esi
call fcn.100565f8
mov eax, dword [ebp - 0x30]
add esp, 0x24
mov dword [eax], esi
mov dword [ebp - 0x2c], ebx
xor esi, esi
cmp dword [ebp - 0x28], 0
je 0x100df6ea
push dword [ebp - 0x28]
call fcn.10103005
pop ecx
test esi, esi
je 0x100df6f5
push esi
call fcn.10101095
pop ecx
lea ecx, [ebp + 8]
call fcn.100015d9
mov eax, dword [ebp - 0x2c]
call fcn.1010199e
ret

Function at 0x100dfa91
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x1019c8c8]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 4
mov eax, 0x1014b1ad
call fcn.101018b2
mov edi, dword [ebp + 0x214]
mov ebx, dword [ebp + 0x218]
lea eax, [ebp - 0x10]
xor esi, esi
push eax
mov dword [ebp - 0x10], esi
call fcn.100df824
pop ecx
push 0x5c
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], esi
call fcn.1001c421
push 0x206
lea eax, [ebp + 2]
push esi
push eax
mov word [ebp], si
call fcn.101027c0
add esp, 0xc
lea eax, [ebp]
push eax
push esi
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x100dfb14
push 0x10152f84
mov ecx, edi
call fcn.1000587e
jmp 0x100dfb2b
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x10]
call fcn.10001cbf
lea eax, [ebp - 0x10]
push eax
mov ecx, edi
call fcn.1000584b
lea ecx, [ebp - 0x10]
call fcn.100015d9
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.101018a3
add ebp, 0x20c
leave
ret
Function at 0x100dfb97
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
or edi, 0xffffffff
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x100dfbea
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x14]
lea eax, [ebp - 0xc]
push eax
push 0
push dword [ebp + 0x10]
mov dword [ebp - 8], 4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100dfbe1
cmp dword [ebp - 0xc], 4
jne 0x100dfbe1
xor edi, edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
leave
ret

Function at 0x100dfbef
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [ebp + 0x18]
push edi
push esi
push 0
push dword [ebp + 0x14]
or edi, 0xffffffff
call fcn.101027c0
add esp, 0xc
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x100dfc50
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x14]
lea eax, [ebp - 0xc]
push eax
push 0
push dword [ebp + 0x10]
mov dword [ebp - 8], esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100dfc47
cmp dword [ebp - 0xc], 1
jne 0x100dfc47
xor edi, edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
leave
ret

Function at 0x100dfc56
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
or esi, 0xffffffff
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x100dfc97
push 4
lea eax, [ebp + 0x14]
push eax
push 4
push 0
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x100dfc8e
xor esi, esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret

Function at 0x100dfc9c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
or esi, 0xffffffff
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x100dfcf3
mov eax, dword [ebp + 0x14]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x100dfcbe
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push dword [ebp + 0x14]
push 1
push 0
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x100dfcea
xor esi, esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret
Function at 0x100dfd3d
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
or esi, 0xffffffff
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x100dfd91
mov eax, dword [ebp + 0x14]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x100dfd5f
sub eax, edx
sar eax, 1
inc eax
push eax
push dword [ebp + 0x14]
push 2
push 0
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x100dfd88
xor esi, esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret

Function at 0x100dfd96
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
or esi, 0xffffffff
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x100dfdcd
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x100dfdc4
xor esi, esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret
Function at 0x100e01cf
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0x8c
mov eax, dword [0x1019c8c8]
xor eax, ebp
mov dword [ebp + 0x68], eax
push ebx
mov ebx, dword [ebp + 0x7c]
push esi
mov esi, dword [ebp + 0x74]
push edi
mov edi, dword [ebp + 0x78]
push 0x7f
lea eax, [ebp - 0x17]
push 0
push eax
mov byte [ebp - 0x18], 0
call fcn.101027c0
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
push ebx
push edi
push esi
mov dword [ebp - 0x1c], 0x80
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
xor ecx, ecx
cmp eax, 2
setne cl
pop edi
pop esi
pop ebx
mov eax, ecx
mov ecx, dword [ebp + 0x68]
xor ecx, ebp
call fcn.101018a3
add ebp, 0x6c
leave
ret

Function at 0x100e02ad
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push dword [ebp + 0xc]
mov dword [ebp - 4], esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp dword [ebp - 4], esi
jne 0x100e02d8
xor eax, eax
jmp 0x100e033e
push esi
push esi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push dword [ebp - 4]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x100e030d
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x100e02d4
mov eax, dword [ebp - 8]
push edi
add eax, eax
mov dword [ebp - 8], eax
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10100af4
mov edi, eax
cmp edi, esi
pop ecx
jne 0x100e0341
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
leave
ret
push dword [ebp - 0x10]
call fcn.10100af4
cmp eax, esi
pop ecx
mov dword [ebp - 0x18], eax
jne 0x100e035e
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x100e033d
push ebx
xor ebx, ebx
cmp dword [ebp - 0x14], esi
mov dword [ebp - 0xc], 1
jbe 0x100e03c3
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x18]
lea eax, [ebp - 0x24]
push eax
push esi
lea eax, [ebp - 0x1c]
push eax
push edi
push ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x100e03c0
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 8]
ja 0x100e03c0
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push dword [ebp - 0x18]
push edi
push dword [ebp + 0x14]
call dword [ebp + 0x10]
add esp, 0x14
test eax, eax
je 0x100e03c0
inc ebx
cmp ebx, dword [ebp - 0x14]
jb 0x100e036d
jmp 0x100e03c3
mov dword [ebp - 0xc], esi
push edi
call fcn.10101095
push dword [ebp - 0x18]
call fcn.10101095
mov esi, dword [ebp - 0xc]
pop ecx
pop ecx
pop ebx
jmp 0x100e0351
Function at 0x100e03dc
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push dword [ebp + 0xc]
mov dword [ebp - 4], esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp dword [ebp - 4], esi
jne 0x100e0408
xor eax, eax
pop esi
leave
ret
push esi
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push esi
push esi
push dword [ebp - 4]
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x100e0437
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x100e0403
push ebx
push edi
mov edi, dword [ebp - 0x14]
xor ecx, ecx
push 2
lea edi, [edi + edi + 2]
pop edx
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10100af4
mov ebx, eax
cmp ebx, esi
pop ecx
jne 0x100e046c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop ebx
jmp 0x100e0405
cmp dword [ebp - 0xc], esi
mov dword [ebp - 0x10], 1
mov dword [ebp - 8], esi
jbe 0x100e04aa
push edi
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x100e04a7
push ebx
push dword [ebp + 0x14]
call dword [ebp + 0x10]
test eax, eax
pop ecx
pop ecx
je 0x100e04a7
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0xc]
jb 0x100e047b
jmp 0x100e04aa
mov dword [ebp - 0x10], esi
push ebx
call fcn.10101095
mov esi, dword [ebp - 0x10]
pop ecx
jmp 0x100e045d
Function at 0x100e0693
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x1004]
mov eax, 0x1004
call fcn.10102790
push 0xffffffffffffffff
push 0x1014b218
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x1019c8c8]
xor eax, ebp
mov dword [ebp + 0x1000], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x1018]
mov eax, dword [ebp + 0x1010]
mov ebx, dword [ebp + 0x100c]
xor edi, edi
cmp esi, edi
mov dword [ebp - 0x20], eax
je 0x100e08a7
cmp eax, edi
je 0x100e08a7
mov eax, dword [0x1019a028]
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], edi
mov dword [ebp - 0x14], eax
push 0x101554a8
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], edi
call fcn.10001cbf
push ebx
lea ecx, [ebp - 0x14]
call fcn.1001c185
push 0x10155490
lea ecx, [ebp - 0x14]
call fcn.1001c185
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.10103ee5
test eax, eax
mov ebx, dword [ebp - 0x30]
pop ecx
pop ecx
je 0x100e0747
mov ebx, 0x800
push 0x10165bcc
lea eax, [ebp - 0x18]
push esi
push eax
call fcn.101035c0
add esp, 0xc
test eax, eax
jne 0x100e0897
cmp dword [ebp - 0x18], edi
je 0x100e0897
lea esi, [ebx + 1]
push esi
call fcn.10100af4
push esi
xor esi, esi
mov edi, eax
push esi
push edi
call fcn.101027c0
push dword [ebp - 0x18]
push ebx
push 1
push edi
call fcn.101034cc
push 0xffe
lea eax, [ebp + 2]
push esi
push eax
mov word [ebp], si
call fcn.101027c0
add esp, 0x2c
push 0x800
lea eax, [ebp]
push eax
push 0xffffffffffffffff
push edi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push edi
call fcn.10101095
lea eax, [ebp]
push eax
mov esi, 0x1015719c
lea eax, [ebp - 0x10]
push esi
push eax
call fcn.100020c6
mov ebx, dword [ebp - 0x14]
add esp, 0x10
push 0
push ebx
lea ecx, [ebp - 0x10]
call fcn.100015a7
mov edi, eax
cmp edi, 0xffffffff
je 0x100e0897
add edi, dword [ebx - 8]
mov ebx, dword [ebp - 0x10]
movzx eax, word [ebx + edi*2]
movzx ecx, ax
cmp cx, 0xd
je 0x100e0806
movzx eax, ax
cmp ax, 0xa
jne 0x100e080c
inc edi
cmp dword [ebx - 8], edi
jg 0x100e07f0
push edi
push 0x101554a8
lea ecx, [ebp - 0x10]
call fcn.100015a7
cmp eax, 0xffffffff
jne 0x100e0822
mov eax, dword [ebx - 8]
lea ecx, [ebx + eax*2 - 2]
movzx edx, word [ecx]
movzx ebx, dx
cmp bx, 0xd
je 0x100e083b
movzx edx, dx
cmp dx, 0xa
jne 0x100e0840
dec eax
dec ecx
dec ecx
jmp 0x100e0826
sub eax, edi
push eax
push edi
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x10]
call fcn.100167bd
push 0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.10001a82
push eax
push esi
push 0xffffffffffffffff
push dword [ebp + 0x1014]
push dword [ebp - 0x20]
call fcn.10101c5e
push dword [ebp - 0x18]
call fcn.10103005
add esp, 0x18
lea ecx, [ebp - 0x1c]
call fcn.100015d9
lea ecx, [ebp - 0x14]
call fcn.100015d9
lea ecx, [ebp - 0x10]
call fcn.100015d9
xor eax, eax
jmp 0x100e08aa
lea ecx, [ebp - 0x14]
call fcn.100015d9
lea ecx, [ebp - 0x10]
call fcn.100015d9
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1000]
xor ecx, ebp
call fcn.101018a3
add ebp, 0x1004
leave
ret
Function at 0x100e08cd
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x790]
sub esp, 0x810
mov eax, dword [0x1019c8c8]
xor eax, ebp
mov dword [ebp + 0x78c], eax
mov eax, dword [ebp + 0x7a4]
push ebx
mov ebx, dword [ebp + 0x7a0]
push esi
mov esi, dword [ebp + 0x798]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x7a8]
push edi
mov edi, dword [ebp + 0x79c]
mov dword [ebp - 0x80], eax
xor eax, eax
mov dword [ebp - 0x7c], eax
push 0x7fe
push eax
mov word [ebp - 0x74], ax
lea eax, [ebp - 0x72]
push eax
call fcn.101027c0
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x78]
mov dword [ebp - 0x7c], 0x800
push ebx
push edi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x100e095f
cmp dword [ebp - 0x78], 1
jne 0x100e095f
lea eax, [ebp - 0x74]
push eax
mov ecx, esi
call fcn.1000587e
jmp 0x100e0969
push dword [ebp - 0x80]
mov ecx, esi
call fcn.1000584b
mov ecx, dword [ebp + 0x78c]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.101018a3
add ebp, 0x790
leave
ret

Function at 0x100e0d3e
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
cmp eax, ecx
jne 0x100e0d4c
xor eax, eax
inc eax
ret
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov word [eax + 0x1c], cx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x60], ecx
mov dword [eax + 0x64], ecx
xor eax, eax
ret
Function at 0x100e0d81
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x14c
push ebx
push esi
push edi
xor esi, esi
lea ecx, [eax + 0x1f]
movzx edi, byte [ecx + 1]
xor edx, edx
mov dh, byte [ecx - 1]
mov dl, byte [ecx]
add ecx, 4
shl edx, 8
or edx, edi
movzx edi, byte [ecx - 2]
shl edx, 8
or edx, edi
mov dword [ebp + esi*4 - 0x14c], edx
inc esi
cmp esi, 0x10
jl 0x100e0d95
push 0x40
lea ecx, [ebp - 0x144]
pop edx
mov esi, dword [ecx + 0x2c]
xor esi, dword [ecx + 0x18]
xor esi, dword [ecx - 8]
xor esi, dword [ecx]
add ecx, 4
dec edx
rol esi, 1
mov dword [ecx + 0x34], esi
jne 0x100e0dc7
mov esi, dword [eax + 0xc]
mov ecx, dword [eax]
mov edx, dword [eax + 8]
and dword [ebp + 8], 0
mov dword [ebp - 4], esi
mov esi, dword [eax + 0x10]
mov dword [ebp - 8], ecx
mov ecx, dword [eax + 4]
mov dword [ebp - 0xc], esi
mov esi, dword [ebp - 8]
mov edi, ecx
not edi
and edi, dword [ebp - 4]
mov ebx, edx
and ebx, ecx
or edi, ebx
rol esi, 5
add esi, edi
mov edi, dword [ebp + 8]
add esi, dword [ebp + edi*4 - 0x14c]
mov edi, dword [ebp - 0xc]
inc dword [ebp + 8]
lea esi, [esi + edi + 0x5a827999]
mov edi, dword [ebp - 4]
ror ecx, 2
cmp dword [ebp + 8], 0x14
mov dword [ebp - 4], edx
mov edx, ecx
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], esi
jl 0x100e0df8
mov dword [ebp + 8], 0x14
mov ebx, dword [ebp - 4]
xor ebx, edx
xor ebx, ecx
rol esi, 5
add esi, ebx
mov ebx, dword [ebp + 8]
add esi, dword [ebp + ebx*4 - 0x14c]
inc dword [ebp + 8]
lea esi, [esi + edi + 0x6ed9eba1]
mov edi, dword [ebp - 4]
ror ecx, 2
cmp dword [ebp + 8], 0x28
mov dword [ebp - 4], edx
mov edx, ecx
mov ecx, dword [ebp - 8]
mov dword [ebp - 8], esi
jl 0x100e0e45
mov dword [ebp - 0xc], edi
mov dword [ebp + 8], 0x28
mov edi, edx
or edi, ecx
and edi, dword [ebp - 4]
mov ebx, edx
and ebx, ecx
or edi, ebx
mov ebx, dword [ebp + 8]
add edi, dword [ebp + ebx*4 - 0x14c]
rol esi, 5
add esi, dword [ebp - 0xc]
inc dword [ebp + 8]
lea esi, [edi + esi - 0x70e44324]
mov edi, dword [ebp - 4]
ror ecx, 2
push 0x3c
mov dword [ebp - 0xc], edi
mov dword [ebp - 4], edx
pop edi
cmp dword [ebp + 8], edi
mov edx, ecx
mov ecx, dword [ebp - 8]
mov dword [ebp - 8], esi
jl 0x100e0e86
mov dword [ebp + 8], edi
mov edi, dword [ebp - 4]
mov ebx, dword [ebp + 8]
xor edi, edx
xor edi, ecx
add edi, dword [ebp + ebx*4 - 0x14c]
mov ebx, dword [ebp - 4]
rol esi, 5
add esi, dword [ebp - 0xc]
inc dword [ebp + 8]
ror ecx, 2
cmp dword [ebp + 8], 0x50
mov dword [ebp - 4], edx
lea esi, [edi + esi - 0x359d3e2a]
mov edx, ecx
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], esi
jl 0x100e0ecc
mov edi, dword [eax]
add edi, esi
mov esi, dword [eax + 4]
add esi, ecx
mov ecx, dword [eax + 8]
add ecx, edx
mov edx, dword [ebp - 4]
mov dword [eax + 8], ecx
mov ecx, dword [eax + 0xc]
add ecx, edx
mov dword [eax + 0xc], ecx
mov ecx, dword [eax + 0x10]
mov dword [eax], edi
pop edi
add ecx, ebx
and word [eax + 0x1c], 0
mov dword [eax + 4], esi
pop esi
mov dword [eax + 0x10], ecx
pop ebx
leave
ret