joyce8/EMBER2024-capa huggingface dataset:
Function at 0x3ab1649e
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push 0xd4
mov eax, 0x3ab3f994
call fcn.3ab359d8
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
xor ebx, ebx
push ebx
mov dword [ebp - 0xa8], 1
call fcn.3ab3c1f6
mov dword [ebp - 4], ebx
push 0x3aa53c3c
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0xa0], ebx
call fcn.3ab3c1f6
mov byte [ebp - 4], 1
push esi
lea ecx, [ebp - 0xe0]
call fcn.3ab3c1f6
mov byte [ebp - 4], 2
lea eax, [ebp - 0xc4]
push eax
lea eax, [ebp - 0xe0]
push eax
lea eax, [ebp - 0x9c]
push eax
call fcn.3ab1628c
mov byte [ebp - 4], 4
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0xe0]
call fcn.3ab3c1f6
mov byte [ebp - 4], 5
push ebx
push esi
lea ecx, [ebp - 0xc4]
call fcn.3ab3c1f6
push 0x3aa64df4
lea ecx, [ebp - 0xc4]
call fcn.3ab3c1f6
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x9c]
push ecx
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.3aa971a4
add esp, 0xc
mov byte [ebp - 4], 8
push ebx
push esi
lea ecx, [ebp - 0xc4]
call fcn.3ab3c1f6
push 0x3aa6cb30
lea ecx, [ebp - 0x80]
call fcn.3ab3c1f6
push edi
lea ecx, [ebp - 0x80]
call fcn.3ab3c1f6
push 0x3aa54100
lea ecx, [ebp - 0x64]
call fcn.3ab3c1f6
mov byte [ebp - 4], 9
push 0x3aa540ec
lea ecx, [ebp - 0x48]
call fcn.3ab3c1f6
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x2c]
call fcn.3ab3c1f6
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x60]
xor eax, eax
cmp byte [ebp + 0x14], bl
push 8
setne al
pop edi
mov dword [ebp - 0xa4], ebx
add eax, 0x80000001
cmp dword [ebp - 0x4c], edi
jae 0x3ab165d3
lea ecx, [ebp - 0x60]
push ebx
lea edx, [ebp - 0xa4]
push edx
push ebx
push 2
push ebx
push ebx
push ebx
push ecx
push eax
call dword [sym.imp.advapi32.dll_RegCreateKeyExW]
cmp eax, ebx
jne 0x3ab16658
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x14], edi
jae 0x3ab165f8
lea eax, [ebp - 0x28]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x3ab165fb
sub eax, edx
mov edx, dword [ebp - 0x28]
sar eax, 1
cmp dword [ebp - 0x14], edi
jae 0x3ab16614
lea edx, [ebp - 0x28]
mov ecx, dword [ebp - 0x44]
cmp dword [ebp - 0x30], edi
jae 0x3ab1661f
lea ecx, [ebp - 0x44]
lea eax, [eax + eax + 2]
push eax
push edx
push esi
push ebx
push ecx
push dword [ebp - 0xa4]
call dword [sym.imp.advapi32.dll_RegSetValueExW]
cmp eax, ebx
je 0x3ab1664a
jle 0x3ab16644
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0xa0], eax
push dword [ebp - 0xa4]
call dword [sym.imp.advapi32.dll_RegCloseKey]
jmp 0x3ab1666a
jle 0x3ab16664
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0xa0], eax
mov byte [ebp - 4], 0xa
push ebx
push esi
lea ecx, [ebp - 0x2c]
call fcn.3ab3c1f6
mov byte [ebp - 4], 9
push ebx
push esi
lea ecx, [ebp - 0x48]
call fcn.3ab3c1f6
mov byte [ebp - 4], 8
push ebx
push esi
lea ecx, [ebp - 0x64]
call fcn.3ab3c1f6
mov byte [ebp - 4], 5
push ebx
push esi
lea ecx, [ebp - 0x80]
call fcn.3ab3c1f6
mov byte [ebp - 4], bl
push ebx
push esi
lea ecx, [ebp - 0x9c]
call fcn.3ab3c1f6
or dword [ebp - 4], 0xffffffff
push esi
call fcn.3ab3c1f6
mov eax, dword [ebp - 0xa0]
call fcn.3ab35a6a
ret 0x14
Function at 0x3ab18e4a
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push 0x20
mov eax, 0x3ab4011a
call fcn.3ab35965
mov eax, dword [ebp + 8]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x3ab18e5c
sub eax, edx
sar eax, 1
lea esi, [eax + 1]
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.3ab3c1f6
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x3ab18e95
push 8
pop eax
call fcn.3ab35a51
ret 8
push dword [ebp + 8]
push esi
push ebx
call fcn.3ab3c1f6
mov eax, ebx
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x3ab18ea7
sub eax, edx
sar eax, 1
je 0x3ab18fdb
push ebx
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x3ab18fd3
mov edi, dword [sym.imp.kernel32.dll_GetLastError]
call edi
cmp eax, 2
je 0x3ab18ee1
cmp eax, 3
je 0x3ab18ee1
mov esi, eax
jmp 0x3ab18f3d
push 0x5c
push ebx
call fcn.3ab3c1f6
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x3ab18f26
xor eax, eax
push ebx
mov word [esi], ax
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x3ab18f34
call edi
cmp eax, 2
je 0x3ab18f10
call edi
cmp eax, 3
jne 0x3ab18f26
push 0x5c
push ebx
call fcn.3ab3c1f6
pop ecx
pop ecx
push 0x5c
pop ecx
mov word [esi], cx
mov esi, eax
test eax, eax
jne 0x3ab18ef1
push ebx
call fcn.3ab3c1f6
pop ecx
call edi
jmp 0x3ab18e8d
test al, 0x10
jne 0x3ab18f4b
mov esi, 0x10b
push ebx
call fcn.3ab3c1f6
pop ecx
mov eax, esi
jmp 0x3ab18e8d
push 0x5c
pop eax
lea ecx, [ebp - 0x2c]
mov word [esi], ax
call fcn.3ab170c4
and dword [ebp - 4], 0
push 0x5c
add esi, 2
push esi
call fcn.3ab3c1f6
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x3ab18f75
xor eax, eax
mov word [esi], ax
push 0
push ebx
call dword [sym.imp.kernel32.dll_CreateDirectoryW]
push ebx
test eax, eax
je 0x3ab18f97
lea ecx, [ebp - 0x2c]
call fcn.3ab3c1f6
test esi, esi
je 0x3ab18fb7
push 0x5c
pop eax
mov word [esi], ax
jmp 0x3ab18f5d
call fcn.3ab3c1f6
pop ecx
call edi
lea ecx, [ebp - 0x2c]
mov esi, eax
call fcn.3ab1706b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.3ab15d41
jmp 0x3ab18f44
cmp byte [ebp + 0xc], 0
je 0x3ab18fc5
lea ecx, [ebp - 0x2c]
call fcn.3ab1706b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.3ab15d41
jmp 0x3ab18fdb
test al, 0x10
je 0x3ab18f38
xor esi, esi
jmp 0x3ab18f3d
Function at 0x3ab19863
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push 0x2d0
mov eax, 0x3ab403be
call fcn.3ab359d8
mov eax, dword [ebp + 8]
mov dword [ebp - 0x284], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 0x20]
dec eax
push eax
lea ecx, [ebp + 0xc]
call fcn.3ab3c1f6
cmp word [eax], 0x5c
je 0x3ab1989f
push 0x5c
push 1
lea ecx, [ebp + 0xc]
call fcn.3ab3c1f6
push 0x3aa65ac4
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.3aaa357c
add esp, 0xc
mov byte [ebp - 4], 1
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x3ab198c4
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x27c]
push ecx
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileW]
mov dword [ebp - 0x280], eax
cmp eax, 0xffffffff
je 0x3ab19a05
mov edi, dword [sym.imp.kernel32.dll_FindNextFileW]
lea eax, [ebp - 0x250]
push 0x3aa64b94
push eax
call fcn.3ab3c1f6
pop ecx
pop ecx
test eax, eax
je 0x3ab199e2
lea eax, [ebp - 0x250]
push 0x3aa64ba0
push eax
call fcn.3ab3c1f6
pop ecx
pop ecx
test eax, eax
je 0x3ab199e2
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x2dc]
push eax
call fcn.3ab161da
mov byte [ebp - 4], 2
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x2a4]
push eax
call fcn.3aa971a4
add esp, 0xc
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x284]
push eax
call fcn.3ab3c1f6
mov byte [ebp - 4], 2
push ebx
push 1
lea ecx, [ebp - 0x2a4]
call fcn.3ab3c1f6
mov byte [ebp - 4], 1
push ebx
push 1
lea ecx, [ebp - 0x2dc]
call fcn.3ab3c1f6
cmp byte [ebp + 0x28], bl
je 0x3ab199e2
test byte [ebp - 0x27c], 0x10
je 0x3ab199e2
push dword [ebp + 0x28]
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x2c0]
push eax
call fcn.3ab161da
mov byte [ebp - 4], 4
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x288], esp
push eax
lea eax, [ebp + 0xc]
push eax
push ecx
call fcn.3aa971a4
add esp, 0xc
mov byte [ebp - 4], 5
push dword [ebp - 0x284]
mov byte [ebp - 4], 4
call fcn.3ab19863
mov byte [ebp - 4], 1
push ebx
push 1
lea ecx, [ebp - 0x2c0]
call fcn.3ab3c1f6
lea eax, [ebp - 0x27c]
push eax
push dword [ebp - 0x280]
call edi
cmp eax, ebx
jne 0x3ab198e7
push dword [ebp - 0x280]
call dword [sym.imp.kernel32.dll_FindClose]
mov byte [ebp - 4], bl
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.3ab3c1f6
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp + 0xc]
call fcn.3ab3c1f6
call fcn.3ab35a6a
ret 0x24
Function at 0x3ab1bbe3
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x424
mov eax, 0x3ab40987
call fcn.3ab359d8
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x430], eax
mov dword [ebp - 0x420], ebx
mov dword [ebp - 0x41c], ebx
mov dword [ebp - 4], ebx
push 0x2001f
push 0x3aa54a68
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x420]
call fcn.3ab3c1f6
test eax, eax
je 0x3ab1bc43
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x420]
call fcn.3aa9472b
mov eax, ebx
call fcn.3ab35a6a
ret 4
xor eax, eax
mov edi, 0x1fe
push edi
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push ebx
push eax
mov dword [ebp - 0x418], ebx
call fcn.3ab033f0
add esp, 0xc
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x210]
push eax
mov esi, 0xff
push ebx
jmp 0x3ab1bd5b
push 4
lea eax, [ebp - 0x210]
push 0x3aa54a5c
push eax
call fcn.3ab3c1f6
add esp, 0xc
test eax, eax
jne 0x3ab1bd3d
push edi
mov word [ebp - 0x410], ax
lea eax, [ebp - 0x40e]
push ebx
push eax
call fcn.3ab033f0
lea eax, [ebp - 0x210]
push eax
push 0x3aa54a54
lea eax, [ebp - 0x410]
push esi
push eax
call fcn.3ab3c1f6
add esp, 0x1c
mov dword [ebp - 0x428], ebx
mov dword [ebp - 0x424], ebx
mov byte [ebp - 4], 1
push 0x2001f
lea eax, [ebp - 0x410]
push eax
push dword [ebp - 0x420]
lea ecx, [ebp - 0x428]
mov dword [ebp - 0x42c], ebx
call fcn.3ab3c1f6
test eax, eax
jne 0x3ab1bd2f
lea eax, [ebp - 0x42c]
push eax
push 0x3aa54a44
lea ecx, [ebp - 0x428]
call fcn.3ab3c1f6
test eax, eax
jne 0x3ab1bd2f
cmp dword [ebp - 0x42c], 1
je 0x3ab1bd7a
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x428]
call fcn.3aa9472b
inc dword [ebp - 0x418]
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x418]
push dword [ebp - 0x420]
mov dword [ebp - 0x414], esi
call dword [sym.imp.advapi32.dll_RegEnumKeyExW]
test eax, eax
je 0x3ab1bc85
jmp 0x3ab1bc2a
mov ecx, dword [ebp - 0x430]
lea eax, [ebp - 0x210]
push eax
call fcn.3ab3c1f6
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x428]
call fcn.3aa9472b
xor ebx, ebx
inc ebx
jmp 0x3ab1bc2a
Function at 0x3ab1cf1c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
push esi
mov esi, ecx
call fcn.3ab1ce61
movzx eax, word [esi + 4]
push 2
push eax
push dword [esi]
call dword [sym.imp.kernel32.dll_FindResourceW]
mov dword [esi + 0x234], eax
test eax, eax
jne 0x3ab1cf4c
xor eax, eax
jmp 0x3ab1d09c
push eax
push dword [esi]
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [esi + 0x238], eax
test eax, eax
je 0x3ab1cf45
push eax
call dword [sym.imp.kernel32.dll_LockResource]
mov dword [esi + 0x23c], eax
test eax, eax
je 0x3ab1cf45
push dword [esi + 0x234]
push dword [esi]
call dword [sym.imp.kernel32.dll_SizeofResource]
lea ecx, [esi + 0x240]
and dword [ecx], 0
push eax
push ecx
push dword [esi + 0x23c]
mov dword [esi + 0x244], eax
call fcn.3ab3c1f6
mov dword [esi + 0x220], eax
test eax, eax
je 0x3ab1cf45
lea ecx, [ebp - 0x28]
push ecx
push eax
call fcn.3ab3c1f6
mov eax, dword [ebp - 0x24]
push dword [esi + 0x220]
mov dword [esi + 0x254], eax
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x258], eax
call fcn.3ab3c1f6
mov dword [esi + 0x214], eax
test eax, eax
je 0x3ab1cf45
push edi
push dword [esi + 0x220]
call dword [sym.imp.kernel32.dll_GlobalLock]
xor edi, edi
inc edi
cmp word [eax + 0xe], 0x18
je 0x3ab1d00c
mov dword [esi + 0x228], edi
mov ecx, dword [eax]
xor edx, edx
add ecx, eax
cmp dword [eax + 0x20], edx
jle 0x3ab1d00c
mov word [ecx], dx
inc ecx
inc ecx
inc edx
cmp edx, dword [eax + 0x20]
jl 0x3ab1d001
push dword [esi + 0x220]
call dword [sym.imp.kernel32.dll_GlobalUnlock]
push dword [esi + 0x244]
mov dword [esi + 0x22c], edi
push dword [esi + 0x23c]
call fcn.3ab3c1f6
cmp dword [ebp - 0x18], 0
mov dword [esi + 0x218], eax
je 0x3ab1d041
test eax, eax
jne 0x3ab1d045
jmp 0x3ab1d064
test eax, eax
je 0x3ab1d099
cmp dword [esi + 0x230], 0
jne 0x3ab1d099
push dword [esi + 0x214]
push eax
call fcn.3ab3c1f6
mov dword [esi + 0x21c], eax
test eax, eax
jne 0x3ab1d06f
mov ecx, esi
call fcn.3ab1ce61
xor eax, eax
jmp 0x3ab1d09b
lea eax, [esi + 0x248]
push eax
push dword [esi + 0x250]
push dword [esi + 0x24c]
push dword [esi + 0x214]
push dword [esi + 0x218]
call fcn.3ab3c1f6
mov dword [esi + 0x224], eax
mov eax, edi
pop edi
pop esi
leave
ret

