joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48c738
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x48c754
cmp dword [esi + 4], 0
je 0x48c781
test byte [ebx + 0x55], 1
jne 0x48c773
mov eax, ebx
call fcn.0048b2d8
test eax, eax
jne 0x48c773
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x48c891
mov edx, esi
mov eax, ebx
call fcn.0048c25c
jmp 0x48c891
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
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 eax, eax
push ebp
push 0x48c88a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0048e62c
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.00488f74
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0048c738
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0048e62c
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48c891
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 0x49304c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x57f518]
cmp byte [eax + 0xc], 0
je 0x4931b9
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4931b2
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x581430], 0
jne 0x4930a0
push 0x4931c0
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x4931c8
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x581430], eax
cmp dword [0x5746c0], 0
jne 0x49319b
push 0x4931d8
call sub.kernel32.dll_LoadLibraryA
mov dword [0x5746c0], eax
cmp dword [0x5746c0], 0
je 0x49319b
push 0x4931e4
mov eax, dword [0x5746c0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x581434], eax
push 0x4931f4
mov eax, dword [0x5746c0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x581438], eax
push 0x493208
mov eax, dword [0x5746c0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x58143c], eax
push 0x493220
mov eax, dword [0x5746c0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x581440], eax
push 0x493238
mov eax, dword [0x5746c0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x581444], eax
push 0x49324c
mov eax, dword [0x5746c0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x581448], eax
push 0x493264
mov eax, dword [0x5746c0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x58144c], eax
push 0x49327c
mov eax, dword [0x5746c0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x581450], eax
push 0x493298
mov eax, dword [0x5746c0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x581454], eax
push 0x4932a4
mov eax, dword [0x5746c0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x581458], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4931b9
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret
Function at 0x4956e0
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 0x495940
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x495743
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.004951a8
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040eaac
cmp al, 1
jne 0x495743
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.004954c0
test al, al
je 0x4958cf
cmp dword [ebp - 8], 0
jge 0x495761
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.004951a8
mov eax, dword [ebp - 0x210]
call fcn.00404e90
cmp ebx, eax
jge 0x4957ab
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.004951a8
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x57f4e8]
and eax, 0xff
bt dword [edx], eax
jae 0x4957ab
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x4957bf
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004956bc
cmp ebx, dword [ebp - 8]
je 0x4958c1
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 0x4957eb
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403e9c
and eax, 0x7f
movzx eax, word [eax*2 + 0x5746d8]
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 0x4958ae
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403e9c
and eax, 0x7f
movzx eax, word [eax*2 + 0x5746d8]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.0048e62c
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403e9c
and eax, 0x7f
movzx eax, word [eax*2 + 0x5746d8]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.0048e62c
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4958b5
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 0x495922
cmp dword [ebp - 8], 0
jge 0x4958da
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.004951a8
mov eax, dword [ebp - 0x218]
call fcn.00404e90
cmp eax, dword [ebp - 8]
jg 0x495914
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.004951a8
mov eax, dword [ebp - 0x21c]
call fcn.00404e90
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004956bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x495947
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00404bd8
ret
Function at 0x4a51b8
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 [0x41be14]
call fcn.004057e0
xor eax, eax
push ebp
push 0x4a52fc
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x574780], 0
jne 0x4a520b
mov ecx, dword [0x57ec3c]
mov dl, 1
mov eax, dword [0x4088b4]
call fcn.0040e164
call fcn.00404530
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00403310
mov eax, ebx
call fcn.004054a4
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x4a530c
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.00406ba0
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.004054b4
test eax, eax
jle 0x4a52a3
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 0x4a529c
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404e58
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404e24
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00409784
test eax, eax
jne 0x4a529c
mov ebx, 0x15
jmp 0x4a52a8
mov ebx, 0x10
jmp 0x4a52a8
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 [0x574780]
call fcn.004a510c
mov eax, dword [ebp - 8]
call fcn.004a510c
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406bb8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a5303
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404bd8
lea eax, [ebp - 0x10]
mov edx, dword [0x41be14]
call fcn.004058b0
ret

