joyce8/EMBER2024-capa huggingface dataset:
Function at 0x466bbc
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 0x466d67
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x466d48
mov dl, 1
mov eax, dword [0x417158]
call fcn.00403b1c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404920
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x466d37
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.004548dc
test al, al
je 0x466d2a
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, 0x466d78
lea eax, [ebp - 0x254]
call fcn.00409f98
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x466d2a
xor eax, eax
push ebp
push 0x466d23
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 0x466db0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x466d0c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404b90
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 0x466d0c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404b90
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x466d2a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x466c2d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041b46c
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 0x466d6e
lea eax, [ebp - 0x260]
call fcn.00404920
ret

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

Disassembly:
push ecx
mov eax, dword [0x4dabec]
cmp byte [eax + 0xa5], 0
jne 0x467755
cmp dword [0x4dac04], 0
jne 0x467716
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4676a0
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4dac04], eax
cmp dword [0x4dac00], 0
jne 0x467731
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4dac00], eax
cmp dword [0x4dac08], 0
jne 0x467755
push esp
push 0
push 0
push 0x467644
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4dac08], eax
pop edx
ret
Function at 0x46788c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4678a3
add esp, 0xfffffff0
call fcn.00403e70
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041f890
mov eax, dword [0x4d9284]
cmp word [eax + 2], 0
jne 0x4678cb
mov eax, dword [0x4d9284]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0046900c
mov eax, dword [0x4d934c]
cmp word [eax + 2], 0
jne 0x4678e5
mov eax, dword [0x4d934c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00469204
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x416bb0]
call fcn.00403b1c
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x416bb0]
call fcn.00403b1c
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 [0x421ecc]
call fcn.00429f58
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x467a6c
mov eax, dword [0x4d9180]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042a328
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4697b4
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4d9180]
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.0040d8ac
test eax, eax
je 0x4679da
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409978
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d8d4
test eax, eax
je 0x4679ee
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.00404b90
mov eax, dword [0x4d9014]
cmp byte [eax], 0
jne 0x467a22
mov eax, ebx
call fcn.00467b94
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.00469990
mov eax, ebx
call fcn.0046a354
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x467a62
call fcn.00403ec8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x467e14
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4dabec]
cmp dword [eax + 0x30], 0
je 0x467ebe
cmp dword [ebx + 0x94], 0
jne 0x467eb8
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x467da4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x467eb8
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 0x467e7e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x467eb8
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.00419134
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x467e8d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x468a20
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 0x468a55
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.00404a10
jmp 0x468a62
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404974
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x469b6c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x469bad
mov eax, esi
call fcn.0044fe60
test al, al
je 0x469bad
mov eax, dword [ebx + 0x84]
call fcn.0044fb5c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x469bad
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044fb5c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x479fe4
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 0x47a244
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x47a047
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.00479afc
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040d3e8
cmp al, 1
jne 0x47a047
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.00479dc4
test al, al
je 0x47a1d3
cmp dword [ebp - 8], 0
jge 0x47a065
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.00479afc
mov eax, dword [ebp - 0x210]
call fcn.00404be0
cmp ebx, eax
jge 0x47a0af
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.00479afc
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x4d94e0]
and eax, 0xff
bt dword [edx], eax
jae 0x47a0af
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x47a0c3
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00479fc0
cmp ebx, dword [ebp - 8]
je 0x47a1c5
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 0x47a0ef
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403d48
and eax, 0x7f
movzx eax, word [eax*2 + 0x4d803c]
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 0x47a1b2
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403d48
and eax, 0x7f
movzx eax, word [eax*2 + 0x4d803c]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.0044fb5c
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403d48
and eax, 0x7f
movzx eax, word [eax*2 + 0x4d803c]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.0044fb5c
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47a1b9
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 0x47a226
cmp dword [ebp - 8], 0
jge 0x47a1de
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.00479afc
mov eax, dword [ebp - 0x218]
call fcn.00404be0
cmp eax, dword [ebp - 8]
jg 0x47a218
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.00479afc
mov eax, dword [ebp - 0x21c]
call fcn.00404be0
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00479fc0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47a24b
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00404944
ret
Function at 0x47f46c
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.004239f4
cmp ebx, dword [ebp - 8]
jge 0x47f4cf
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00423df8
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00423df8
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00423e24
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x47f495
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x47f4d8
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.004239f4
cmp ebx, dword [ebp - 8]
jge 0x47f53b
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00423df8
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00423df8
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00423e24
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x47f501
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x4afbe8
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 [0x416120]
call fcn.00405348
xor eax, eax
push ebp
push 0x4afd2c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4d85e8], 0
jne 0x4afc3b
mov ecx, dword [0x4d9028]
mov dl, 1
mov eax, dword [0x407ec4]
call fcn.0040caa0
call fcn.004042d8
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.004032a0
mov eax, ebx
call fcn.004051b0
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x4afd3c
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.00406348
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.004051c0
test eax, eax
jle 0x4afcd3
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 0x4afccc
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404ba8
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404b90
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408d70
test eax, eax
jne 0x4afccc
mov ebx, 0x15
jmp 0x4afcd8
mov ebx, 0x10
jmp 0x4afcd8
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 [0x4d85e8]
call fcn.004afae4
mov eax, dword [ebp - 8]
call fcn.004afae4
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406360
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4afd33
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404944
lea eax, [ebp - 0x10]
mov edx, dword [0x416120]
call fcn.00405418
ret

Function at 0x4b5af0
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 0x4b5b7a
xor edx, edx
push ebp
push 0x4b5b5b
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 0x4b5b7a
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4ba4ac
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4ba4da
mov eax, ebx
call fcn.004baf60
cmp dword [ebx + 0x40], 0
je 0x4ba4d3
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4ba54b
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4ba53d
cmp dword [ebx + 8], 0
je 0x4ba4fc
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 0x4ba50e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4ba53d
cmp dword [ebx + 8], 0
je 0x4ba4ef
cmp eax, 3
je 0x4ba521
dec eax
jne 0x4ba4ef
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 0x4ba4ef
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4ba4ef
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4ba569
cmp dword [ebx + 0x14], 0xcc
je 0x4ba569
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.004ba574
pop ebx
ret

Function at 0x4cab90
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
mov byte [ebp - 1], 0
mov ebx, 0x14
mov dword [ebp - 0x1c], 0x14
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 3
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x3c], 3
mov dword [ebp - 0x34], 2
mov eax, 0x4cac58
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], 3
mov eax, 0x4cac5c
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 1
push 0x4cac58
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4cac4f
xor eax, eax
push ebp
push 0x4cac48
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
lea eax, [ebp - 0x1c]
push eax
push 0x4b
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetSetOptionA
push 0
push 0
push 0x25
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetSetOptionA
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cac4f
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
mov al, byte [ebp - 1]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4d00e8
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x4d0104
cmp dword [esi + 4], 0
je 0x4d0131
test byte [ebx + 0x55], 1
jne 0x4d0123
mov eax, ebx
call fcn.0044c854
test eax, eax
jne 0x4d0123
mov edx, esi
mov eax, ebx
call fcn.004518b0
jmp 0x4d0225
mov edx, esi
mov eax, ebx
call fcn.0044d7d8
jmp 0x4d0225
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0xd4]
mov eax, dword [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x54]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x4d021e
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0044fb5c
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, eax
mov edx, 0x14
mov eax, ebx
call fcn.0044a3dc
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.004d00e8
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x54]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0044fb5c
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d0225
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4d1d60
Capabilities:
Hide graphical window

Disassembly:
push 0
mov eax, dword [0x4d9328]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
ret

Function at 0x4d1d74
Capabilities:
Hide graphical window

Disassembly:
push 9
mov eax, dword [0x4d9328]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x4d9328]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_SetForegroundWindow
mov eax, dword [0x4d9328]
mov eax, dword [eax]
cmp byte [eax + 0x5b], 0
jne 0x4d1dc9
mov eax, dword [0x4d9328]
mov eax, dword [eax]
mov byte [eax + 0x5b], 1
mov eax, dword [0x4d9328]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
test eax, eax
je 0x4d1dc9
mov edx, dword [0x4d9328]
mov dl, 1
call fcn.00462348
ret
Function at 0x41de30
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x492a4b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.00484f07
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x41deb2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0048275d
mov eax, dword [eax]
push 0x4ec250
push eax
call fcn.00474054
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00485192
test bl, bl
je 0x41deb2
push 0x4ec250
lea ecx, [esp + 0xc]
call fcn.0048556e
push 0x4efde8
lea ecx, [esp + 0xc]
call fcn.0048556e
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x41deee
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00485192
jmp 0x41dfb9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x41df72
lea edx, [esp + 0x7c]
push 0x4efde4
push edx
call fcn.00474054
add esp, 8
test eax, eax
je 0x41df72
lea eax, [esp + 0x7c]
push 0x4efde0
push eax
call fcn.00474054
add esp, 8
test eax, eax
je 0x41df72
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x41df02
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.00485192
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x41f230
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x41f292
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc