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

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x478874]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x478855
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x478864
or bl, 4
test esi, 0x20000000
je 0x47886f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x47ef1c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x47ef2e
add esp, 0xfffffff0
call fcn.004037f8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00426bd0
mov eax, dword [0x522f6c]
mov dword [eax + 4], ebx
mov dword [eax], 0x47f2c0
mov eax, dword [0x522f80]
mov dword [eax + 4], ebx
mov dword [eax], 0x47f2cc
mov eax, ebx
call fcn.0047f2d8
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41bdbc]
call fcn.00403464
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41bdbc]
call fcn.00403464
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41bdbc]
call fcn.00403464
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41bdbc]
call fcn.00403464
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41bdbc]
call fcn.00403464
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, 0x47b6f4
push eax
push 0
push 0
mov eax, dword [0x523280]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x428704]
call fcn.00429f18
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x428704]
call fcn.00429f18
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x428704]
call fcn.00429f18
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0047f740
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x47f61c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x47f61c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x47f61c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x47f06b
call fcn.00403850
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x47f400
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 0x47f5ab
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x47f58c
mov dl, 1
mov eax, dword [0x41c420]
call fcn.00403464
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404324
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x47f57b
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.0046cddc
test al, al
je 0x47f56e
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, 0x47f5bc
lea eax, [ebp - 0x254]
call fcn.0040a2f4
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x47f56e
xor eax, eax
push ebp
push 0x47f567
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 0x47f5f4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x47f550
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404594
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 0x47f550
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404594
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47f56e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x47f471
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00420bd8
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 0x47f5b2
lea eax, [ebp - 0x260]
call fcn.00404324
ret

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

Disassembly:
push ecx
mov eax, dword [0x524c0c]
cmp byte [eax + 0xa5], 0
jne 0x47ff51
cmp dword [0x524c24], 0
jne 0x47ff12
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x47fe9c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x524c24], eax
cmp dword [0x524c20], 0
jne 0x47ff2d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x524c20], eax
cmp dword [0x524c28], 0
jne 0x47ff51
push esp
push 0
push 0
push 0x47fe40
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x524c28], eax
pop edx
ret
Function at 0x480078
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x48008f
add esp, 0xfffffff0
call fcn.004037f8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00426bd0
mov eax, dword [0x52325c]
cmp word [eax + 2], 0
jne 0x4800b7
mov eax, dword [0x52325c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004817f8
mov eax, dword [0x5233f4]
cmp word [eax + 2], 0
jne 0x4800d1
mov eax, dword [0x5233f4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004819f0
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41bdbc]
call fcn.00403464
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41bdbc]
call fcn.00403464
mov dword [ebx + 0xa8], 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 + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x429284]
call fcn.00431758
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x480258
mov eax, dword [0x52304c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00431b28
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x481fa0
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x52304c]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040e60c
test eax, eax
je 0x4801c6
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040991c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040e634
test eax, eax
je 0x4801da
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404594
mov eax, dword [0x522d7c]
cmp byte [eax], 0
jne 0x48020e
mov eax, ebx
call fcn.00480380
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0048217c
mov eax, ebx
call fcn.00482b40
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x48024e
call fcn.00403850
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x480600
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x524c0c]
cmp dword [eax + 0x30], 0
je 0x4806aa
cmp dword [ebx + 0x94], 0
jne 0x4806a4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x480590
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4806a4
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 0x48066a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4806a4
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.0041e5f0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x480679
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x48120c
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 0x481241
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.00404414
jmp 0x48124e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404378
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x482358
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x482399
mov eax, esi
call fcn.0046825c
test al, al
je 0x482399
mov eax, dword [ebx + 0x84]
call fcn.00467f58
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x482399
push 0
mov eax, dword [ebx + 0x84]
call fcn.00467f58
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x485a60
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x485a8e
mov eax, ebx
call fcn.00486514
cmp dword [ebx + 0x40], 0
je 0x485a87
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x485aff
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x485af1
cmp dword [ebx + 8], 0
je 0x485ab0
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 0x485ac2
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x485af1
cmp dword [ebx + 8], 0
je 0x485aa3
cmp eax, 3
je 0x485ad5
dec eax
jne 0x485aa3
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 0x485aa3
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x485aa3
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x485b1d
cmp dword [ebx + 0x14], 0xcc
je 0x485b1d
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.00485b28
pop ebx
ret
Function at 0x496b1c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [0x496b54]
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x496b32
or bl, 1
push 0x11
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x496b41
or bl, 4
push 0x12
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x496b50
or bl, 2
mov eax, ebx
pop ebx
ret

