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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edi
or edi, 0xffffffff
cmp dword [0x1002f1ec], 0
mov dword [ebp - 4], 0
jne 0x1000129e
call fcn.10001220
mov dword [0x1002f1f0], eax
mov dword [0x1002f1ec], 1
cmp dword [0x1002f1f0], 0
mov eax, 0x20019
je 0x100012b1
mov eax, 0x20119
lea ecx, [ebp - 4]
push ecx
push eax
push 0
push str.SOFTWAREWidcommInstall
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x100012df
push eax
push str.RegOpenKeyEx_is_failed_0x_x
call section..text
add esp, 8
jmp 0x10001389
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
push esi
push 0
push 0
push str.INSTALLDIR
push ecx
mov dword [ebp - 8], edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x10001315
push eax
push str.RegQueryValueEx_is_failed_0x_x
call section..text
add esp, 8
jmp 0x10001388
mov eax, esi
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10001320
sub eax, edx
test esi, esi
je 0x10001386
cmp eax, 1
jle 0x10001373
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10001337
sub eax, edx
cmp byte [eax + esi - 1], 0x5c
je 0x10001373
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10001350
sub eax, edx
cmp byte [eax + esi - 1], 0x2f
je 0x10001373
push 0x10026460
push 0x104
push esi
call fcn.1000974c
add esp, 0xc
push str.BtITunesPlugIn.exe
push 0x104
push esi
call fcn.1000974c
add esp, 0xc
xor edi, edi
pop esi
mov eax, dword [ebp - 4]
test eax, eax
je 0x10001397
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x100013a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
xor edi, edi
mov esi, 0x20019
call fcn.10001220
test eax, eax
je 0x100013bd
mov esi, 0x20119
lea eax, [ebp - 8]
push eax
push esi
push edi
push str.SoftwareWIDCOMMBTConfigGeneral
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10001413
mov eax, dword [ebp - 8]
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 4]
push edx
push edi
push edi
push str.EnableLyncSupport
push eax
mov dword [ebp - 0xc], 4
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10001409
xor ecx, ecx
cmp dword [ebp - 4], 1
sete cl
mov edi, ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10001420
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x1002e288]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
push 0x124
mov esi, eax
lea eax, [ebp - 0x128]
push 0
push eax
call fcn.10009ba0
add esp, 0xc
xor bl, bl
mov dword [ebp - 0x12c], 0x128
cmp esi, 0xffffffff
je 0x100014b4
lea ecx, [ebp - 0x12c]
push ecx
push esi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x100014ad
jmp 0x10001480
lea edx, [ebp - 0x108]
push str.Bluetooth_Headset_Helper.exe
push edx
call fcn.10009b4e
add esp, 8
test eax, eax
je 0x100014ab
lea eax, [ebp - 0x12c]
push eax
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x10001480
jmp 0x100014ad
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop esi
movzx eax, bl
xor ecx, ebp
pop ebx
call fcn.10009972
mov esp, ebp
pop ebp
ret
Function at 0x10001bf0
Capabilities:
Check mutex on windows

Disassembly:
push esi
push edi
push 0x10026ae0
call section..text
add esp, 4
cmp dword [section..shared], 0
mov edi, 1
je 0x10001c7e
push str.253F1351_4BA6_11D1_D0D3_D1C82DCCDDCF
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
push 0xfa
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
neg eax
sbb eax, eax
inc eax
jne 0x10001c44
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
ret
mov eax, dword [section..shared]
push eax
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov ecx, dword [section..shared]
push ecx
push str.Hook_is_unregistered_0x_x
mov edi, eax
call section..text
add esp, 8
push esi
mov dword [section..shared], 0
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
ret

Function at 0x10001c90
Capabilities:
Check mutex on windows

Disassembly:
push esi
push 0x10026b4c
call section..text
add esp, 4
push str.253F1351_4BA6_11D1_D0D3_D1C82DCCDDCF
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
push 0xfa
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
neg eax
sbb eax, eax
inc eax
jne 0x10001ce1
push str.FinishBtMmHook_Lock_error
call section..text
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
ret
push edi
push str.BTMMHOOKWAIT
push 0
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenEventA]
mov edi, eax
test edi, edi
jne 0x10001d21
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.FinishBtMmHook_OpenEvent_is_failed_lasterr0x_x
call section..text
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
ret
push edi
call dword [sym.imp.KERNEL32.dll_SetEvent]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call edi
pop edi
mov eax, 1
pop esi
ret
Function at 0x10001d50
Capabilities:
Check mutex on windows

