joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c9220
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc60
push ebx
xor edx, edx
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4c93cd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0
jne 0x4c93ae
mov dl, 1
mov eax, dword [0x42f77c]
call fcn.0043bba8
mov edx, dword [ebp - 4]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 4]
add eax, 0x3c
xor edx, edx
call fcn.004071e4
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4c939d
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.004ab880
test al, al
je 0x4c9390
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x4c93dc
lea eax, [ebp - 0x394]
call fcn.004166ac
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x4c9390
xor eax, eax
push ebp
push 0x4c9389
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x200
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0
push 0x4c944c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x4c9372
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.004073cc
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
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 + 0x40]
jne 0x4c9372
mov eax, dword [ebp - 4]
add eax, 0x3c
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.004073cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c9390
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4c9293
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov byte [eax + 0x29], 0
mov dl, 1
call fcn.0043bae4
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c93d4
lea eax, [ebp - 0x3a0]
call fcn.004071d4
ret

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

Disassembly:
push ecx
mov eax, dword [0x55d2c0]
cmp byte [eax + 0xad], 0
jne 0x4c9f9e
cmp dword [0x55d2d8], 0
jne 0x4c9f5e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x54f4c0]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x55d2d8], eax
cmp dword [0x55d2d4], 0
jne 0x4c9f79
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x55d2d4], eax
cmp dword [0x55d2dc], 0
jne 0x4c9f9e
push esp
push 0
push 0
mov eax, dword [0x54f4bc]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x55d2dc], eax
pop edx
ret
Function at 0x4ca2c4
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x4ca2db
add esp, 0xfffffff0
call fcn.00405940
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004446bc
mov eax, dword [0x557344]
cmp byte [eax], 0
jne 0x4ca308
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x557680]
cmp word [eax + 2], 0
jne 0x4ca322
mov eax, dword [0x557680]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004cc3bc
mov eax, dword [0x5577a4]
cmp word [eax + 2], 0
jne 0x4ca33c
mov eax, dword [0x5577a4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004cc5cc
mov byte [ebx + 0x35], 0
mov dl, 1
mov eax, dword [0x454314]
call fcn.0045a850
mov esi, eax
mov dword [ebx + 0x3c], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x4ccb7c
mov dl, 1
mov eax, dword [0x42d07c]
call fcn.004053dc
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x42d07c]
call fcn.004053dc
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x458a14]
call fcn.004640c8
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x4ca51c
mov eax, dword [0x557524]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.0046455c
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4cce64
mov dl, 1
mov eax, dword [0x42d07c]
call fcn.004053dc
mov dword [ebx + 0x98], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x557524]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.0041649c
test eax, eax
je 0x4ca44d
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.004161ac
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.00416480
test eax, eax
je 0x4ca465
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW_1
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.004073cc
push ebx
push 0x4cbd8c
call fcn.004bffd4
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xd0], 0
mov eax, dword [0x557344]
cmp byte [eax], 0
jne 0x4ca4b6
mov eax, ebx
call fcn.004ca690
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
mov byte [ebx + 0xd1], 0
mov byte [ebx + 0xdc], 0
xor eax, eax
mov dword [ebx + 0xd4], eax
mov byte [ebx + 0xd3], 0
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.004cd090
mov eax, ebx
call fcn.004cdcc4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4ca513
call fcn.00405998
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4ca964
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x4caa06
cmp dword [ebx + 0x94], 0
jne 0x4caa00
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4ca8b0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4caa00
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_GetWindowLongW
test al, 8
je 0x4ca9c6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4caa00
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.00438488
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4ca9d5
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4cac24
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x55d2c0]
cmp dword [eax + 0x170], 0
je 0x4cad89
test bl, bl
jne 0x4cacd7
cmp dword [esi + 0x9c], 0
jne 0x4caccc
mov eax, esi
call fcn.004cdb14
push eax
push 0x4cab30
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x4cac9d
mov eax, dword [0x55d2c0]
cmp byte [eax + 0xd3], 0
je 0x4cac9d
mov eax, dword [esi + 0xd8]
call fcn.00408cc0
mov edi, eax
cmp edi, 0
jl 0x4cac9d
push 0
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4cac86
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4caccc
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00438488
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4cacac
inc dword [esi + 0x9c]
jmp 0x4cad89
cmp dword [esi + 0x9c], 0
jle 0x4cad89
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4cad89
cmp dword [esi + 0x44], 0
je 0x4cad34
mov eax, dword [0x55d2c0]
cmp byte [eax + 0xd3], 0
je 0x4cad34
mov eax, dword [esi + 0xd8]
call fcn.00408cc0
mov edi, eax
cmp edi, 0
jl 0x4cad34
push 5
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4cad1d
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4cad63
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00438488
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4cad43
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd8]
mov ecx, 1
mov edx, dword [0x4bdeac]
call fcn.00408e80
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4cb9d8
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4cba43
cmp byte [ebx + 0xd3], 0
jne 0x4cba43
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00407320
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4cba30
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4cba50
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004071e4
jmp 0x4cba50
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004071e4
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4cd278
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4cd2e6
mov eax, esi
call fcn.004a57dc
test al, al
je 0x4cd2e6
mov eax, dword [ebx + 0x84]
call fcn.004a5430
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4cd2e6
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x4cd2da
push 0
mov eax, dword [ebx + 0x84]
call fcn.004a5430
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0049c3cc
jmp 0x4cd2e6
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004cd0b0
pop esi
pop ebx
ret
Function at 0x4ce9f4
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x10], ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0x40d428]
call fcn.00407ed8
xor eax, eax
push ebp
push 0x4ceb3e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x54f500], 0
jne 0x4cea48
mov ecx, dword [0x557364]
mov dl, 1
mov eax, dword [0x40f1b4]
call fcn.0041a0c4
call fcn.00405ee4
lea eax, [ebp - 0x24]
xor ecx, ecx
mov edx, 0x10
call fcn.00404cac
mov eax, ebx
call fcn.00406f98
mov dword [ebp - 0x20], eax
push esi
mov esi, 0x4ceb4c
lea edi, [ebp - 0x34]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
lea eax, [ebp - 0x34]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.0040a2ec
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
test eax, eax
je 0x4cea8f
sub eax, 4
mov eax, dword [eax]
shr eax, 1
test eax, eax
jle 0x4ceae4
mov dword [ebp - 0x14], 0x20
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x54]
push eax
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x4ceadd
lea eax, [ebp - 0x58]
mov edx, ebx
call fcn.00407434
mov eax, dword [ebp - 0x58]
push eax
lea eax, [ebp - 0x5c]
lea edx, [ebp - 0x54]
mov ecx, 0x10
call fcn.004073cc
mov eax, dword [ebp - 0x5c]
pop edx
call fcn.004144f0
test eax, eax
jne 0x4ceadd
mov ebx, 0x15
jmp 0x4ceae9
mov ebx, 0x10
jmp 0x4ceae9
mov ebx, 0x15
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x24]
push eax
push ebx
push 0
push esi
call dword [0x54f500]
call fcn.004ce860
mov eax, dword [ebp - 4]
call fcn.004ce860
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.0040a304
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ceb45
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.004071dc
lea eax, [ebp - 0xc]
mov edx, dword [0x40d428]
call fcn.00407fb0
ret
Function at 0x4d2e10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor ebx, ebx
mov dword [ebp - 4], ebx
test dl, dl
je 0x4d2e28
add esp, 0xfffffff0
call fcn.00405940
mov byte [ebp - 9], dl
mov dword [ebp - 8], eax
mov ebx, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x4d2f42
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 8]
mov dword [eax + 8], ebx
mov eax, ebx
add eax, eax
add eax, eax
add eax, eax
call fcn.004042d4
mov edx, dword [ebp - 8]
mov dword [edx + 0xc], eax
dec ebx
test ebx, ebx
jl 0x4d2f2c
inc ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
call fcn.004ce860
xor eax, eax
push ebp
push 0x4d2f19
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x30]
call fcn.004ce860
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x10]
lea ebx, [eax + edx*8]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov dword [ebx], eax
lea eax, [ebx + 4]
mov edx, dword [ebp - 4]
call fcn.00407434
jmp 0x4d2eea
lea eax, [ebx + 4]
mov ecx, 1
mov edx, 1
call fcn.004079dc
mov eax, dword [ebx + 4]
call fcn.0040753c
dec eax
jle 0x4d2efe
mov eax, dword [ebx + 4]
cmp word [eax], 0x5f
je 0x4d2ed8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d2f20
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x54]
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d2f49
lea eax, [ebp - 4]
call fcn.00406dac
ret