Function at 0x497ef0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x5233a8]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x497f16
push 0
mov eax, dword [0x5233a8]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
ret
Function at 0x4994d4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x499734
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x499537
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.00498f9c
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040e0f4
cmp al, 1
jne 0x499537
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.004992b4
test al, al
je 0x4996c3
cmp dword [ebp - 8], 0
jge 0x499555
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.00498f9c
mov eax, dword [ebp - 0x210]
call fcn.004045e4
cmp ebx, eax
jge 0x49959f
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.00498f9c
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x5236a8]
and eax, 0xff
bt dword [edx], eax
jae 0x49959f
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x4995b3
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004994b0
cmp ebx, dword [ebp - 8]
je 0x4996b5
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x4995df
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403690
and eax, 0x7f
movzx eax, word [eax*2 + 0x520c50]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x4996a2
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403690
and eax, 0x7f
movzx eax, word [eax*2 + 0x520c50]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.00467f58
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403690
and eax, 0x7f
movzx eax, word [eax*2 + 0x520c50]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.00467f58
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4996a9
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x499716
cmp dword [ebp - 8], 0
jge 0x4996ce
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.00498f9c
mov eax, dword [ebp - 0x218]
call fcn.004045e4
cmp eax, dword [ebp - 8]
jg 0x499708
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.00498f9c
mov eax, dword [ebp - 0x21c]
call fcn.004045e4
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004994b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49973b
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00404348
ret
Function at 0x4a0d9c
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x41b32c]
call fcn.00404e04
xor eax, eax
push ebp
push 0x4a0ee0
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x520cf8], 0
jne 0x4a0def
mov ecx, dword [0x522dc4]
mov dl, 1
mov eax, dword [0x407ccc]
call fcn.0040d7ac
call fcn.00403d24
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402de4
mov eax, ebx
call fcn.00404bbc
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x4a0ef0
lea edi, [ebp - 0x30]
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 edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.004060f0
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404bcc
test eax, eax
jle 0x4a0e87
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x4a0e80
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.004045ac
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404594
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408c74
test eax, eax
jne 0x4a0e80
mov ebx, 0x15
jmp 0x4a0e8c
mov ebx, 0x10
jmp 0x4a0e8c
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x520cf8]
call fcn.004a0c98
mov eax, dword [ebp - 8]
call fcn.004a0c98
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406108
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a0ee7
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404348
lea eax, [ebp - 0x10]
mov edx, dword [0x41b32c]
call fcn.00404ed4
ret

Function at 0x4c147c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.0042add0
cmp ebx, dword [ebp - 8]
jge 0x4c14df
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.0042b1d0
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.0042b1d0
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.0042b1fc
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x4c14a5
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x4c14e8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.0042add0
cmp ebx, dword [ebp - 8]
jge 0x4c154b
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.0042b1d0
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.0042b1d0
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.0042b1fc
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x4c1511
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4e579b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x522322
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4e57f3
movzx edx, word [ebp + 8]
mov dword [ebp - 8], edx
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 0xc]
push 0
push 0
push 0x522343
push dword [ebp - 4]
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x4e57e9
mov bx, 0x2a04
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey_1
jmp 0x4e57f7
mov bx, 0x2a04
mov eax, ebx
pop ebx
pop ecx
pop ecx
pop ebp
ret 8
Function at 0x5035e8
Capabilities:
Link many functions at runtime