Function at 0x4d3ae3
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 0x57d88e
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4d3b3b
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 0x57d8af
push dword [ebp - 4]
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x4d3b31
mov bx, 0x2a04
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey_1
jmp 0x4d3b3f
mov bx, 0x2a04
mov eax, ebx
pop ebx
pop ecx
pop ecx
pop ebp
ret 8

Function at 0x4e2f2c
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 0x4e2f51
cmp dword [esp + 4], 5
jb 0x4e2f51
mov al, 1
jmp 0x4e2f53
xor eax, eax
add esp, 0x94
ret
Function at 0x4f630c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4f633a
mov eax, ebx
call fcn.004f6dc0
cmp dword [ebx + 0x40], 0
je 0x4f6333
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4f63ab
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4f639d
cmp dword [ebx + 8], 0
je 0x4f635c
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 0x4f636e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4f639d
cmp dword [ebx + 8], 0
je 0x4f634f
cmp eax, 3
je 0x4f6381
dec eax
jne 0x4f634f
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 0x4f634f
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4f634f
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4f63c9
cmp dword [ebx + 0x14], 0xcc
je 0x4f63c9
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.004f63d4
pop ebx
ret

Function at 0x542288
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x5423a7
push dword fs:[eax]
mov dword fs:[eax], esp
test esi, esi
je 0x54236b
lea eax, [ebp - 0x40]
xor ecx, ecx
mov edx, 0x3c
call fcn.00403310
mov dword [ebp - 0x40], 0x3c
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x10], 1
mov eax, esi
call fcn.00405090
mov dword [ebp - 4], eax
lea eax, [ebp - 0x40]
push eax
push 0
push 0
mov eax, dword [ebp - 4]
push eax
call sub.wininet.dll_InternetCrackUrlA
mov eax, dword [ebp - 0x34]
add eax, 0xfffffffd
sub eax, 2
jb 0x542331
mov dword [ebp - 0x48], esi
mov byte [ebp - 0x44], 0xb
lea eax, [ebp - 0x48]
push eax
push 0
lea edx, [ebp - 0x4c]
mov eax, 0x541aac
call fcn.00407080
mov ecx, dword [ebp - 0x4c]
mov dl, 1
mov eax, dword [0x4088b4]
call fcn.0040e0e4
call fcn.00404530
mov eax, dword [ebp - 0x34]
mov dword [ebx + 0x38], eax
mov ax, word [ebp - 0x28]
mov word [ebx + 0x44], ax
lea eax, [ebx + 0x40]
push eax
mov edx, dword [ebp - 0x30]
sub edx, dword [ebp - 4]
inc edx
mov ecx, dword [ebp - 0x2c]
mov eax, esi
call fcn.004050f0
lea eax, [ebx + 0x3c]
push eax
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 4]
inc edx
mov ecx, dword [ebp - 0x10]
mov eax, esi
call fcn.004050f0
jmp 0x54238c
lea edx, [ebp - 0x50]
mov eax, 0x541aac
call fcn.00407080
mov ecx, dword [ebp - 0x50]
mov dl, 1
mov eax, dword [0x4088b4]
call fcn.0040e0a8
call fcn.00404530
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5423ae
lea eax, [ebp - 0x50]
mov edx, 2
call fcn.00404bd8
ret
Function at 0x54799c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
test dl, dl
je 0x5479b0
add esp, 0xfffffff0
call fcn.00404004
mov dword [ebp - 8], ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov eax, dword [ebp - 8]
call fcn.00406c14
xor eax, eax
push ebp
push 0x547a51
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 8]
xor edx, edx
mov eax, ebx
call fcn.0054a31c
lea eax, [ebx + 0x24]
call fcn.00406ba0
mov dword [ebx + 0x28], 0xffffffff
mov dl, 1
mov eax, dword [0x522fc0]
call fcn.00403c70
mov esi, eax
mov dword [ebx + 0x2c], esi
lea eax, [esi + 4]
call fcn.00404bb4
mov eax, dword [ebx + 0x2c]
add eax, 8
call fcn.00404bb4
mov eax, dword [ebx + 0x2c]
add eax, 0xc
call fcn.00404bb4
mov eax, dword [ebx + 0x2c]
mov byte [eax + 0x10], 0
mov byte [eax + 0x11], 1
mov byte [eax + 0x12], 1
xor eax, eax
mov dword [ebx + 0x30], eax
mov dl, 1
mov eax, dword [0x41ceb8]
call fcn.00403c70
mov dword [ebx + 0x34], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x547a58
lea eax, [ebp - 8]
call fcn.00406ba0
ret

Function at 0x54a54c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x54a55e
add esp, 0xfffffff0
call fcn.00404004
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00406c14
xor eax, eax
push ebp
push 0x54a607
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0054a31c
mov dl, 1
mov eax, dword [0x522fc0]
call fcn.00403c70
mov dword [esi + 0x20], eax
mov dl, 1
mov eax, dword [0x522fc0]
call fcn.00403c70
mov dword [esi + 0x24], eax
mov eax, dword [esi + 0x20]
add eax, 4
call fcn.00404bb4
mov eax, dword [esi + 0x20]
add eax, 8
call fcn.00404bb4
mov eax, dword [esi + 0x20]
add eax, 0xc
call fcn.00404bb4
mov eax, dword [esi + 0x20]
mov byte [eax + 0x10], 0
mov byte [eax + 0x11], 1
mov byte [eax + 0x12], 1
mov edx, eax
mov eax, dword [esi + 0x24]
mov ecx, dword [eax]
call dword [ecx]
mov dl, 1
mov eax, dword [0x41c688]
call fcn.00403c70
mov dword [esi + 0x28], eax
mov byte [esi + 0x30], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54a60e
lea eax, [ebp - 4]
call fcn.00406ba0
ret
Function at 0x550668
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x550743
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x550695
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
mov dword [ebx + 0x38], eax
lea edx, [ebp - 4]
mov eax, ebx
call fcn.00409bb4
mov eax, dword [ebp - 4]
call fcn.00405090
push eax
push 0
push 0xffffffffffffffff
push 0
call sub.kernel32.dll_CreateEventA
mov dword [ebx + 0x38], eax
lea edx, [ebp - 0xc]
mov eax, dword [ebx + 0x2c]
call fcn.0054fee4
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.0054ef38
mov edx, dword [ebp - 8]
lea eax, [ebx + 0xc]
call fcn.00406bb8
mov eax, dword [ebx + 8]
push eax
mov al, byte [ebx + 0x15]
push eax
push dword [ebx + 0x24]
mov eax, dword [ebx + 0x18]
push eax
mov eax, dword [ebx + 0x1c]
push eax
lea eax, [ebx + 0x20]
push eax
mov al, byte [ebx + 0x50]
push eax
mov eax, dword [ebx + 0x3c]
push eax
mov eax, dword [ebx + 0x40]
push eax
lea edx, [ebx + 0x10]
mov ecx, dword [ebx + 0x28]
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 0x4c]
mov eax, dword [ebx + 0x34]
mov edx, dword [eax]
call dword [edx + 0x30]
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax + 0x90]
mov byte [eax + 0x18], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55074a
lea eax, [ebp - 0xc]
call fcn.00406ba0
lea eax, [ebp - 8]
call fcn.00406ba0
lea eax, [ebp - 4]
call fcn.00404bb4
ret

Function at 0x563810
Capabilities:
Shutdown system

Disassembly:
push ebx
push esi
add esp, 0xffffffd8
mov esi, edx
xor ebx, ebx
lea eax, [esp + 4]
push eax
push 0x28
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
jne 0x563832
or ebx, 4
lea eax, [esp + 0xc]
push eax
push 0x563890
push 0
call sub.advapi32.dll_LookupPrivilegeValueA
test eax, eax
jne 0x56384a
or ebx, 8
mov dword [esp + 0x14], 2
mov dword [esp + 8], 1
push esp
lea eax, [esp + 0x1c]
push eax
push 0x10
lea eax, [esp + 0x14]
push eax
push 0
mov eax, dword [esp + 0x18]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
test eax, eax
jne 0x56387a
or ebx, 0x10
push 0
push esi
call sub.user32.dll_ExitWindowsEx
test ebx, ebx
sete al
add esp, 0x28
pop esi
pop ebx
ret
Function at 0x401760
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push esi
push 0
push 0
push eax
call fcn.00406ac4
mov esi, dword [ebp + 0x10]
add esp, 0xc
cmp dword [ebp + 0xc], 0
mov dword [ebp - 4], 0
jbe 0x4017cd
mov ecx, dword [ebp + 0x14]
lea edx, [esi + ecx]
push ebx
mov dword [ebp + 0x10], edx
push edi
cmp esi, dword [ebp + 0x10]
jae 0x4017cb
mov ebx, dword [esi]
mov eax, dword [ebp + 8]
mov edi, dword [esi + 4]
push 1
push ebx
push eax
add esi, 8
call fcn.00406ac4
mov ecx, dword [ebp + 8]
push ecx
push edi
push 1
push esi
call fcn.00406731
mov eax, dword [ebp - 4]
lea edx, [edi + ebx]
add eax, edx
add esp, 0x1c
add esi, edi
mov dword [ebp - 4], eax
cmp eax, dword [ebp + 0xc]
jb 0x401790
pop edi
pop ebx
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4018e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 8]
test esi, esi
jne 0x4018f6
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret
push 0
push 0x3c
push esi
call fcn.00406ac4
push esi
push 4
lea eax, [ebp + 8]
push 1
push eax
mov dword [ebp + 8], 0
call fcn.00406a1d
mov ecx, dword [ebp + 8]
push 0
add ecx, 0x18
push ecx
push esi
call fcn.00406ac4
push esi
push 2
lea edx, [ebp - 4]
push 1
push edx
mov dword [ebp - 4], 0
call fcn.00406a1d
mov ecx, 0x20b
add esp, 0x38
mov eax, 0x80
cmp cx, word [ebp - 4]
jne 0x401951
mov eax, 0x90
push 1
add eax, 2
push eax
push esi
call fcn.00406ac4
push esi
push 4
lea edx, [ebp - 8]
push 1
push edx
mov dword [ebp - 8], 0
call fcn.00406a1d
mov eax, dword [ebp - 8]
add esp, 0x1c
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4022f0
Capabilities:
Hash data with md5

Disassembly:
mov eax, ecx
xor ecx, ecx
mov byte [eax + 0x68], cl
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x4063d2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41bee4]
jne 0x4063dc
repz ret
jmp fcn.00409df2
Function at 0x412217
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41bee4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040d4b3
and dword [ebp - 0x14], 0
cmp dword [0x41e768], 0
mov dword [ebp - 0x18], eax
jne 0x4122ca
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x412372
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x418a2c
push ebx
call edi
test eax, eax
je 0x412372
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x41e768], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x41e76c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x41e770], eax
call edi
push eax
call esi
mov dword [0x41e778], eax
test eax, eax
je 0x4122ca
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x41e774], eax
mov eax, dword [0x41e774]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x412323
cmp dword [0x41e778], ecx
je 0x412323
push eax
call esi
push dword [0x41e778]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x412323
test ebx, ebx
je 0x412323
call edi
test eax, eax
je 0x41231a
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41231a
test byte [ebp - 8], 1
jne 0x412323
or dword [ebp + 0x10], 0x200000
jmp 0x412356
mov eax, dword [0x41e76c]
cmp eax, dword [ebp - 0x18]
je 0x412356
push eax
call esi
test eax, eax
je 0x412356
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x412356
mov eax, dword [0x41e770]
cmp eax, dword [ebp - 0x18]
je 0x412356
push eax
call esi
test eax, eax
je 0x412356
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x41e768]
call esi
test eax, eax
je 0x412372
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x412374
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004063d2
leave
ret