Function at 0x4d3fa0
Capabilities:
Hide graphical window

Disassembly:
push ebx
add esp, 0xfffffff0
mov ebx, eax
mov eax, ebx
call fcn.004d355c
test byte [ebx + 0x2a5], 4
jne 0x4d4035
mov edx, esp
mov eax, ebx
call fcn.0049bd3c
push esp
mov eax, ebx
call fcn.004a51cc
push eax
push 0
mov eax, ebx
test eax, eax
je 0x4d3fd5
sub eax, 0xfffffd14
push eax
push 0
push 0xfffffffffffffffb
mov eax, dword [ebx + 0x280]
push eax
mov eax, dword [eax]
call dword [eax + 0x2c]
cmp dword [ebx + 0x294], 0
jne 0x4d4006
mov ecx, dword [0x5575fc]
mov dl, 1
mov eax, dword [0x4ce26c]
call fcn.0041a0c4
call fcn.00405ee4
mov eax, ebx
call fcn.004d4ca0
cmp byte [ebx + 0x59], 0
jne 0x4d403c
mov eax, ebx
call fcn.004a5430
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4d403c
push 0
mov eax, ebx
call fcn.004a5430
push eax
call sub.user32.dll_ShowWindow
jmp 0x4d403c
mov eax, ebx
call fcn.004a11d0
add esp, 0x10
pop ebx
ret
Function at 0x4dc5e0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4dc647
push dword fs:[eax]
mov dword fs:[eax], esp
push esi
call sub.user32.dll_GetWindowTextLengthW
mov ebx, eax
lea edi, [ebx + 1]
mov edx, edi
lea eax, [ebp - 4]
call fcn.00407548
push edi
mov eax, dword [ebp - 4]
call fcn.00407270
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.004071e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dc64e
lea eax, [ebp - 4]
call fcn.004071d4
ret

