joyce8/EMBER2024-capa huggingface dataset:
Function at 0x53bb8c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x5a2f48]
push ebx
push esi
push edi
mov edi, dword [sym.imp.kernel32.dll_GetModuleHandleA]
xor ebx, ebx
push str.kernel32.dll
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], ebx
xor esi, esi
call edi
push str.GetUserDefaultUILanguage
push eax
mov dword [ebp - 0x20], eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
cmp eax, ebx
je 0x53bc2e
call eax
mov esi, dword [sym.imp.kernel32.dll_ConvertDefaultLocale]
mov ebx, 0x3ff
mov edi, 0xfc00
mov dword [ebp - 0x18], eax
movzx eax, ax
mov ecx, eax
and ecx, ebx
movzx ecx, cx
and eax, edi
or eax, ecx
push eax
mov dword [ebp - 0x1c], ecx
call esi
push dword [ebp - 0x1c]
mov dword [ebp - 0x3c], eax
call esi
push str.GetSystemDefaultUILanguage
push dword [ebp - 0x20]
mov dword [ebp - 0x38], eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
call eax
mov dword [ebp - 0x18], eax
movzx eax, ax
mov ecx, eax
and ecx, ebx
movzx ebx, cx
and eax, edi
or eax, ebx
push eax
call esi
push ebx
mov dword [ebp - 0x34], eax
call esi
mov dword [ebp - 0x30], eax
push 4
xor ebx, ebx
jmp 0x53bd30
call dword [sym.imp.kernel32.dll_GetVersion]
test eax, eax
jns 0x53bcde
lea eax, [ebp - 0x1c]
push eax
push 0x20019
push ebx
push str.Control_PanelDesktopResourceLocale
push 0x80000001
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
jne 0x53bd31
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
push eax
push ebx
push ebx
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x10
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
test eax, eax
jne 0x53bcd3
cmp dword [ebp - 0x24], 1
jne 0x53bcd3
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x14]
push 0x568994
push eax
call fcn.004668d8
add esp, 0xc
cmp eax, 1
jne 0x53bcd3
mov eax, dword [ebp - 0x28]
mov esi, dword [sym.imp.kernel32.dll_ConvertDefaultLocale]
mov dword [ebp - 0x18], eax
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
movzx edi, cx
and eax, 0xfc00
or eax, edi
push eax
call esi
push edi
mov dword [ebp - 0x3c], eax
call esi
push 2
mov dword [ebp - 0x38], eax
pop esi
push dword [ebp - 0x1c]
call dword [sym.imp.advapi32.dll_RegCloseKey]
jmp 0x53bd31
push str.ntdll.dll
call edi
cmp eax, ebx
je 0x53bd31
lea ecx, [ebp - 0x18]
push ecx
push 0x53bb76
push 1
push 0x10
push eax
mov dword [ebp - 0x18], ebx
call dword [sym.imp.kernel32.dll_EnumResourceLanguagesA]
cmp word [ebp - 0x18], bx
je 0x53bd31
movzx eax, word [ebp - 0x18]
mov esi, dword [sym.imp.kernel32.dll_ConvertDefaultLocale]
mov ecx, eax
and ecx, 0x3ff
movzx edi, cx
and eax, 0xfc00
or eax, edi
push eax
call esi
push edi
mov dword [ebp - 0x3c], eax
call esi
mov dword [ebp - 0x38], eax
push 2
pop esi
mov dword [ebp + esi*4 - 0x3c], 0x800
inc esi
xor edi, edi
cmp esi, ebx
jle 0x53bd57
push dword [ebp + edi*4 - 0x3c]
push dword [ebp + 8]
call fcn.0053baf7
cmp eax, ebx
pop ecx
pop ecx
jne 0x53bd59
inc edi
cmp edi, esi
jl 0x53bd40
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.00464eaf
leave
ret 4
Function at 0x53bd68
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push edi
xor edi, edi
mov dword [ecx + 0x9c], edi
cmp dword [str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer], edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], 4
mov dword [ebp - 0xc], edi
mov ebx, 0x5a26d4
je 0x53be24
push esi
lea eax, [ebp - 4]
push eax
push 1
push edi
push dword [ebx]
push 0x80000001
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
jne 0x53be0c
mov esi, dword [ebx + 4]
jmp 0x53be06
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push edi
push eax
push dword [ebp - 4]
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
test eax, eax
jne 0x53bdf6
cmp dword [ebp - 0xc], 4
jne 0x53bdf6
cmp dword [ebp - 8], edi
mov eax, dword [ebp - 0x10]
mov ecx, dword [esi + 4]
je 0x53bdee
or dword [eax + 0x9c], ecx
jmp 0x53bdf6
not ecx
and dword [eax + 0x9c], ecx
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], 4
mov dword [ebp - 0xc], edi
add esi, 8
mov eax, dword [esi]
cmp eax, edi
jne 0x53bdba
push dword [ebp - 4]
call dword [sym.imp.advapi32.dll_RegCloseKey]
add ebx, 8
cmp dword [ebx], edi
mov dword [ebp - 4], edi
jne 0x53bd9d
pop esi
push edi
call dword [sym.imp.advapi32.dll_RegCloseKey]
xor eax, eax
pop edi
inc eax
pop ebx
leave
ret

