joyce8/EMBER2024-capa huggingface dataset:
Function at 0x462650
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4eef98]
cmp byte [eax + 0xc], 0
je 0x4627bd
push 0x8000
call sub.KERNEL32.DLL_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4627b6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4efbc4], 0
jne 0x4626a4
push 0x4627c4
call sub.KERNEL32.DLL_GetModuleHandleA
mov ebx, eax
push 0x4627cc
push ebx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4efbc4], eax
cmp dword [0x4ece84], 0
jne 0x46279f
push 0x4627dc
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [0x4ece84], eax
cmp dword [0x4ece84], 0
je 0x46279f
push 0x4627e8
mov eax, dword [0x4ece84]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4efbc8], eax
push 0x4627f8
mov eax, dword [0x4ece84]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4efbcc], eax
push 0x46280c
mov eax, dword [0x4ece84]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4efbd0], eax
push 0x462824
mov eax, dword [0x4ece84]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4efbd4], eax
push 0x46283c
mov eax, dword [0x4ece84]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4efbd8], eax
push 0x462850
mov eax, dword [0x4ece84]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4efbdc], eax
push 0x462868
mov eax, dword [0x4ece84]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4efbe0], eax
push 0x462880
mov eax, dword [0x4ece84]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4efbe4], eax
push 0x46289c
mov eax, dword [0x4ece84]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4efbe8], eax
push 0x4628a8
mov eax, dword [0x4ece84]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4efbec], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4627bd
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x466b1c
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00404730
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x466b6b
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.004049a0
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x46e2a8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x46e2f8]
test si, 4
je 0x46e2bc
or bl, 1
test si, 8
je 0x46e2c6
or bl, 4
test si, 1
je 0x46e2d0
or bl, 8
test si, 2
je 0x46e2da
or bl, 0x10
test si, 0x10
je 0x46e2e4
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x46e2f3
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x46e2fc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x46e334]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x46e315
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x46e324
or bl, 4
test esi, 0x20000000
je 0x46e32f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4749dc
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4749ee
add esp, 0xfffffff0
call fcn.00403c80
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00422860
mov eax, dword [0x4ee900]
mov dword [eax + 4], ebx
mov dword [eax], 0x474d80
mov eax, dword [0x4ee910]
mov dword [eax + 4], ebx
mov dword [eax], 0x474d8c
mov eax, ebx
call fcn.00474d98
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4170f0]
call fcn.004038ec
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4170f0]
call fcn.004038ec
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4170f0]
call fcn.004038ec
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4170f0]
call fcn.004038ec
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4170f0]
call fcn.004038ec
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, 0x4711b4
push eax
push 0
push 0
mov eax, dword [0x4eebc0]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x424320]
call fcn.00425a94
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x424320]
call fcn.00425a94
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x424320]
call fcn.00425a94
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00475290
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x475124
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x475124
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x475124
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x474b2b
call fcn.00403cd8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x474f08
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 0x4750b3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x475094
mov dl, 1
mov eax, dword [0x417774]
call fcn.004038ec
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404730
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x475083
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.004629b0
test al, al
je 0x475076
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, 0x4750c4
lea eax, [ebp - 0x254]
call fcn.00409c10
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x475076
xor eax, eax
push ebp
push 0x47506f
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 0x4750fc
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
jne 0x475058
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004049a0
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 0x475058
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004049a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x475076
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x474f79
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041c298
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 0x4750ba
lea eax, [ebp - 0x260]
call fcn.00404730
ret

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