Function at 0x4e3f94
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, eax
push 0x40
push 0x1000
push pe_nt_image_headers32
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4e401e
xor edx, edx
push ebp
push 0x4e3fff
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov dword [eax], 0x448b5050
mov dword [eax + 4], 0x44890824
mov dword [eax + 8], 0x58b0424
lea edx, [ebx + 4]
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], 0x8244489
mov dword [eax + 0x14], 0x25ff9058
mov dword [eax + 0x18], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4e401e
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x4e53e8
Capabilities:
Query or enumerate registry value

Disassembly:
add esp, 0xfffffecc
cmp byte [0x54f848], 0
jne 0x4e54c5
mov byte [0x54f848], 1
xor eax, eax
mov dword [0x54f830], eax
mov dword [esp + 0xc], 0x114
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetVersionExW
cmp dword [esp + 0x10], 3
ja 0x4e5430
cmp dword [esp + 0x10], 3
jne 0x4e549b
cmp dword [esp + 0x14], 0x33
jbe 0x4e549b
mov dword [esp + 4], 0x12
push esp
push 0x20019
push 0
push 0x4e54cc
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x4e54c5
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x124]
push eax
lea eax, [esp + 0x10]
push eax
push 0
push 0x4e552c
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x4e54c5
mov eax, dword [esp]
push eax
call sub.advapi32.dll_RegCloseKey_1
cmp word [esp + 0x120], 0x31
jne 0x4e54c5
cmp word [esp + 0x122], 0
jne 0x4e54c5
jmp 0x4e54b0
push 0
push 0x4e552c
push 0x4e5538
call sub.kernel32.dll_GetProfileIntW
test eax, eax
je 0x4e54c5
mov eax, dword [0x54f82c]
call fcn.00407270
push eax
call sub.kernel32.dll_LoadLibraryW
mov dword [0x54f830], eax
add esp, 0x134
ret
Function at 0x4eaab4
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4eaae2
mov eax, ebx
call fcn.004eb568
cmp dword [ebx + 0x40], 0
je 0x4eaadb
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4eab53
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4eab45
cmp dword [ebx + 8], 0
je 0x4eab04
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 0x4eab16
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4eab45
cmp dword [ebx + 8], 0
je 0x4eaaf7
cmp eax, 3
je 0x4eab29
dec eax
jne 0x4eaaf7
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 0x4eaaf7
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4eaaf7
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4eab71
cmp dword [ebx + 0x14], 0xcc
je 0x4eab71
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.004eab7c
pop ebx
ret

