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

Disassembly:
push ebx
mov bl, byte [0x4ae4cc]
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4ae4aa
or bl, 1
push 0x11
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4ae4b9
or bl, 4
push 0x12
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4ae4c8
or bl, 2
mov eax, ebx
pop ebx
ret

Function at 0x4aee18
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 4]
mov edx, dword [0x44ec04]
call fcn.00403db0
test al, al
je 0x4aee5a
mov eax, dword [0x538c6c]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
test eax, eax
je 0x4aee5a
mov edx, dword [0x538c6c]
xor edx, edx
call fcn.0046bfc8
push 0
mov eax, dword [0x538c6c]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
pop ebx
ret
Function at 0x4e0ccc
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404f18
xor eax, eax
push ebp
push 0x4e0de9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x368]
test eax, eax
je 0x4e0dd3
cmp dword [eax + 0x408], 0
je 0x4e0dd3
cmp byte [ebx + 0x30c], 0
je 0x4e0d54
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 0x304]
cmp eax, 0x1f4
jb 0x4e0d2d
lea eax, [ebx + 0x308]
call fcn.00404a68
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x304], eax
lea eax, [ebx + 0x308]
mov edx, dword [ebp - 4]
call fcn.00404d30
lea eax, [ebp - 4]
mov edx, dword [ebx + 0x308]
call fcn.00404b00
mov eax, dword [ebp - 4]
call fcn.00404d28
test eax, eax
jle 0x4e0dc3
mov eax, dword [ebp - 4]
call fcn.00404d28
dec eax
jne 0x4e0d9a
mov eax, dword [ebp - 4]
call fcn.00404f28
push eax
mov eax, ebx
call fcn.004e1900
push eax
push 0x18f
mov eax, dword [ebx + 0x368]
mov eax, dword [eax + 0x408]
call fcn.0045960c
push eax
call sub.user32.dll_SendMessageA
jmp 0x4e0dc6
mov eax, dword [ebp - 4]
call fcn.00404f28
push eax
push 0xffffffffffffffff
push 0x18f
mov eax, dword [ebx + 0x368]
mov eax, dword [eax + 0x408]
call fcn.0045960c
push eax
call sub.user32.dll_SendMessageA
jmp 0x4e0dc6
or eax, 0xffffffff
test eax, eax
jl 0x4e0dd3
mov edx, eax
mov eax, ebx
call fcn.004e190c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e0df0
lea eax, [ebp - 4]
call fcn.00404a68
ret
Function at 0x4e0df4
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x4e0f44
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x368]
test eax, eax
je 0x4e0f1c
cmp dword [eax + 0x408], 0
je 0x4e0f1c
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 0x304]
cmp eax, 0xc8
jbe 0x4e0f1c
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x304], eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.00452e24
mov eax, dword [ebp - 0xc]
call fcn.00404d28
dec eax
jne 0x4e0e9c
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.00452e24
mov eax, dword [ebp - 0x10]
call fcn.00404f28
push eax
mov eax, ebx
call fcn.004e1900
push eax
push 0x18f
mov eax, dword [ebx + 0x368]
mov eax, dword [eax + 0x408]
call fcn.0045960c
push eax
call sub.user32.dll_SendMessageA
mov esi, eax
jmp 0x4e0ecf
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.00452e24
mov eax, dword [ebp - 0x14]
call fcn.00404f28
push eax
push 0xffffffffffffffff
push 0x18f
mov eax, dword [ebx + 0x368]
mov eax, dword [eax + 0x408]
call fcn.0045960c
push eax
call sub.user32.dll_SendMessageA
mov esi, eax
test esi, esi
jl 0x4e0f1c
lea edx, [ebp - 4]
mov eax, ebx
call fcn.00452e24
mov edx, esi
mov eax, ebx
call fcn.004e190c
lea edx, [ebp - 8]
mov eax, ebx
call fcn.00452e24
mov eax, dword [ebp - 4]
call fcn.00404d28
mov edx, eax
mov eax, ebx
call fcn.004e0fac
mov eax, dword [ebp - 8]
call fcn.00404d28
push eax
mov eax, dword [ebp - 4]
call fcn.00404d28
pop edx
sub edx, eax
mov eax, ebx
call fcn.004e0fc8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e0f4b
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00404a8c
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404a8c
ret
Function at 0x4e4d54
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov esi, edx
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, eax
xor ebx, ebx
call fcn.005116c4
test al, al
je 0x4e4e5b
mov eax, dword [esi + 4]
mov edx, dword [0x4d3790]
call fcn.00403db0
test al, al
je 0x4e4e5b
mov ebx, dword [esi + 4]
cmp byte [ebx + 0x30d], 0
je 0x4e4dc4
cmp byte [esi + 0x530], 0
jne 0x4e4dc4
push 0xffffffffffffffec
mov eax, esi
call fcn.0045960c
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
push eax
push 0xffffffffffffffec
mov eax, esi
call fcn.0045960c
push eax
call sub.user32.dll_SetWindowLongA
jmp 0x4e4dfa
cmp byte [ebx + 0x30d], 0
jne 0x4e4dfa
cmp byte [esi + 0x530], 0
je 0x4e4dfa
push 0xffffffffffffffec
mov eax, esi
call fcn.0045960c
push eax
call sub.user32.dll_GetWindowLongA
and eax, 0xfff7ffff
push eax
push 0xffffffffffffffec
mov eax, esi
call fcn.0045960c
push eax
call sub.user32.dll_SetWindowLongA
mov al, byte [ebx + 0x30d]
mov byte [esi + 0x530], al
mov al, byte [esi + 0x531]
cmp al, byte [ebx + 0x30f]
je 0x4e4e5b
cmp byte [ebx + 0x30d], 0
je 0x4e4e5b
cmp byte [ebx + 0x30e], 0
je 0x4e4e3d
mov eax, esi
call fcn.0045960c
xor edx, edx
call fcn.00511700
mov byte [esi + 0x531], 0
jmp 0x4e4e5b
mov eax, esi
call fcn.0045960c
mov dl, byte [ebx + 0x30f]
call fcn.00511700
mov al, byte [ebx + 0x30f]
mov byte [esi + 0x531], al
push 0x51
push 0
push 0
mov eax, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x10]
push eax
push 0
mov eax, esi
call fcn.0045960c
push eax
call sub.user32.dll_SetWindowPos
mov dl, 1
mov eax, esi
call fcn.00452d44
call fcn.005116c4
test al, al
je 0x4e4efc
test ebx, ebx
je 0x4e4efc
cmp byte [ebx + 0x30e], 0
je 0x4e4efc
cmp byte [ebx + 0x30d], 0
je 0x4e4efc
mov eax, dword [0x538c6c]
mov eax, dword [eax]
call fcn.0047287c
xor edi, edi
xor ebp, ebp
call sub.kernel32.dll_GetTickCount_1
sub eax, ebp
cmp eax, 5
jbe 0x4e4ee4
call sub.kernel32.dll_GetTickCount_1
mov ebp, eax
add edi, 0xa
xor eax, eax
mov al, byte [ebx + 0x30f]
cmp edi, eax
jle 0x4e4ed6
mov edi, eax
mov eax, esi
call fcn.0045960c
mov edx, edi
call fcn.00511700
mov eax, dword [0x538c6c]
mov eax, dword [eax]
call fcn.0047287c
xor eax, eax
mov al, byte [ebx + 0x30f]
cmp edi, eax
jl 0x4e4eb2
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x50c36c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], eax
lea edi, [ebp - 4]
mov eax, dword [edi]
call fcn.0050d050
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
push ebp
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0x18]
call fcn.0050c28c
pop ecx
call fcn.005116c4
test al, al
je 0x50c414
mov eax, dword [edi]
mov eax, dword [eax + 0x220]
cmp byte [eax + 0x60], 0
je 0x50c414
push 0xffffffffffffffec
mov eax, dword [edi]
call fcn.0045960c
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
push eax
push 0xffffffffffffffec
mov eax, dword [edi]
call fcn.0045960c
push eax
call sub.user32.dll_SetWindowLongA
mov eax, dword [edi]
mov eax, dword [eax + 0x220]
cmp byte [eax + 0x61], 0
je 0x50c3fd
mov eax, dword [edi]
call fcn.0045960c
xor edx, edx
call fcn.00511700
jmp 0x50c414
mov eax, dword [edi]
call fcn.0045960c
mov edx, dword [edi]
mov edx, dword [edx + 0x220]
mov dl, byte [edx + 0x62]
call fcn.00511700
push 0x51
push 0
push 0
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
push eax
push 0xffffffffffffffff
mov eax, dword [edi]
call fcn.0045960c
push eax
call sub.user32.dll_SetWindowPos
mov dl, 1
mov eax, dword [edi]
call fcn.00452d44
mov eax, dword [edi]
mov ebx, dword [eax + 0x220]
cmp byte [ebx + 0x61], 0
je 0x50c4ad
cmp byte [ebx + 0x60], 0
je 0x50c4ad
call fcn.005116c4
test al, al
je 0x50c4ad
mov eax, dword [0x538c6c]
mov eax, dword [eax]
call fcn.0047287c
xor ebx, ebx
xor esi, esi
call sub.kernel32.dll_GetTickCount_1
sub eax, esi
cmp eax, 5
jbe 0x50c49d
call sub.kernel32.dll_GetTickCount_1
mov esi, eax
add ebx, 0xa
mov eax, dword [edi]
mov eax, dword [eax + 0x220]
movzx eax, byte [eax + 0x62]
cmp ebx, eax
jle 0x50c48f
mov ebx, eax
mov eax, dword [edi]
call fcn.0045960c
mov edx, ebx
call fcn.00511700
mov eax, dword [edi]
mov eax, dword [eax + 0x220]
movzx eax, byte [eax + 0x62]
cmp ebx, eax
jl 0x50c467
mov eax, dword [edi]
call fcn.0050d590
mov eax, dword [edi]
call fcn.0045960c
push eax
call sub.user32.dll_SetCapture
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5183f0
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe04
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x518506
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404a68
xor eax, eax
push ebp
push 0x5184e9
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1dc]
push eax
push 2
call sub.wsock32.dll_WSAStartup
push 0x40
lea eax, [ebp - 0x4c]
push eax
call sub.wsock32.dll_gethostname
lea eax, [ebp - 0x4c]
push eax
call sub.wsock32.dll_gethostbyname
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x518459
call fcn.004044a4
jmp 0x5184f0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
mov dword [ebp - 0x1fc], eax
mov byte [ebp - 0x1f8], 0
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax + 1]
mov dword [ebp - 0x1f4], eax
mov byte [ebp - 0x1f0], 0
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax + 2]
mov dword [ebp - 0x1ec], eax
mov byte [ebp - 0x1e8], 0
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax + 3]
mov dword [ebp - 0x1e4], eax
mov byte [ebp - 0x1e0], 0
lea edx, [ebp - 0x1fc]
mov ecx, 3
mov eax, 0x51851c
call fcn.0040a29c
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00404abc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5184f0
call sub.wsock32.dll_WSACleanup
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51850d
lea eax, [ebp - 8]
call fcn.00404a68
ret

Function at 0x51cf28
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 0x51cf79
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x51cf60
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x51cf50
jmp 0x51cf79
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 0x51cf61
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40b0f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
mov esi, ecx
push 1
call fcn.00451d09
mov eax, dword [esi + 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x40b11d
push 0
push 1
mov ecx, esi
call fcn.00452d0d
mov ecx, eax
call fcn.0045300b
pop esi
ret
mov eax, dword [esi + 0x60]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x40b148
mov ecx, dword [esi + 0x64]
mov eax, dword [ecx - 8]
test eax, eax
je 0x40b148
mov eax, 1
mov ecx, esi
push eax
push eax
call fcn.00452d0d
mov ecx, eax
call fcn.0045300b
pop esi
ret
xor eax, eax
mov ecx, esi
push eax
push 1
call fcn.00452d0d
mov ecx, eax
call fcn.0045300b
pop esi
ret
Function at 0x40d770
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 8]
lea ecx, [esp + 4]
push 0
mov dword [esp + 0xc], eax
mov eax, dword [esp + 8]
push ecx
lea edx, [esp + 0x10]
push 4
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x40d7a1
push eax
push eax
push str.write_pipe_error__
call fcn.0045ef2c
ret 8

Function at 0x40e4b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4733a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.0043b6e1
lea ecx, [esp + 0xc]
mov dword [esi + 0x34], eax
call fcn.0043b1c0
mov edi, dword [0x49e924]
lea ecx, [esp + 8]
call fcn.0043b1c0
mov eax, dword [edi + 4]
cmp eax, 0xffffffff
jae 0x40e4fc
inc eax
mov dword [edi + 4], eax
lea ecx, [esp + 8]
call fcn.0043b25c
lea ecx, [esp + 0xc]
call fcn.0043b25c
lea eax, [esi + 4]
lea ecx, [esi + 0x14]
lea edx, [esi + 0x18]
mov dword [esi + 0xc], eax
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], edx
lea eax, [esi + 8]
lea ecx, [esi + 0x24]
lea edx, [esi + 0x28]
mov dword [esi + 0x10], eax
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x30], edx
mov dword [eax], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov edx, dword [esi + 0xc]
mov dword [edx], 0
mov eax, dword [esi + 0x1c]
mov dword [eax], 0
mov ecx, dword [esi + 0x2c]
mov dword [ecx], 0
mov edx, dword [esp + 0x24]
push 0
push 0
push 0
push edx
mov ecx, esi
mov dword [esp + 0x2c], 0
mov dword [esi], vtable.std::strstreambuf.0
call fcn.0043c1b5
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret 4
Function at 0x41a260
Capabilities:
Create directory
Create shortcut via ishelllink

Disassembly:
sub esp, 0x314
push ebp
call fcn.0041a220
test eax, eax
je 0x41a3cc
mov ebp, dword [esp + 0x324]
lea ecx, [esp + 0xc]
push ecx
push 0
test ebp, ebp
push 0
je 0x41a28c
push 2
jmp 0x41a28e
push 7
push 0
call eax
xor edx, edx
test eax, eax
setge dl
mov eax, edx
test eax, eax
je 0x41a3cc
push esi
push 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [esp + 0xc]
push eax
push 0x482ec8
push 1
push 0
push 0x482eb8
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jl 0x41a3bb
mov eax, dword [esp + 0xc]
lea edx, [esp + 8]
push edx
push 0x482ed8
mov ecx, dword [eax]
push eax
call dword [ecx]
mov esi, eax
test esi, esi
jl 0x41a3b1
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x320]
push edi
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x328]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov esi, eax
test esi, esi
jl 0x41a3a6
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x14]
push 0x494be4
push edx
call esi
test ebp, ebp
je 0x41a351
lea eax, [esp + 0x14]
push ebp
push eax
call esi
lea ecx, [esp + 0x14]
push 0x494be4
push ecx
call esi
lea edx, [esp + 0x14]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea eax, [esp + 0x14]
push edi
push eax
call esi
lea ecx, [esp + 0x14]
push str..lnk
push ecx
call esi
lea edx, [esp + 0x118]
push 0x104
push edx
lea eax, [esp + 0x1c]
push 0xffffffffffffffff
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x118]
push 1
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov esi, eax
mov eax, dword [esp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
pop edi
mov eax, dword [esp + 0xc]
push eax
mov edx, dword [eax]
call dword [edx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, esi
pop esi
pop ebp
add esp, 0x314
ret
mov eax, dword [esp + 4]
pop ebp
add esp, 0x314
ret

Function at 0x41a3e0
Capabilities:
Delete file

Disassembly:
sub esp, 0x104
push edi
call fcn.0041a220
test eax, eax
je 0x41a46d
mov edi, dword [esp + 0x110]
lea ecx, [esp + 4]
push ecx
push 0
test edi, edi
push 0
je 0x41a408
push 2
jmp 0x41a40a
push 7
push 0
call eax
xor edx, edx
test eax, eax
setge dl
mov eax, edx
test eax, eax
je 0x41a46d
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 8]
push 0x494be4
push eax
call esi
test edi, edi
je 0x41a446
lea ecx, [esp + 8]
push edi
push ecx
call esi
lea edx, [esp + 8]
push 0x494be4
push edx
call esi
mov eax, dword [esp + 0x110]
lea ecx, [esp + 8]
push eax
push ecx
call esi
lea edx, [esp + 8]
push str..lnk
push edx
call esi
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop esi
pop edi
add esp, 0x104
ret
Function at 0x4479d7
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp - 4]
push esi
xor esi, esi
push eax
push 0x20019
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x447a2f
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x104
push eax
push dword [ebp + 8]
push esi
push esi
push 0x49bfc8
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x447a22
push 1
pop esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x447a31
xor eax, eax
pop esi
leave
ret 4
Function at 0x44ab40
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.0042ba80
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x44ac0b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x44ac0b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x44abbe
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x44abc9
or bh, 8
and edi, 0x8000000
je 0x44abe4
mov eax, dword [0x49fefc]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x44ac0b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44afe0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x44b00b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x44b02f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x44b04a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20