Function at 0x53c1dd
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x54f93c
call fcn.00468c5c
sub esp, 0x11c
mov eax, dword [0x5a2f48]
push ebx
push esi
push edi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x124]
push ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.advapi32.dll_RegOpenKeyA]
mov esi, eax
test esi, esi
jne 0x53c2d6
push 0x104
lea eax, [ebp - 0x11c]
push eax
push 0
push dword [ebp - 0x124]
call dword [sym.imp.advapi32.dll_RegEnumKeyA]
mov esi, eax
test esi, esi
jne 0x53c2aa
and dword [ebp - 4], eax
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x120]
call fcn.00401bc0
lea eax, [ebp - 0x120]
push eax
push dword [ebp - 0x124]
mov byte [ebp - 4], 1
call fcn.0053c1dd
mov ecx, dword [ebp - 0x120]
mov esi, eax
test esi, esi
setne bl
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.004011e0
test bl, bl
jne 0x53c2aa
or dword [ebp - 4], 0xffffffff
jmp 0x53c21b
cmp esi, 0x103
je 0x53c2ba
cmp esi, 0x3f2
jne 0x53c2ca
mov eax, dword [ebp + 0xc]
push dword [eax]
push dword [ebp + 8]
call dword [sym.imp.advapi32.dll_RegDeleteKeyA]
mov esi, eax
push dword [ebp - 0x124]
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
mov eax, esi
call fcn.00464eaf
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x53c87b
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov edi, dword [esp + 0x10]
test edi, edi
jle 0x53c8b0
cmp edi, dword [esi + 0xc]
jge 0x53c8b0
push dword [esi]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x53c8b0
cmp edi, dword [eax + 8]
jge 0x53c8b0
mov eax, dword [eax + 0xc]
mov edi, dword [eax + edi*4]
jmp 0x53c8b2
xor edi, edi
push ebx
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov eax, edi
pop edi
pop esi
pop ebx
ret 4

Function at 0x53c9b6
Capabilities:
Allocate thread local storage

Disassembly:
xor eax, eax
push esi
mov esi, ecx
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x18], 4
mov dword [esi + 4], eax
mov dword [esi + 8], 1
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
call dword [sym.imp.kernel32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [esi], eax
jne 0x53c9ea
jmp fcn.0051c4d4
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_InitializeCriticalSection]
mov eax, esi
pop esi
ret

Function at 0x53ca5b
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
lea esi, [edi + 0x1c]
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp eax, ebx
jle 0x53cb54
cmp eax, dword [edi + 0xc]
jge 0x53cb54
push dword [edi]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
cmp esi, ebx
je 0x53caac
mov ecx, dword [ebp + 8]
cmp ecx, dword [esi + 8]
jl 0x53cb3d
cmp dword [ebp + 0xc], ebx
je 0x53cb3d
jmp 0x53cad6
push 0x10
call fcn.0053c747
cmp eax, ebx
je 0x53cac2
mov ecx, eax
call fcn.0053c9ad
mov esi, eax
jmp 0x53cac4
xor esi, esi
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov ecx, dword [edi + 0x14]
mov eax, dword [edi + 0x18]
mov dword [esi + eax], ecx
mov dword [edi + 0x14], esi
mov eax, dword [esi + 0xc]
cmp eax, ebx
jne 0x53caed
mov eax, dword [edi + 0xc]
shl eax, 2
push eax
push ebx
call dword [sym.imp.kernel32.dll_LocalAlloc]
jmp 0x53cafd
mov ecx, dword [edi + 0xc]
push 2
shl ecx, 2
push ecx
push eax
call dword [sym.imp.kernel32.dll_LocalReAlloc]
cmp eax, ebx
jne 0x53cb0f
push dword [ebp - 4]
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
call fcn.0051c4d4
mov ecx, dword [esi + 8]
mov dword [esi + 0xc], eax
mov edx, dword [edi + 0xc]
sub edx, ecx
shl edx, 2
push edx
lea eax, [eax + ecx*4]
push ebx
push eax
call fcn.00468ca0
mov eax, dword [edi + 0xc]
add esp, 0xc
push esi
mov dword [esi + 8], eax
push dword [edi]
call dword [sym.imp.kernel32.dll_TlsSetValue]
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x53cb4f
cmp ecx, dword [esi + 8]
jge 0x53cb4f
mov edx, dword [ebp + 0xc]
mov dword [eax + ecx*4], edx
push dword [ebp - 4]
jmp 0x53cb55
push esi
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x53f310
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x551768
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
push edi
mov ebx, ecx
push 0xa
lea ecx, [esp + 0x10]
call fcn.0051ec73
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx]
lea edx, [esp + 0xc]
push edx
push str.OrigResetItems
mov dword [esp + 0x38], 0
call dword [eax + 0x6c]
test eax, eax
je 0x53f3c5
mov eax, dword [esp + 0x18]
test eax, eax
jle 0x53f3c5
mov eax, dword [ebx + 0x890]
test eax, eax
je 0x53f38e
lea esi, [ebx + 0x884]
nop
mov ecx, esi
call fcn.0051ec0d
test eax, eax
je 0x53f384
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx + 4]
mov eax, dword [ebx + 0x890]
test eax, eax
jne 0x53f370
mov esi, dword [esp + 0x10]
test esi, esi
je 0x53f3c5
test esi, esi
mov eax, esi
je 0x53f3ef
mov edi, dword [eax + 8]
test edi, edi
mov esi, dword [esi]
je 0x53f3c1
push 0x5a44ec
mov ecx, edi
call fcn.005269f6
test eax, eax
je 0x53f3c1
push edi
lea ecx, [ebx + 0x884]
call fcn.0051ecf7
test esi, esi
jne 0x53f396
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.0051ec96
mov ecx, dword [esp + 0x28]
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 4
call fcn.0051c508
int3
Function at 0x545020
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x551c78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [esp + 0x20]
mov ecx, dword [0x5a7ef0]
push ebx
push ebp
push esi
push edi
push eax
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.004a89d0
add esp, 0xc
xor ebx, ebx
mov dword [esp + 0x28], ebx
xor edi, edi
call fcn.0051fbb3
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push str._sBCGToolbarParameters
push ecx
mov byte [esp + 0x34], 1
call fcn.00405cd0
add esp, 0xc
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
push ebx
push ebx
lea ecx, [esp + 0x20]
mov byte [esp + 0x30], 2
call fcn.004b41a0
mov ebp, dword [esp + 0x10]
mov esi, eax
mov edx, dword [esi]
push ebp
mov ecx, esi
call dword [edx + 0x18]
test eax, eax
je 0x545198
mov ecx, dword [0x5a4404]
mov eax, dword [esi]
push ecx
push str.Tooltips
mov ecx, esi
call dword [eax + 0x60]
test eax, eax
je 0x545196
mov eax, dword [0x5a4408]
mov edx, dword [esi]
push eax
push str.ShortcutKeys
mov ecx, esi
call dword [edx + 0x60]
test eax, eax
je 0x545196
mov eax, dword [0x5a7ecc]
mov edx, dword [esi]
push eax
push str.LargeIcons
mov ecx, esi
call dword [edx + 0x60]
test eax, eax
je 0x545196
mov eax, dword [0x5a7ac4]
mov edx, dword [esi]
push eax
push str.MenuAnimation
mov ecx, esi
call dword [edx + 0x60]
test eax, eax
je 0x545196
mov eax, dword [0x5a465c]
mov edx, dword [esi]
push eax
push str.RecentlyUsedMenus
mov ecx, esi
call dword [edx + 0x60]
test eax, eax
je 0x545196
mov eax, dword [0x5a4664]
mov edx, dword [esi]
push eax
push str.MenuShadows
mov ecx, esi
call dword [edx + 0x60]
test eax, eax
je 0x545196
mov eax, dword [0x5a4660]
mov edx, dword [esi]
push eax
push str.ShowAllMenusAfterDelay
mov ecx, esi
call dword [edx + 0x60]
test eax, eax
je 0x545196
call fcn.0047a8f0
mov eax, dword [eax + 4]
mov edx, dword [esi]
push eax
push str.Look2000
mov ecx, esi
call dword [edx + 0x60]
test eax, eax
je 0x545196
mov eax, dword [esi]
push 0x5a85ac
push str.CommandsUsage
mov ecx, esi
call dword [eax + 0x30]
test eax, eax
je 0x545196
mov edi, 1
jmp 0x545198
xor edi, edi
mov ecx, dword [esp + 0x18]
cmp ecx, ebx
mov byte [esp + 0x28], 1
je 0x5451ac
mov edx, dword [ecx]
push 1
call dword [edx + 4]
lea eax, [ebp - 0x10]
mov byte [esp + 0x28], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x5451ca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x28], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x5451f0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x20]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x5454a0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x551cd8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [esp + 0x20]
mov ecx, dword [0x5a7ef0]
push ebx
push esi
push edi
push eax
push ecx
lea edx, [esp + 0x14]
push edx
call fcn.004a89d0
add esp, 0xc
xor ebx, ebx
mov dword [esp + 0x24], ebx
call fcn.0051fbb3
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push str._sBCGToolbarParameters
push ecx
mov byte [esp + 0x30], 1
call fcn.00405cd0
add esp, 0xc
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
push 1
push ebx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 2
call fcn.004b41a0
mov edi, dword [esp + 0x10]
mov esi, eax
mov edx, dword [esi]
push edi
mov ecx, esi
call dword [edx + 0x1c]
test eax, eax
jne 0x5455a0
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
mov byte [esp + 0x24], 1
je 0x545548
mov eax, dword [ecx]
push 1
call dword [eax + 4]
lea eax, [edi - 0x10]
mov byte [esp + 0x24], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x545566
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov dword [esp + 0x24], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x54558c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
mov eax, dword [esi]
push 0x5a7ecc
push str.LargeIcons
mov ecx, esi
call dword [eax + 0x98]
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
mov esi, eax
mov byte [esp + 0x24], 1
je 0x5455ca
mov edx, dword [ecx]
push 1
call dword [edx + 4]
lea eax, [edi - 0x10]
mov byte [esp + 0x24], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x5455e8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov dword [esp + 0x24], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x54560e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x1c]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x54946a
Capabilities:
Check for time delay via gettickcount
Log keystrokes via polling

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.user32.dll_GetKeyState]
mov esi, ecx
xor ebx, ebx
push 1
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
call edi
test ax, ax
jge 0x549497
or dword [esi + 0x38], 1
or dword [esi + 0x34], 2
jmp 0x5494a8
push 2
call edi
test ax, ax
jge 0x5494a8
or dword [esi + 0x38], 2
or dword [esi + 0x34], 1
mov ebp, dword [sym.imp.kernel32.dll_GetTickCount]
call ebp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
push dword [eax + 0x1c]
call dword [sym.imp.user32.dll_SetCapture]
push eax
call fcn.0052220f
cmp dword [esi + 0x30], ebx
jne 0x549582
mov edi, dword [sym.imp.user32.dll_PeekMessageA]
mov ebx, 0x100
call dword [sym.imp.user32.dll_GetCapture]
push eax
call fcn.0052220f
cmp eax, dword [esp + 0x34]
jne 0x549582
push 1
push 0x209
push 0x200
push 0
lea eax, [esp + 0x24]
push eax
call edi
test eax, eax
jne 0x54951e
push 1
push 0x109
push ebx
push eax
lea eax, [esp + 0x24]
push eax
call edi
test eax, eax
je 0x549563
mov eax, dword [esp + 0x18]
cmp eax, 0x202
je 0x549582
cmp eax, 0x205
je 0x549582
cmp eax, 0x201
je 0x549582
cmp eax, 0x204
je 0x549582
cmp eax, ebx
jne 0x549549
cmp dword [esp + 0x1c], 0x1b
je 0x549582
push dword [esp + 0x2c]
lea eax, [esi + 0x20]
push dword [esp + 0x2c]
push eax
call dword [sym.imp.user32.dll_PtInRect]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x30], eax
call ebp
sub eax, dword [esp + 0x10]
cmp eax, dword [0x5a8ef8]
jbe 0x549578
mov dword [esi + 0x30], 1
cmp dword [esi + 0x30], 0
je 0x5494db
call dword [sym.imp.user32.dll_ReleaseCapture]
mov eax, dword [esi + 0x30]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
Function at 0x5aeac4
Capabilities:
Hash data using crc32b

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [0x5ce704], 0
jne 0x5aeb83
mov dword [ebp - 0x10], 0x80000000
push 0x400
call fcn.005b502a
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [0x5ce704], eax
mov dword [ebp - 0xc], 0
jmp 0x5aeb08
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0x100
jge 0x5aeb83
push 8
mov edx, dword [ebp - 0xc]
push edx
call fcn.005aea6e
add esp, 8
shl eax, 0x18
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
jmp 0x5aeb37
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 8
jge 0x5aeb64
mov ecx, dword [ebp - 0x18]
and ecx, 0x80000000
test ecx, ecx
je 0x5aeb5a
mov edx, dword [ebp - 0x18]
shl edx, 1
xor edx, 0x4c11db7
mov dword [ebp - 0x18], edx
jmp 0x5aeb62
mov eax, dword [ebp - 0x18]
shl eax, 1
mov dword [ebp - 0x18], eax
jmp 0x5aeb2e
push 0x20
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.005aea6e
add esp, 8
mov edx, dword [ebp - 0xc]
mov ecx, dword [0x5ce704]
mov dword [ecx + edx*4], eax
jmp 0x5aeaff
mov edx, dword [ebp + 8]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
add eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
jmp 0x5aeb9d
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 8]
jae 0x5aebc9
mov eax, dword [ebp - 4]
movsx ecx, byte [eax]
xor ecx, dword [ebp + 0x10]
and ecx, 0xff
mov edx, dword [ebp + 0x10]
shr edx, 8
mov eax, dword [0x5ce704]
mov ecx, dword [eax + ecx*4]
xor ecx, edx
mov dword [ebp + 0x10], ecx
jmp 0x5aeb94
mov eax, dword [ebp + 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x5af7dc
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
add ecx, 0xf8
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x78]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x1c]
add edx, dword [ecx + 0x20]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x1c]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
jmp 0x5af848
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
cmp eax, dword [edx + 0x18]
jae 0x5af891
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.005baf70
add esp, 8
test eax, eax
jne 0x5af88f
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
xor edx, edx
mov dx, word [ecx + eax*2]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + edx*4]
mov eax, ecx
jmp 0x5af893
jmp 0x5af83f
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x42f790
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4b3d8b
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.004a4535
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x42f812
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004a1cca
mov eax, dword [eax]
push 0x57a244
push eax
call fcn.00492e84
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004a47c0
test bl, bl
je 0x42f812
push 0x57a244
lea ecx, [esp + 0xc]
call fcn.004a4b9c
push 0x57dda4
lea ecx, [esp + 0xc]
call fcn.004a4b9c
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 0x42f84e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004a47c0
jmp 0x42f919
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 0x42f8d2
lea edx, [esp + 0x7c]
push 0x57dda0
push edx
call fcn.00492e84
add esp, 8
test eax, eax
je 0x42f8d2
lea eax, [esp + 0x7c]
push 0x57dd9c
push eax
call fcn.00492e84
add esp, 8
test eax, eax
je 0x42f8d2
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 0x42f862
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.004a47c0
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 0x430110
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 0x430172
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