Disassembly:
push 0x10026ba8
call section..text
add esp, 4
call sym.BtMmHook.dll_UnSetBtMmHook
test eax, eax
jne 0x10001d76
push str.Unhook_Failed_0x_x
call section..text
add esp, 4
xor eax, eax
ret
push esi
push str.253F1351_4BA6_11D1_D0D3_D1C82DCCDDCF
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
push 0xfa
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
neg eax
sbb eax, eax
inc eax
je 0x10001de9
mov eax, dword [0x1002f1e8]
push 0
push eax
push 0x10001880
push 0xa
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [section..shared], eax
test eax, eax
je 0x10001ddc
push eax
push str.Hook_is_registered_0x_x
call section..text
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop esi
ret
push str.Err:_Cannot_to_register_Hook
call section..text
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
ret

Function at 0x10002d00
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
test esi, esi
jne 0x10002d19
lea eax, [esi + 0xd]
pop esi
mov esp, ebp
pop ebp
ret 8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push edi
xor edi, edi
push esi
call ebx
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x10002d23
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 4]
push edi
push eax
mov eax, dword [edx]
push 7
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x10003940
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x1002e288]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 4]
mov edx, dword [esi]
push edi
or ecx, 0x2001f
push ecx
xor ebx, ebx
push eax
push edx
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x110], ebx
mov dword [ebp - 0x10c], ebx
mov dword [ebp - 0x108], ebx
call fcn.10002be0
mov edi, eax
cmp edi, ebx
je 0x100039ba
mov eax, dword [ebp - 0x110]
cmp eax, ebx
je 0x100039a5
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10009972
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x120]
push eax
mov eax, dword [ebp - 0x110]
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x114]
push ecx
lea edx, [ebp - 0x104]
push edx
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push eax
mov dword [ebp - 0x114], pe_nt_image_headers32
call ebx
test eax, eax
jne 0x10003a38
lea ecx, [ebp - 0x104]
push ecx
lea ecx, [ebp - 0x110]
call fcn.10003940
mov edi, eax
test edi, edi
jne 0x10003a71
lea edx, [ebp - 0x120]
push edx
mov edx, dword [ebp - 0x110]
push eax
push eax
push eax
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x104]
push ecx
push edi
push edx
mov dword [ebp - 0x114], pe_nt_image_headers32
call ebx
test eax, eax
je 0x100039f0
mov eax, dword [ebp - 0x110]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
cmp eax, edi
je 0x10003a53
push eax
call ebx
mov dword [ebp - 0x110], edi
mov ecx, dword [esi + 8]
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x10c], edi
push eax
cmp ecx, edi
je 0x10003a9b
mov edx, dword [esi]
push edx
call fcn.100028d0
jmp 0x10003aa4
mov eax, dword [ebp - 0x110]
test eax, eax
je 0x100039a5
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10009972
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esi]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
mov eax, dword [ebp - 0x110]
cmp eax, edi
je 0x10003ab3
push eax
call ebx
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.10009972
mov esp, ebp
pop ebp
ret 4
Function at 0x10006520
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
sub esp, 0x10
push esi
lea eax, [ebp - 8]
push eax
push 0x20019
xor esi, esi
push esi
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000656b
mov ecx, dword [ebp - 8]
push esi
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x10]
push eax
push esi
push esi
push esi
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
je 0x10006572
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 4], eax
push edi
add eax, 2
push eax
push esi
mov dword [ebp - 0xc], esi
call fcn.1000a964
mov edi, eax
mov eax, dword [ebp - 4]
add eax, 2
push eax
push esi
push edi
call fcn.10009ba0
mov edx, dword [ebp - 8]
add esp, 0x14
push esi
push esi
push esi
push esi
lea ecx, [ebp - 4]
push ecx
push edi
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x10006606
push ebx
mov eax, dword [ebp - 4]
inc dword [ebp - 0xc]
lea esi, [esi + eax + 1]
mov eax, dword [ebp - 0x10]
inc eax
lea ecx, [eax + esi + 2]
push ecx
push edi
mov dword [ebp - 4], eax
call fcn.1000a964
mov edx, dword [ebp - 4]
add edx, 2
push edx
mov edi, eax
lea ebx, [esi + edi]
push 0
push ebx
call fcn.10009ba0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
add esp, 0x14
push 0
push 0
push 0
push 0
lea eax, [ebp - 4]
push eax
push ebx
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x100065b3
pop ebx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10006b90
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
push ebx
push 0x10006ac0
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebx + 4]
mov dword [ebp - 4], eax
cmp eax, dword [ebx + 8]
je 0x10006bff
push esi
push edi
cmp dword [eax + 0x3c], 0
jne 0x10006bf2
mov ecx, dword [ebp - 4]
mov edx, dword [ebx + 8]
push ecx
push eax
push edx
add eax, 0x40
push eax
call fcn.10008450
mov edi, dword [ebx + 8]
lea esi, [edi - 0x40]
add esp, 0x10
cmp esi, edi
je 0x10006be9
lea eax, [ebx + 0x10]
push esi
push eax
call fcn.10008300
add esi, 0x40
add esp, 8
cmp esi, edi
jne 0x10006bd5
add dword [ebx + 8], 0xffffffc0
mov eax, dword [ebp - 4]
jmp 0x10006bf8
add eax, 0x40
mov dword [ebp - 4], eax
cmp eax, dword [ebx + 8]
jne 0x10006bb0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10007120
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x1002e288]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov ebx, ecx
xor esi, esi
mov dword [ebp - 0x110], ebx
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x10c], esi
call fcn.10006d50
test eax, eax
jne 0x100072ef
mov ecx, ebx
call fcn.10006840
test eax, eax
je 0x100072ef
push edi
push 0x103
lea ecx, [ebp - 0x107]
push esi
push ecx
mov byte [ebp - 0x108], 0
call fcn.10009ba0
add esp, 0xc
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov edi, eax
lea eax, [esi + 5]
mov dword [ebp - 0x114], esi
jmp 0x100071a6
mov eax, dword [ebp - 0x120]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
mov dword [ebp - 0x120], 2
test edi, edi
je 0x100072d6
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100072d6
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x10000000
je 0x100072be
push 0x104
lea edx, [ebp - 0x108]
push edx
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x100072be
lea eax, [ebp - 0x124]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov esi, dword [ebx + 4]
mov eax, dword [ebx + 8]
cmp esi, eax
je 0x100072b5
mov ecx, dword [ebp - 0x124]
cmp dword [esi + 0x38], ecx
je 0x10007233
add esi, 0x40
cmp esi, eax
jne 0x10007222
jmp 0x100072b5
cmp dword [esi + 0x30], 0x10
lea ebx, [esi + 0x1c]
jb 0x10007240
mov eax, dword [ebx]
jmp 0x10007242
mov eax, ebx
push edi
push eax
lea ecx, [ebp - 0x108]
push ecx
push str.Search2__s__s__x
call section..text
add esp, 0x10
cmp dword [ebp - 0x11c], 0
mov dword [ebp - 0x10c], edi
je 0x100072af
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x100072af
mov esi, dword [esi + 0x2c]
lea eax, [ecx - 1]
mov dword [ebp - 0x118], eax
cmp eax, esi
jl 0x10007284
mov dword [ebp - 0x118], esi
mov esi, dword [ebp - 0x11c]
push ecx
push 0
push esi
call fcn.10009ba0
add esp, 0xc
cmp dword [ebx + 0x14], 0x10
jb 0x1000729e
mov ebx, dword [ebx]
mov edx, dword [ebp - 0x118]
push edx
push ebx
push esi
call fcn.1000af90
add esp, 0xc
mov ebx, dword [ebp - 0x110]
cmp dword [ebp - 0x10c], 0
jne 0x100072d6
mov eax, dword [ebp - 0x114]
inc eax
mov dword [ebp - 0x114], eax
cmp eax, 0x3e8
jl 0x100071a0
mov eax, dword [ebp - 0x10c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10009972
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.10009972
mov esp, ebp
pop ebp
ret 8
Function at 0x10013f6c
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax + 4], ebx
jne 0x10013ece
cmp dword [eax + 0xc], ebx
je 0x10013f71
mov edi, dword [eax + 0xc]
add edi, esi
push edi
call dword [ebp - 0xc0]
mov dword [ebp + 0xc], eax
call fcn.10013929
loopne 0x10013f0f
and eax, 0xc5d3989
jne 0x10013efd
push edi
call dword [ebp - 0xb8]
cmp eax, ebx
mov dword [ebp + 0xc], eax
je 0x10014118
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x10]
mov eax, dword [eax]
cmp eax, ebx
lea edi, [ecx + esi]
jne 0x10013f11
mov dword [ebp + 0x10], edi
jmp 0x10013f16
add eax, esi
mov dword [ebp + 0x10], eax
call fcn.10013929
xchg ebp, esp
test byte [ebx + 0x8b1045], cl
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
cmp eax, ebx
je 0x10013f5f
test eax, 0x80000000
lea ecx, [eax + esi]
je 0x10013f3a
and eax, 0xffff
push eax
jmp 0x10013f3e
add ecx, 2
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.100138ee
add esp, 0xc
cmp edi, ebx
mov dword [edi], eax
je 0x10014118
add edi, 4
add dword [ebp + 0x10], 4
jmp 0x10013f1f
add dword [ebp - 0x44], 0x14
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp - 0x44]
jmp 0x10013ec0
call fcn.10013929
enter 0xffffffffffff8657, 0xffffffffffffffe0
mov eax, dword [edi + 0xa0]
cmp eax, ebx
je 0x10013fdd
add eax, esi
cmp dword [eax], ebx
je 0x10013fdd
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x10013fd8
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x10013fc2
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x10013fca
cmp edx, ebx
jne 0x10014118
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x10013f99
add eax, dword [eax + 4]
jmp 0x10013f86
mov dword [ebp + 0xc], ebx
jmp 0x10013fe8

Function at 0x10014045
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x10014000
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x1001401e
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x1001407c
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
add byte [eax], al
inc eax
add byte [eax], al
inc eax
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x10014063
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x1001406c
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x10014076
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x10014058
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x10013fe2
mov dword [ebp + 8], esi
xor edi, edi
Function at 0x10022cfd
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1002e288]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.1000f0d2
and dword [ebp - 0x14], 0
cmp dword [0x1002ffa4], 0
mov dword [ebp - 0x18], eax
jne 0x10022db0
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x10022e58
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x10022e58
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x1002ffa4], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x1002ffa8], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x1002ffac], eax
call edi
push eax
call esi
mov dword [0x1002ffb4], eax
test eax, eax
je 0x10022db0
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x1002ffb0], eax
mov eax, dword [0x1002ffb0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x10022e09
cmp dword [0x1002ffb4], ecx
je 0x10022e09
push eax
call esi
push dword [0x1002ffb4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x10022e09
test ebx, ebx
je 0x10022e09
call edi
test eax, eax
je 0x10022e00
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x10022e00
test byte [ebp - 8], 1
jne 0x10022e09
or dword [ebp + 0x10], 0x200000
jmp 0x10022e3c
mov eax, dword [0x1002ffa8]
cmp eax, dword [ebp - 0x18]
je 0x10022e3c
push eax
call esi
test eax, eax
je 0x10022e3c
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10022e3c
mov eax, dword [0x1002ffac]
cmp eax, dword [ebp - 0x18]
je 0x10022e3c
push eax
call esi
test eax, eax
je 0x10022e3c
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x1002ffa4]
call esi
test eax, eax
je 0x10022e58
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x10022e5a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10009972
leave
ret
Function at 0xdd2dec
Capabilities:
Encode data using xor

Disassembly:
jmp 0xdd2df6
pushal
call 0xdd2dfc
pop ebp
sub ebp, 0x10
sub ebp, 0x9d2dec
jmp 0xdd2e12
sub eax, 0x4e9009d
add byte [eax], al
add dh, ch
cli
xor ebp, dword [eax + edi*4 + 0x9d2dec]
mov eax, 0x9d2dec
add eax, ebp
add eax, 0x4c
mov ecx, 0x5c8
mov edx, 0xe49c5d5c
xor byte [eax], dl
inc eax
dec ecx
jne 0xdd2e29
jmp 0xdd2e3c
and eax, 0xd5d791d7
pushal
xlatb
xchg ecx, eax
xlatb
aad 0x60
pop esp
pop esp
pop esp
fstp qword [ebp + 0x5c5c5ca4]
pop edi
xchg ecx, eax
in al, 0x5b
pop esp
pop esp
pop esp
out 0x74, al
pop esp
pop esp
pop esp
stosd dword es:[edi], eax
mov esi, 0xddd7945f
push eax
pop esp
pop esp
pop esp
pop edi
cdq
sar dword [eax], 1
js 0xdd2e06
aad 0x58
js 0xdd2e3b
cmp byte [eax - 0x60], bh
aad 0x58
js 0xdd2ea5
jo 0xdd2ebc
dec ecx
jle 0xdd2ed1
xor al, 0x9c
inc esp
daa
pop esp
pop ebp
jo 0xdd2ef5
xor al, 0x87
fisttp dword [edx + edi*8 - 0x4c]
pop ecx
pop esp
pop esp
pop esp
mov ch, 0x72
pop esp
pop esp
pop esp
or dword [eax], ecx
add edi, edx
fst dword [esp + ebx*2 + 0x5c]
pop esp
xlatb
leave
push eax
pop esp
pop esp
pop esp
xlatb
ror dword [esp + ebx*2 + 0x5c], 1
pop esp
popfd
mov ch, 0x5e
insd dword es:[edi], dx
pop esi
fistp word [esi - 0x26aceaa8]
test al, 0xa3
mov dword [0x7870d7a3], eax
sar dword [eax], 1
js 0xdd2f0f
sahf
push eax
pop esp
xlatb
sar byte [eax + 0x58], 1
js 0xdd2f16
pop esp
pop esp
pop esp
xor al, 0x70
dec ecx
jle 0xdd2f22
xor al, 0x9c
inc esp
daa
pop esp
pop ebp
jo 0xdd2f46
sar dword [eax], 1
js 0xdd2e72
mov al, byte [0xb47850d5]
aad 0x50
js 0xdd2e8a
pop ecx
pop esp
pop esp
pop esp
mov ch, 0xd
pop esi
pop esp
pop esp
or edi, edx
mov al, 0xa3
sub dword [eax - 0x5d], edx
sub dword [esp + esi*4 - 0x28], edx
pop esp
pop esp
pop esp
xlatb
loope 0xdd2f44
pop esp
pop esp
pop esp
invalid
in eax, 0xed
rcr byte [ecx - 0x23], 1
lodsd eax, dword [esi]
in eax, 0xed
rcr byte [ecx + 0x6f], 1
xchg ebp, eax
invalid
fbstp tbyte [ecx + ebx*2 + 0x12d85314]
pop esp
pop esp
pop esp
push ebx
aam 0x14
pop esp
pop esp
pop esp
cmp dl, bh
inc eax
fsub qword gs:[edi + 0x46d853b4]
pop esp
pop esp
pop esp
fsub qword [edi + 0x4dd853b5]
pop esp
pop esp
pop esp
cmp bl, ch
cmpsd dword [esi], dword es:[edi]
mov dword [0x49d85379], eax
pop esp
pop esp
pop esp
sbb eax, 0xa3a390b5
mov dword [0x5d651075], eax
mov dword [0x651075a3], eax
pop ebp
jne 0xdd2f58
pop ebp
fistp word [ebp + 0x58b4df59]
mov ch, 0xe1
mov dword [0x875a3a3], eax
pop esi
pop esi
fistp word [ebp + 0x58b6df5a]
fbstp tbyte [ecx + ebx*2 - 0x5c5c084b]
mov dword [0xd17870d7], eax
cmp byte [eax + 0x58], bh
sahf
push eax
pop esp
or edi, edx
mov al, 0xa
or ecx, dword [ecx]
xlatb
sub dword [eax - 0x29], edx
and dword [eax - 0x12], edx
invalid