Function at 0x3ab1d2a8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
cmp dword [ecx], 0
je 0x3ab1d2b2
jmp fcn.3ab1cf1c
jmp fcn.3ab1d0a4
Function at 0x3ab1fd5a
Capabilities:
Get hostname

Disassembly:
push 0x248
mov eax, 0x3ab41341
call fcn.3ab359d8
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
xor ebx, ebx
lea eax, [ebp - 0x216]
push ebx
push eax
call fcn.3ab033f0
add esp, 0xc
lea ecx, [ebp - 0x250]
mov dword [ebp - 0x254], 0x104
xor esi, esi
call fcn.3ab1fc98
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x24c], 2
jne 0x3ab1fdb5
cmp dword [ebp - 0x248], 5
jae 0x3ab1fdcc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x250]
call fcn.3ab1f9d1
mov al, bl
call fcn.3ab35a6a
ret
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x218]
push eax
push 7
call sub.Secur32.dll_GetComputerObjectNameW
test al, al
je 0x3ab1fe2b
lea eax, [ebp - 0x218]
push 0x2f
push eax
call fcn.3ab3c1f6
pop ecx
pop ecx
cmp eax, ebx
je 0x3ab1fe2b
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.3ab3c1f6
lea eax, [ebp - 0x218]
push 0x3aa571f4
push eax
call fcn.3ab3c1f6
add esp, 0x10
mov esi, eax
neg esi
sbb esi, esi
neg esi
cmp esi, ebx
setne bl
jmp 0x3ab1fdb5
Function at 0x3ab2ad68
Capabilities:
Read .ini file