Function at 0x4fd214
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov edi, ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040a360
mov eax, dword [ebp + 8]
call fcn.004071cc
xor eax, eax
push ebp
push 0x4fd360
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov eax, dword [ebp - 4]
call fcn.004fb8b0
test al, al
je 0x4fd33a
xor eax, eax
push ebp
push 0x4fd32c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
call fcn.0040a2ec
push eax
push 0x4fd374
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax]
cmp dword [ebp - 8], 0
je 0x4fd322
xor eax, eax
push ebp
push 0x4fd31b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x4580e8]
call fcn.00461ab0
mov ebx, eax
mov edx, dword [ebp + 0xc]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, edi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.00436094
push 0
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
mov eax, ebx
call fcn.004623d0
call fcn.0045c798
push eax
push esi
push 0
push 0
push 1
push 1
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov edx, dword [ebp + 8]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x58]
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fd322
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4fd33a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fd367
lea eax, [ebp - 8]
call fcn.0040a2ec
lea eax, [ebp - 4]
call fcn.0040a2ec
lea eax, [ebp + 8]
call fcn.004071d4
ret
Function at 0x4fe1e4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004071cc
xor eax, eax
push ebp
push 0x4fe3e4
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x11], 0
mov dl, 1
mov eax, dword [0x44e5b0]
call fcn.0045070c
mov dword [ebp - 0x18], eax
xor edx, edx
push ebp
push 0x4fe3b5
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0x18]
call fcn.004507f4
lea eax, [ebp - 0x1c]
mov ecx, dword [ebp - 4]
mov edx, 0x4fe404
call fcn.004076a0
mov edx, dword [ebp - 0x1c]
xor ecx, ecx
mov eax, dword [ebp - 0x18]
call fcn.0045093c
lea ecx, [ebp - 8]
xor edx, edx
mov eax, dword [ebp - 0x18]
call fcn.0045136c
mov eax, dword [ebp - 0x18]
call fcn.004507c4
push 0x4fe404
push dword [ebp - 4]
push 0x4fe434
push dword [ebp - 8]
push 0x4fe444
lea eax, [ebp - 0x20]
mov edx, 5
call fcn.00407784
mov edx, dword [ebp - 0x20]
xor ecx, ecx
mov eax, dword [ebp - 0x18]
call fcn.0045093c
lea ecx, [ebp - 8]
xor edx, edx
mov eax, dword [ebp - 0x18]
call fcn.0045136c
mov eax, dword [ebp - 0x18]
call fcn.004507c4
cmp dword [ebp - 8], 0
je 0x4fe39f
mov edx, dword [ebp - 8]
mov eax, 0x4fe478
call fcn.00407c24
test eax, eax
jle 0x4fe355
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 8]
mov eax, 0x4fe478
call fcn.00407c24
mov ecx, eax
sub ecx, 2
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.0040790c
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4fe30f
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x4fe30f
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x10]
call fcn.00406898
mov ebx, eax
test ebx, ebx
je 0x4fe31a
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [ebp - 8]
test eax, eax
je 0x4fe337
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x4fe337
lea eax, [ebp - 8]
mov edx, dword [ebp - 8]
call fcn.00406898
mov esi, eax
test esi, esi
je 0x4fe342
sub esi, 4
mov esi, dword [esi]
lea eax, [ebp - 0xc]
push eax
lea edx, [ebx + 1]
mov ecx, esi
mov eax, dword [ebp - 8]
call fcn.0040790c
jmp 0x4fe36a
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.00407238
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.00407238
mov byte [ebp - 0x11], 1
push 5
push 0x4fe47c
mov eax, dword [ebp - 0xc]
call fcn.00407270
push eax
mov eax, dword [ebp - 0x10]
call fcn.00407270
push eax
push 0x4fe480
mov eax, dword [0x557774]
mov eax, dword [eax]
mov eax, dword [eax + 0x170]
push eax
call sub.shell32.dll_ShellExecuteW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fe3bc
mov eax, dword [ebp - 0x18]
call fcn.0040540c
ret