joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44c0c8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44c100]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44c0e1
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44c0f0
or bl, 4
test esi, 0x20000000
je 0x44c0fb
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4527c4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4527d6
add esp, 0xfffffff0
call fcn.004041d0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041b46c
mov eax, dword [0x46da14]
mov dword [eax + 4], ebx
mov dword [eax], 0x452b68
mov eax, dword [0x46da20]
mov dword [eax + 4], ebx
mov dword [eax], 0x452b74
mov eax, ebx
call fcn.00452b80
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x413764]
call fcn.00403e68
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x413764]
call fcn.00403e68
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x413764]
call fcn.00403e68
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x413764]
call fcn.00403e68
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x413764]
call fcn.00403e68
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x44ef98
push eax
push 0
push 0
mov eax, dword [0x46db6c]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41ced8]
call fcn.0041e670
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41ced8]
call fcn.0041e670
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41ced8]
call fcn.0041e670
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00452fd0
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x452e98
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x452e98
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x452e98
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x452913
call fcn.00404228
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x452c7c
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x452e27
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x452e08
mov dl, 1
mov eax, dword [0x413b80]
call fcn.00403e68
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404c24
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x452df7
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00440bbc
test al, al
je 0x452dea
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x452e38
lea eax, [ebp - 0x254]
call fcn.0040ab24
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x452dea
xor eax, eax
push ebp
push 0x452de3
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x452e70
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x452dcc
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404e94
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x452dcc
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404e94
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x452dea
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x452ced
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041765c
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x452e2e
lea eax, [ebp - 0x260]
call fcn.00404c24
ret

Function at 0x453770
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x472740]
cmp byte [eax + 0xa5], 0
jne 0x4537e1
cmp dword [0x472758], 0
jne 0x4537a2
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45372c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x472758], eax
cmp dword [0x472754], 0
jne 0x4537bd
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x472754], eax
cmp dword [0x47275c], 0
jne 0x4537e1
push esp
push 0
push 0
push 0x4536d0
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x47275c], eax
pop edx
ret
Function at 0x453e74
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x472740]
cmp dword [eax + 0x30], 0
je 0x453f1e
cmp dword [ebx + 0x94], 0
jne 0x453f18
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x453e04
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x453f18
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x453ede
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x453f18
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00415acc
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x453eed
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x454a7c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x454ab1
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404d14
jmp 0x454abe
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404c78
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x455be0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x455c21
mov eax, esi
call fcn.0043c27c
test al, al
je 0x455c21
mov eax, dword [ebx + 0x84]
call fcn.0043bf78
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x455c21
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043bf78
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x45930c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x45933a
mov eax, ebx
call fcn.00459dc0
cmp dword [ebx + 0x40], 0
je 0x459333
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4593ab
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x45939d
cmp dword [ebx + 8], 0
je 0x45935c
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x45936e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x45939d
cmp dword [ebx + 8], 0
je 0x45934f
cmp eax, 3
je 0x459381
dec eax
jne 0x45934f
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x45934f
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x45934f
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4593c9
cmp dword [ebx + 0x14], 0xcc
je 0x4593c9
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004593d4
pop ebx
ret
Function at 0x469ac4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x469b3b
push dword fs:[eax]
mov dword fs:[eax], esp
test dl, dl
je 0x469b01
push 1
lea eax, [ebp - 4]
mov ecx, 0x469b50
mov edx, ebx
call fcn.00404f30
mov eax, dword [ebp - 4]
call fcn.004050e4
push eax
call sub.kernel32.dll_WinExec
jmp 0x469b20
push 1
lea eax, [ebp - 8]
mov ecx, 0x469b64
mov edx, ebx
call fcn.00404f30
mov eax, dword [ebp - 8]
call fcn.004050e4
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x469b42
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404c48
ret