Disassembly:
push ecx
mov eax, dword [0x4efc10]
cmp byte [eax + 0xa5], 0
jne 0x475aa1
cmp dword [0x4efc28], 0
jne 0x475a62
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x4759ec
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4efc28], eax
cmp dword [0x4efc24], 0
jne 0x475a7d
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x4efc24], eax
cmp dword [0x4efc2c], 0
jne 0x475aa1
push esp
push 0
push 0
push 0x475990
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x4efc2c], eax
pop edx
ret
Function at 0x475bc8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x475bdf
add esp, 0xfffffff0
call fcn.00403c80
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00422860
mov eax, dword [0x4eeb94]
cmp word [eax + 2], 0
jne 0x475c07
mov eax, dword [0x4eeb94]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00477348
mov eax, dword [0x4eecfc]
cmp word [eax + 2], 0
jne 0x475c21
mov eax, dword [0x4eecfc]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00477540
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4170f0]
call fcn.004038ec
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4170f0]
call fcn.004038ec
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 [0x424e00]
call fcn.0042c800
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x475da8
mov eax, dword [0x4ee9cc]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042cbd0
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x477af0
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4ee9cc]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_GetModuleFileNameA
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.0040d860
test eax, eax
je 0x475d16
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004095f0
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d888
test eax, eax
je 0x475d2a
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.004049a0
mov eax, dword [0x4ee728]
cmp byte [eax], 0
jne 0x475d5e
mov eax, ebx
call fcn.00475ed0
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.00477ccc
mov eax, ebx
call fcn.00478690
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x475d9e
call fcn.00403cd8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x476150
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4efc10]
cmp dword [eax + 0x30], 0
je 0x4761fa
cmp dword [ebx + 0x94], 0
jne 0x4761f4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4760e0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4761f4
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 0x4761ba
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4761f4
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.00419ad0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4761c9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x476d5c
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 0x476d91
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.00404820
jmp 0x476d9e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404784
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x477ea8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x477ee9
mov eax, esi
call fcn.0045df54
test al, al
je 0x477ee9
mov eax, dword [ebx + 0x84]
call fcn.0045dc50
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x477ee9
push 0
mov eax, dword [ebx + 0x84]
call fcn.0045dc50
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x4b94fc
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.KERNEL32.DLL_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x4b954d
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4b9534
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4b9524
jmp 0x4b954d
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x4b9535
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4cbc50
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x38]
call fcn.00419e94
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4cbce4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
sub eax, 1
jno 0x4cbc85
call fcn.0040385c
cmp eax, 0
jl 0x4cbcc8
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.00419ad0
test byte [eax + 0x58], 1
je 0x4cbcbf
push 0
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.00419ad0
mov eax, dword [eax + 4]
push eax
call sub.KERNEL32.DLL_TerminateThread
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.00419970
dec dword [ebp - 4]
cmp dword [ebp - 4], 0xffffffff
jne 0x4cbc8d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cbceb
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x38]
call fcn.00419ef8
ret

Function at 0x4d049c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4d04ca
mov eax, ebx
call fcn.004d0f50
cmp dword [ebx + 0x40], 0
je 0x4d04c3
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4d053b
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4d052d
cmp dword [ebx + 8], 0
je 0x4d04ec
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 0x4d04fe
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4d052d
cmp dword [ebx + 8], 0
je 0x4d04df
cmp eax, 3
je 0x4d0511
dec eax
jne 0x4d04df
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 0x4d04df
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4d04df
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4d0559
cmp dword [ebx + 0x14], 0xcc
je 0x4d0559
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.004d0564
pop ebx
ret
Function at 0x4e27ac
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
xor edx, edx
mov dword [ebp - 0x110], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4e2836
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 5
lea eax, [ebp - 0x109]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderPathA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x4e27f4
mov eax, dword [ebp - 4]
call fcn.00404730
jmp 0x4e281d
lea eax, [ebp - 0x110]
lea edx, [ebp - 0x109]
mov ecx, 0x105
call fcn.004049a0
mov edx, dword [ebp - 0x110]
mov eax, dword [ebp - 4]
mov ecx, 0x4e284c
call fcn.00404a3c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e283d
lea eax, [ebp - 0x110]
call fcn.00404730
ret

Function at 0x4e2870
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdc8
xor ecx, ecx
mov dword [ebp - 0x238], ecx
mov dword [ebp - 0x234], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x230], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404be0
mov eax, dword [ebp - 8]
call fcn.00404be0
xor eax, eax
push ebp
push 0x4e29f5
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x1c]
mov eax, dword [0x4eecac]
mov eax, dword [eax]
call fcn.00477858
lea edx, [ebp - 0xc]
mov eax, dword [0x4ee804]
call fcn.00478bb0
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov ecx, 0x4e2a00
call fcn.00406270
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0xc]
mov ecx, 0x4e2a10
call fcn.00406270
mov eax, dword [ebp - 0x1c]
call fcn.00404bf0
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x50]
lea edx, [ebp - 0x234]
mov eax, dword [ebp - 0x1c]
call fcn.00409434
mov eax, dword [ebp - 0x234]
call fcn.00404bf0
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x24]
mov eax, dword [ebp - 4]
call fcn.00404bf0
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x2c]
push 0
push 0
lea eax, [ebp - 0x22a]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderPathA
lea eax, [ebp - 0x238]
lea edx, [ebp - 0x22a]
mov ecx, 0x105
call fcn.004049a0
push dword [ebp - 0x238]
push 0x4e2a28
push dword [ebp - 8]
push 0x4e2a34
lea eax, [ebp - 0x18]
mov edx, 4
call fcn.00404ab0
push 0
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e29fc
lea eax, [ebp - 0x238]
mov edx, 2
call fcn.00404754
lea eax, [ebp - 0x230]
call fcn.00404e3c
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404754
lea eax, [ebp - 0x14]
call fcn.0040622c
lea eax, [ebp - 0x10]
call fcn.0040622c
lea eax, [ebp - 0xc]
call fcn.0040622c
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404754
ret
Function at 0x4e2f1c
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe58
xor ecx, ecx
mov dword [ebp - 0x1a8], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4e3015
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x1a8]
mov edx, dword [ebp - 4]
mov eax, dword [0x4f008c]
call fcn.0041b2b0
cmp dword [ebp - 0x1a8], 0
je 0x4e2f6a
mov eax, dword [ebp - 8]
call fcn.00404730
jmp 0x4e2ffc
lea eax, [ebp - 0x1a4]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
mov eax, dword [ebp - 8]
call fcn.00404730
mov eax, dword [ebp - 4]
call fcn.00404bf0
push eax
call sub.wsock32.dll_gethostbyname
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4e2fb6
mov eax, dword [ebp - 8]
call fcn.00404730
mov ecx, 0x4e3028
mov edx, dword [ebp - 4]
mov eax, dword [0x4f008c]
call fcn.0041b9bc
jmp 0x4e2ffc
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x14], eax
jmp 0x4e2feb
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + eax*4]
push dword [eax]
call sub.wsock32.dll_inet_ntoa
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.00404928
add dword [ebp - 0x14], 1
jno 0x4e2feb
call fcn.0040385c
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
cmp dword [edx + eax*4], 0
jne 0x4e2fc6
call sub.wsock32.dll_WSACleanup
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e301c
lea eax, [ebp - 0x1a8]
call fcn.00404730
ret
Function at 0x4e8aa0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
lea eax, [ebp - 4]
push eax
push 0x28
call sub.KERNEL32.DLL_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
je 0x4e8af0
lea eax, [ebp - 0x14]
push eax
push 0x4e8af4
push 0
call sub.advapi32.dll_LookupPrivilegeValueA
mov dword [ebp - 0x18], 1
mov dword [ebp - 0xc], 2
lea eax, [ebp - 8]
push eax
push 0
push 0
lea eax, [ebp - 0x18]
push eax
push 0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
mov esp, ebp
pop ebp
ret
Function at 0x4ea8da
Capabilities:
Check for software breakpoints

Disassembly:
cmp dword [eax], 0xfffff000
jne 0x4ea8ef
mov dl, byte [eax + 5]
cmp dl, 0xe8
je 0x4ea8f4
cmp dl, 0xcc
je 0x4ea8f4
dec eax
dec ecx
jne fcn.004ea8da
ret
add eax, 0xa
add eax, dword [eax - 4]
ret

Function at 0x4eabd3
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffffc
push ebx
mov ebx, edx
sub ecx, ecx
push 6
pop edx
mov eax, dword fs:[ecx + 0x30]
cmp byte [ebx + 2], cl
jne 0x4eabed
dec edx
mov dword [eax], edx
mov byte [eax], dl
xor eax, dword [ebx + 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call sub.KERNEL32.DLL_OpenProcess
test eax, eax
je 0x4eac6a
push eax
push dword [ebx + 0x30]
call dword [ebx + 0x10]
push dword [ebp + 0x10]
call dword [ebx + 8]
test eax, eax
sete byte [ebp - 1]
pop eax
je 0x4eac4d
sub ecx, ecx
cmp byte [ebx + 2], cl
mov edx, dword fs:[ecx + 0x30]
push eax
je 0x4eac28
shr eax, 2
inc eax
shl eax, 3
add eax, dword [edx + 0x44]
mov ecx, dword [ebp + 0x10]
xor ecx, dword [ebx + 4]
mov dword [eax], ecx
cmp byte [ecx], 7
pop eax
jae 0x4eac45
inc dword [ecx + 4]
dec dword [edx + 4]
jmp 0x4eac4d
inc word [ecx + 2]
dec word [edx + 2]
push eax
push dword [ebx + 0x30]
call dword [ebx + 0x18]
pop eax
cmp byte [ebp - 1], 0
je 0x4eac6a
push eax
call sub.KERNEL32.DLL_CloseHandle
push 0x57
pop ecx
call fcn.004eab63
pop ebx
leave
ret 0xc