Disassembly:
mov byte [0x5228d8], 0
mov eax, dword [0x5236c0]
cmp dword [eax], 2
jne 0x5037c1
mov eax, dword [0x523054]
cmp dword [eax], 5
jl 0x5037c1
call fcn.00500784
test al, al
jne 0x503619
call fcn.00500790
call fcn.0050077c
mov dword [0x5228e0], eax
push 0x5037c4
mov eax, dword [0x5228e0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5228a4], eax
cmp dword [0x5228a4], 0
jne 0x503674
mov edx, 0x8000
mov eax, 0x5037d8
call fcn.0040f544
mov dword [0x5228dc], eax
mov eax, dword [0x5228dc]
mov dword [0x5228e0], eax
push 0x5037c4
mov eax, dword [0x5228e0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5228a4], eax
cmp dword [0x5228a4], 0
je 0x5037bc
push 0x5037e4
mov eax, dword [0x5228e0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5228a8], eax
cmp dword [0x5228a8], 0
je 0x5037bc
push 0x5037f0
mov eax, dword [0x5228e0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5228ac], eax
cmp dword [0x5228ac], 0
je 0x5037bc
mov byte [0x5228d8], 1
push 0x503800
mov eax, dword [0x5228e0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5228b0], eax
push 0x50380c
mov eax, dword [0x5228e0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5228b4], eax
push 0x503818
mov eax, dword [0x5228e0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5228b8], eax
push 0x503828
mov eax, dword [0x5228e0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5228bc], eax
push 0x503838
mov eax, dword [0x5228e0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5228c0], eax
mov edx, 0x8000
mov eax, 0x503850
call fcn.0040f544
mov dword [0x5228e4], eax
cmp dword [0x5228e4], 0
je 0x5037c1
push 0x503860
mov eax, dword [0x5228e4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5228c4], eax
push 0x50387c
mov eax, dword [0x5228e4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5228c8], eax
push 0x50389c
mov eax, dword [0x5228e4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5228cc], eax
push 0x5038b8
mov eax, dword [0x5228e4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5228d0], eax
push 0x5038d0
mov eax, dword [0x5228e4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5228d4], eax
ret
call fcn.00503568
ret
Function at 0x505ef4
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov esi, ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x50601c
push dword fs:[eax]
mov dword fs:[eax], esp
mov ax, word [ebp + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 4]
mov eax, edi
call fcn.00505de0
mov eax, dword [esi]
call fcn.00405728
add eax, 0x28
push eax
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x4ff328]
call fcn.004058e4
add esp, 4
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x1c]
mov ecx, 0x1c
call fcn.004029cc
mov ebx, 0x1c
mov eax, dword [ebp - 8]
lea edx, [eax + ebx]
lea eax, [ebp - 0x2c]
mov ecx, 0x1c
call fcn.004029cc
add ebx, 0x1c
mov eax, dword [esi]
call fcn.00405728
mov dword [ebp - 0xc], eax
mov eax, dword [0x523590]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x30]
lea edx, [ebp - 8]
mov ecx, ebx
call fcn.004ff5bc
add ebx, 4
mov eax, dword [ebp - 8]
add eax, ebx
xor ecx, ecx
mov edx, 3
call fcn.00402de4
add ebx, 3
mov eax, dword [ebp - 8]
mov byte [eax + ebx], 0x3a
inc ebx
mov eax, dword [esi]
mov byte [eax + 2], 0
mov eax, dword [esi]
mov byte [eax + 3], 0
push ebx
mov eax, dword [esi]
call fcn.00405728
push eax
lea ecx, [ebp - 8]
mov eax, dword [esi]
xor edx, edx
call fcn.004ff4ec
mov edx, dword [ebp - 8]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x94]
mov ebx, eax
mov eax, ebx
call fcn.004ff4e8
mov edx, esi
mov ecx, dword [ebp + 0x10]
call fcn.004ff5b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x506023
lea eax, [ebp - 8]
mov edx, dword [0x4ff328]
call fcn.00405a04
ret

Function at 0x5090a8
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 0x10], 2
jne 0x5090cd
cmp dword [esp + 4], 5
jb 0x5090cd
mov al, 1
jmp 0x5090cf
xor eax, eax
add esp, 0x94
ret