Disassembly:
push 0x22c
mov eax, 0x3ab42d4c
call fcn.3ab359d8
mov edi, dword [ebp + 0x40]
xor esi, esi
inc esi
mov dword [ebp - 4], esi
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
xor ebx, ebx
lea eax, [ebp - 0x216]
push ebx
push eax
call fcn.3ab033f0
mov ecx, dword [ebp + 0xc]
add esp, 0xc
cmp dword [ebp + 0x20], 8
jae 0x3ab2adac
lea ecx, [ebp + 0xc]
cmp dword [ebp + 0x3c], 8
mov eax, dword [ebp + 0x28]
jae 0x3ab2adb8
lea eax, [ebp + 0x28]
push ecx
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push 0x3aa614f0
push eax
push 0x3aa59214
call dword [sym.imp.kernel32.dll_GetPrivateProfileStringW]
cmp eax, ebx
je 0x3ab2ae23
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x3ab2ade3
sub eax, edx
sar eax, 1
je 0x3ab2ae23
lea eax, [ebp - 0x218]
push eax
mov ecx, edi
call fcn.3ab3c1f6
mov byte [ebp - 4], bl
push ebx
push esi
lea ecx, [ebp + 8]
call fcn.3ab3c1f6
or dword [ebp - 4], 0xffffffff
push ebx
push esi
lea ecx, [ebp + 0x24]
call fcn.3ab3c1f6
mov eax, esi
jmp 0x3ab2aec0
push 0x3aa59270
lea ecx, [ebp - 0x234]
call fcn.3ab3c1f6
mov byte [ebp - 4], 2
cmp dword [ebp + 0x3c], 8
mov eax, dword [ebp + 0x28]
jae 0x3ab2ae43
lea eax, [ebp + 0x28]
push eax
lea ecx, [ebp - 0x234]
call fcn.3ab3c1f6
push 0x3aa59244
lea ecx, [ebp - 0x234]
call fcn.3ab3c1f6
cmp dword [ebp + 0x20], 8
mov eax, dword [ebp + 0xc]
jae 0x3ab2ae6b
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x234]
call fcn.3ab3c1f6
cmp dword [ebp - 0x21c], 8
mov eax, dword [ebp - 0x230]
jae 0x3ab2ae8c
lea eax, [ebp - 0x230]
push eax
call fcn.3ab3c1f6
mov byte [ebp - 4], 1
push ebx
push esi
lea ecx, [ebp - 0x234]
call fcn.3ab3c1f6
mov byte [ebp - 4], bl
push ebx
push esi
lea ecx, [ebp + 8]
call fcn.3ab3c1f6
or dword [ebp - 4], 0xffffffff
push ebx
push esi
lea ecx, [ebp + 0x24]
call fcn.3ab3c1f6
xor eax, eax
call fcn.3ab35a6a
ret 0x3c
Function at 0x3ab2af84
Capabilities:
Get common file path

Disassembly:
push 0x258
mov eax, 0x3ab42db1
call fcn.3ab359d8
mov dword [ebp - 0x244], ecx
mov edi, dword [ebp + 8]
and dword [ebp - 0x240], 0
mov esi, 0x3aa614f0
push esi
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x248], edi
call fcn.3ab3c1f6
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
push 0x3aa591e0
lea ecx, [ebp - 0x264]
call fcn.3ab3c1f6
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x244]
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.3ab3c1f6
mov byte [ebp - 0x239], al
mov byte [ebp - 4], bl
push 0
push ebx
lea ecx, [ebp - 0x264]
call fcn.3ab3c1f6
cmp byte [ebp - 0x239], 0
je 0x3ab2b073
cmp dword [ebp - 0x224], 0
jne 0x3ab2b02d
push 0x3aa59320
call fcn.3ab3c1f6
push esi
mov ecx, edi
call fcn.3ab3c1f6
jmp 0x3ab2b0f9
cmp dword [ebp - 0x220], 8
mov eax, dword [ebp - 0x234]
jae 0x3ab2b042
lea eax, [ebp - 0x234]
push 4
push eax
call fcn.3ab3c1f6
pop ecx
pop ecx
test eax, eax
je 0x3ab2b060
push 0x3aa592b8
call fcn.3ab3c1f6
push esi
jmp 0x3ab2b0f2
lea eax, [ebp - 0x238]
push eax
mov ecx, edi
call fcn.3ab3c1f6
jmp 0x3ab2b0f9
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
call fcn.3ab033f0
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0x104
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
lea eax, [ebp - 0x21c]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x3ab2b0ac
sub eax, edx
sar eax, 1
mov ecx, 0x104
sub ecx, eax
push ecx
push 0x3aa591f4
lea eax, [ebp - 0x21c]
push eax
call fcn.3ab1bb2d
lea eax, [ebp - 0x21c]
push 4
push eax
call fcn.3ab3c1f6
pop ecx
pop ecx
test eax, eax
jne 0x3ab2b050
lea eax, [ebp - 0x21c]
push eax
mov ecx, edi
call fcn.3ab3c1f6
mov dword [ebp - 0x240], ebx
mov byte [ebp - 4], 0
push 0
push ebx
lea ecx, [ebp - 0x238]
call fcn.3ab3c1f6
mov eax, edi
call fcn.3ab35a6a
ret 4
Function at 0x3ab2c258
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x38
mov eax, 0x3ab4304f
call fcn.3ab359d8
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp - 0x40], ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x44], ebx
call fcn.3aa95baf
mov dword [ebp - 4], 1
cmp dword [esi + 0x18], 8
lea eax, [esi + 4]
mov dword [ebp - 0x3c], eax
jb 0x3ab2c29b
mov eax, dword [eax]
lea ecx, [ebp - 0x38]
push ecx
push ebx
lea ecx, [ebp - 0x44]
push ecx
push ebx
push eax
push dword [edi]
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x3ab2c328
mov eax, dword [ebp - 0x38]
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.3ab3c1f6
pop ecx
mov dword [ebp - 0x34], eax
cmp eax, ebx
jne 0x3ab2c2e1
mov ecx, dword [ebp - 0x30]
push 0x3aa614f0
call fcn.3ab3c1f6
jmp 0x3ab2c33d
mov ecx, dword [ebp - 0x38]
lea ecx, [ecx + ecx + 2]
push ecx
push ebx
push eax
call fcn.3ab033f0
mov eax, dword [ebp - 0x3c]
add esp, 0xc
cmp dword [esi + 0x18], 8
jb 0x3ab2c2fe
mov eax, dword [eax]
lea ecx, [ebp - 0x38]
push ecx
push dword [ebp - 0x34]
lea ecx, [ebp - 0x44]
push ecx
push ebx
push eax
push dword [edi]
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x3ab2c35b
cmp dword [ebp - 0x44], 1
jne 0x3ab2c35b
push dword [ebp - 0x34]
lea ecx, [ebp - 0x2c]
call fcn.3ab3c1f6
push dword [ebp - 0x34]
call fcn.3ab3c1f6
pop ecx
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
push eax
call fcn.3ab3c1f6
xor eax, eax
inc eax
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], bl
push ebx
push eax
lea ecx, [ebp - 0x2c]
call fcn.3ab3c1f6
mov eax, dword [ebp - 0x30]
call fcn.3ab35a6a
ret 0xc
push dword [ebp - 0x34]
call fcn.3ab3c1f6
mov ecx, dword [ebp - 0x30]
mov dword [esp], 0x3aa614f0
call fcn.3ab3c1f6
jmp 0x3ab2c33d
Function at 0x3ab2d30f
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x34
mov eax, 0x3ab434cc
call fcn.3ab359d8
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x3c], ebx
mov esi, ecx
cmp dword [esi + 0x40], 8
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x40], ebx
jb 0x3ab2d33c
mov eax, dword [esi + 0x2c]
jmp 0x3ab2d33f
lea eax, [esi + 0x2c]
lea ecx, [ebp - 0x38]
push ecx
push ebx
lea ecx, [ebp - 0x40]
push ecx
push ebx
push eax
lea edi, [esi + 0x7c]
push dword [edi]
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x3ab2d40b
mov eax, dword [ebp - 0x38]
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.3ab3c1f6
pop ecx
mov dword [ebp - 0x34], eax
cmp eax, ebx
jne 0x3ab2d3a1
push edi
mov ecx, esi
call fcn.3ab3c1f6
mov ecx, dword [ebp - 0x30]
push 0x3aa614f0
call fcn.3ab3c1f6
mov dword [ebp - 4], ebx
mov dword [ebp - 0x3c], 1
jmp 0x3ab2d455
mov ecx, dword [ebp - 0x38]
lea ecx, [ecx + ecx + 2]
push ecx
push ebx
push eax
call fcn.3ab033f0
add esp, 0xc
cmp dword [esi + 0x40], 8
jb 0x3ab2d3be
mov eax, dword [esi + 0x2c]
jmp 0x3ab2d3c1
lea eax, [esi + 0x2c]
lea ecx, [ebp - 0x38]
push ecx
push dword [ebp - 0x34]
lea ecx, [ebp - 0x40]
push ecx
push ebx
push eax
push dword [edi]
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x3ab2d3e0
cmp dword [ebp - 0x40], 1
je 0x3ab2d40b
push 0x3aa5abb0
call fcn.3ab3c1f6
push edi
mov ecx, esi
call fcn.3ab3c1f6
push dword [ebp - 0x34]
call fcn.3ab3c1f6
mov dword [esp], 0x3aa614f0
mov ecx, dword [ebp - 0x30]
call fcn.3ab3c1f6
jmp 0x3ab2d392
push edi
mov ecx, esi
call fcn.3ab3c1f6
cmp dword [ebp - 0x34], ebx
jne 0x3ab2d41f
push 0x3aa614f0
jmp 0x3ab2d401
push dword [ebp - 0x34]
lea ecx, [ebp - 0x2c]
call fcn.3ab3c1f6
xor esi, esi
inc esi
mov dword [ebp - 4], esi
push dword [ebp - 0x34]
call fcn.3ab3c1f6
pop ecx
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
push eax
call fcn.3ab3c1f6
mov dword [ebp - 0x3c], esi
mov byte [ebp - 4], bl
push ebx
push esi
lea ecx, [ebp - 0x2c]
call fcn.3ab3c1f6
mov eax, dword [ebp - 0x30]
call fcn.3ab35a6a
ret 4
Function at 0x3ab2e0fb
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x34
mov eax, 0x3ab434cc
call fcn.3ab359d8
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x3c], ebx
mov esi, ecx
cmp dword [esi + 0x58], 8
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x40], ebx
jb 0x3ab2e128
mov eax, dword [esi + 0x44]
jmp 0x3ab2e12b
lea eax, [esi + 0x44]
lea ecx, [ebp - 0x38]
push ecx
push ebx
lea ecx, [ebp - 0x40]
push ecx
push ebx
push eax
lea edi, [esi + 0x94]
push dword [edi]
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x3ab2e22b
mov eax, dword [ebp - 0x38]
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.3ab3c1f6
pop ecx
mov dword [ebp - 0x34], eax
cmp eax, ebx
jne 0x3ab2e190
push edi
mov ecx, esi
call fcn.3ab3c1f6
mov ecx, dword [ebp - 0x30]
push 0x3aa614f0
call fcn.3ab3c1f6
mov dword [ebp - 4], ebx
mov dword [ebp - 0x3c], 1
jmp 0x3ab2e282
mov ecx, dword [ebp - 0x38]
lea ecx, [ecx + ecx + 2]
push ecx
push ebx
push eax
call fcn.3ab033f0
add esp, 0xc
cmp dword [esi + 0x58], 8
jb 0x3ab2e1ad
mov eax, dword [esi + 0x44]
jmp 0x3ab2e1b0
lea eax, [esi + 0x44]
lea ecx, [ebp - 0x38]
push ecx
push dword [ebp - 0x34]
lea ecx, [ebp - 0x40]
push ecx
push ebx
push eax
push dword [edi]
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x3ab2e1fa
cmp dword [ebp - 0x40], 1
jne 0x3ab2e1fa
mov eax, dword [ebp - 0x34]
mov byte [esi + 0x9c], 1
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x3ab2e1dc
sub eax, edx
sar eax, 1
xor ecx, ecx
cmp ecx, eax
sbb al, al
inc al
mov byte [esi + 0x9d], al
jmp 0x3ab2e238
push edi
mov ecx, esi
mov byte [esi + 0x9c], bl
mov byte [esi + 0x9d], 1
call fcn.3ab3c1f6
push dword [ebp - 0x34]
call fcn.3ab3c1f6
mov dword [esp], 0x3aa614f0
mov ecx, dword [ebp - 0x30]
call fcn.3ab3c1f6
jmp 0x3ab2e181
mov byte [esi + 0x9c], bl
mov byte [esi + 0x9d], 1
push edi
mov ecx, esi
call fcn.3ab3c1f6
cmp dword [ebp - 0x34], ebx
jne 0x3ab2e24c
push 0x3aa614f0
jmp 0x3ab2e21e
push dword [ebp - 0x34]
lea ecx, [ebp - 0x2c]
call fcn.3ab3c1f6
xor esi, esi
inc esi
mov dword [ebp - 4], esi
push dword [ebp - 0x34]
call fcn.3ab3c1f6
pop ecx
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
push eax
call fcn.3ab3c1f6
mov dword [ebp - 0x3c], esi
mov byte [ebp - 4], bl
push ebx
push esi
lea ecx, [ebp - 0x2c]
call fcn.3ab3c1f6
mov eax, dword [ebp - 0x30]
call fcn.3ab35a6a
ret 4