Function at 0x469b70
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x469bf9
push dword fs:[eax]
mov dword fs:[eax], esp
test dl, dl
je 0x469bb6
push 1
push 0x469c10
push ebx
push 0x469c2c
lea eax, [ebp - 4]
mov edx, 3
call fcn.00404fa4
mov eax, dword [ebp - 4]
call fcn.004050e4
push eax
call sub.kernel32.dll_WinExec
jmp 0x469bde
push 1
push 0x469c38
push ebx
push 0x469c2c
lea eax, [ebp - 8]
mov edx, 3
call fcn.00404fa4
mov eax, dword [ebp - 8]
call fcn.004050e4
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x469c00
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404c48
ret
Function at 0x46a9a0
Capabilities:
Create process on windows
Create process suspended
Self delete

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdc4
xor edx, edx
mov dword [ebp - 0x238], edx
mov dword [ebp - 0x23c], edx
mov dword [ebp - 0x230], edx
mov dword [ebp - 0x234], edx
mov dword [ebp - 0x228], edx
mov dword [ebp - 0x22c], edx
mov dword [ebp - 4], edx
xor eax, eax
push ebp
push 0x46ab99
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x22c]
xor eax, eax
call fcn.00403194
mov eax, dword [ebp - 0x22c]
lea edx, [ebp - 0x228]
call fcn.0040a328
mov edx, dword [ebp - 0x228]
lea eax, [ebp - 4]
mov ecx, 0x46abac
call fcn.00404f30
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x1d0]
call fcn.00403518
lea eax, [ebp - 0x1d0]
call fcn.004032b4
call fcn.00402f5c
mov edx, 0x46abc4
lea eax, [ebp - 0x1d0]
call fcn.004052d4
call fcn.00403950
call fcn.00402f5c
push 0x46abd4
lea edx, [ebp - 0x234]
xor eax, eax
call fcn.00403194
push dword [ebp - 0x234]
push 0x46abe4
lea eax, [ebp - 0x230]
mov edx, 3
call fcn.00404fa4
mov edx, dword [ebp - 0x230]
lea eax, [ebp - 0x1d0]
call fcn.004052d4
call fcn.00403950
call fcn.00402f5c
push 0x46abf0
lea edx, [ebp - 0x23c]
xor eax, eax
call fcn.00403194
push dword [ebp - 0x23c]
push 0x46abe4
push 0x46ac04
lea eax, [ebp - 0x238]
mov edx, 4
call fcn.00404fa4
mov edx, dword [ebp - 0x238]
lea eax, [ebp - 0x1d0]
call fcn.004052d4
call fcn.00403950
call fcn.00402f5c
mov edx, 0x46ac18
lea eax, [ebp - 0x1d0]
call fcn.004052d4
call fcn.00403950
call fcn.00402f5c
lea eax, [ebp - 0x1d0]
call fcn.004035e0
call fcn.00402f5c
lea eax, [ebp - 0x224]
xor ecx, ecx
mov edx, 0x44
call fcn.00403748
mov dword [ebp - 0x1f8], 1
mov word [ebp - 0x1f4], 0
lea eax, [ebp - 0x1e0]
push eax
lea eax, [ebp - 0x224]
push eax
push 0
push 0
push 0x40
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004050e4
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x46ab73
mov eax, dword [ebp - 0x1dc]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x1e0]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46aba0
lea eax, [ebp - 0x23c]
mov edx, 6
call fcn.00404c48
lea eax, [ebp - 4]
call fcn.00404c24
ret
Function at 0x1114058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x11141a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x111407e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x111406a
add dl, dl
jne 0x1114089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x11140dc
xor eax, eax
add dl, dl
jne 0x1114096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x111417d
add dl, dl
jne 0x11140a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x11140b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x11140bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x11140c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x11140d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1114075
mov eax, 1
add dl, dl
jne 0x11140ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x11140f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x11140e1
sub eax, ebx
mov ebx, 1
jne 0x1114128
mov ecx, 1
add dl, dl
jne 0x111410e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1114119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1114105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1114075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x111413f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x111414a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1114136
cmp eax, 0x7d00
jae 0x111416d
cmp eax, 0x500
jb 0x1114168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1114075
cmp eax, 0x7f
ja 0x1114170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1114075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x111419e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x1114075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x4b08b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x84000]
push edi
jmp 0x4b08ca
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4b08d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b08c0
mov eax, 1
add ebx, ebx
jne 0x4b08e3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4b08f4
jne 0x4b0913
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b0913
dec eax
add ebx, ebx
jne 0x4b0900
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4b08d8
add ebx, ebx
jne 0x4b090f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4b0965
xor ecx, ecx
sub eax, 3
jb 0x4b092b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4b099a
sar eax, 1
mov ebp, eax
jmp 0x4b0936
add ebx, ebx
jne 0x4b0936
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b0904
inc ecx
add ebx, ebx
jne 0x4b0944
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b0904
add ebx, ebx
jne 0x4b0951
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4b0946
jne 0x4b0962
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4b0946
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4b0984
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4b0976
jmp 0x4b08c6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4b0984
add edi, ecx
jmp 0x4b08c6
pop esi
mov edi, esi
mov ecx, 0xa54
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4b09a2
cmp byte [edi], 1
jne 0x4b09a2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4b09a7
lea edi, [esi + 0xae000]
mov eax, dword [edi]
or eax, eax
je 0x4b0a1f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xd168c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xd172c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4b09d4
mov ecx, edi
jns 0x4b0a03
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xd1730]
or eax, eax
je 0x4b0a19
mov dword [ebx], eax
add ebx, 4
jmp 0x4b09f1
call dword [esi + 0xd1740]
mov ebp, dword [esi + 0xd1734]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4b0a53
sub esp, 0xffffff80
jmp 0x402aaa
Function at 0x10006ba0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1007a130
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [esp + 0x30]
push ebp
push esi
push edi
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x10]
call fcn.1006d1a8
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0
xor ebp, ebp
call fcn.10007af0
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x2c], 1
cmp ecx, 3
ja case.default.0x10006bf4
jmp dword [ecx*4 + 0x10006d5c]
mov al, byte [esi]
test al, al
je 0x10006c22
cmp al, 0x20
je 0x10006c0e
cmp al, 0xa1
jne 0x10006c22
cmp byte [esi + 1], al
jne 0x10006c22
test al, 0x80
je 0x10006c1a
mov al, byte [esi + 1]
inc esi
test al, al
je 0x10006c22
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x10006c01
test ecx, ecx
je case.default.0x10006bf4
mov dl, byte [esi]
xor ecx, ecx
test dl, dl
mov eax, esi
je case.default.0x10006bf4
mov edi, dword [esp + 0x3c]
mov dl, byte [eax]
test dl, 0x80
je 0x10006c68
cmp dl, 0xa1
jne 0x10006c5c
cmp byte [eax + 1], 0xa1
jne 0x10006c5c
test ecx, ecx
jne 0x10006c54
mov edi, eax
mov ecx, 1
inc eax
jmp 0x10006c7c
mov dl, byte [eax + 1]
inc eax
xor ecx, ecx
test dl, dl
je 0x10006c96
jmp 0x10006c7c
cmp dl, 0x20
jne 0x10006c7a
test ecx, ecx
jne 0x10006c73
mov edi, eax
mov ecx, 1
jmp 0x10006c7c
xor ecx, ecx
mov dl, byte [eax + 1]
inc eax
test dl, dl
jne 0x10006c3c
cmp ecx, 1
jne case.default.0x10006bf4
mov dl, byte [edi]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x10006bf4
mov dl, byte [eax - 1]
lea edi, [eax - 1]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x10006bf4
mov al, byte [esi]
test al, al
je 0x10006cee
test al, 0x80
mov byte [esp + 0x3c], al
je 0x10006cd4
mov cl, byte [esi + 1]
test cl, cl
je 0x10006cee
cmp al, 0xa1
jne 0x10006cc4
cmp cl, al
je 0x10006cd1
mov ax, word [esi]
lea ecx, [esp + 0x10]
push eax
call fcn.10007dc0
inc esi
jmp 0x10006ce6
cmp al, 0x20
je 0x10006ce6
mov ecx, dword [esp + 0x3c]
push ecx
lea ecx, [esp + 0x14]
call fcn.10007e00
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x10006cad
push 0
lea ecx, [esp + 0x14]
call fcn.10007e00
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.10011f10
mov edx, dword [esp + 0x38]
add esp, 4
test ebp, ebp
mov dword [edx], eax
je 0x10006d21
mov al, byte [esp + 0x3c]
mov byte [ebp], al
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 0
mov dword [esp + 0x10], 0x1008d440
call fcn.10007cf0
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
call fcn.1006d13a
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x1000c9a0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x1007a61b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.1006ceaf
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x1000ca22
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.1006a8aa
mov eax, dword [eax]
push 0x100a1250
push eax
call fcn.1005c924
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.1006d13a
test bl, bl
je 0x1000ca22
push 0x100a1250
lea ecx, [esp + 0xc]
call fcn.1006d516
push 0x100a4da0
lea ecx, [esp + 0xc]
call fcn.1006d516
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x1000ca5e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.1006d13a
jmp 0x1000cb29
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x1000cae2
lea edx, [esp + 0x7c]
push 0x100a4d9c
push edx
call fcn.1005c924
add esp, 8
test eax, eax
je 0x1000cae2
lea eax, [esp + 0x7c]
push 0x100a4d98
push eax
call fcn.1005c924
add esp, 8
test eax, eax
je 0x1000cae2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1000ca72
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.1006d13a
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x1000d320
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x1000d382
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc