joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b9420
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
push edi
push ebp
mov esi, ecx
mov edi, edx
mov ebx, eax
mov eax, ebx
call fcn.004b940c
test eax, eax
jne 0x4b9441
mov eax, esi
call fcn.004046f4
jmp 0x4b94d2
mov eax, ebx
call fcn.004b9570
test al, al
je 0x4b9487
push 0
push 0
push 0xe
mov eax, dword [ebx + 0x54]
push eax
call sub.user32.dll_SendMessageA
mov edi, eax
mov eax, esi
mov ecx, edi
xor edx, edx
call fcn.004047e4
test edi, edi
je 0x4b947e
mov eax, dword [esi]
push eax
inc edi
push edi
push 0xd
mov eax, dword [ebx + 0x54]
push eax
call sub.user32.dll_SendMessageA
jmp 0x4b94d2
mov eax, esi
call fcn.004046f4
jmp 0x4b94d2
mov ebp, dword [ebx + 0x78]
test ebp, ebp
je 0x4b94cb
mov eax, dword [ebp + 0x208]
call fcn.0041a298
test eax, eax
jle 0x4b94b9
mov eax, dword [ebx + 0x78]
mov eax, dword [eax + 0x208]
mov edx, edi
call fcn.0046a2bc
mov edx, dword [eax + 0xc]
mov eax, esi
call fcn.00404748
jmp 0x4b94d2
mov eax, esi
mov edx, dword [ebx + 0x78]
mov edx, dword [edx + 0x210]
call fcn.00404748
jmp 0x4b94d2
mov eax, esi
call fcn.004046f4
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4bb1c0
Capabilities:
Capture webcam image

Disassembly:
push ebx
push esi
mov esi, edx
mov ebx, eax
push 1
push esi
mov ecx, 1
xor edx, edx
xor eax, eax
call fcn.00406b4c
push esi
push 0
push 0x419
mov eax, dword [ebx + 0x54]
push eax
call sub.user32.dll_SendMessageA
pop esi
pop ebx
ret
Function at 0x4f99dc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffdc
mov ebp, edx
mov ebx, eax
cmp dword [ebx + 0x6c], 0
jne 0x4f99f4
mov eax, ebx
call fcn.004f9270
cmp dword [ebx + 0x68], 0
jne 0x4f9a01
mov eax, ebx
call fcn.004f91cc
mov esi, dword [ebx + 0x6c]
test esi, esi
je 0x4f9bb1
cmp dword [ebx + 0x68], 0
je 0x4f9bb1
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [esp], eax
mov eax, dword [ebx + 0x6c]
mov edx, dword [eax]
call dword [edx + 0x20]
mov dword [esp + 4], eax
lea edx, [esp + 0x14]
mov eax, ebx
call fcn.004f903c
lea eax, [esp + 0x14]
xor edx, edx
call fcn.004fc854
cmp eax, dword [esp]
je 0x4f9a83
lea eax, [esp + 0x14]
xor edx, edx
call fcn.004fc868
mov edx, dword [esp + 4]
sub edx, eax
sar edx, 1
jns 0x4f9a5f
adc edx, 0
push edx
lea eax, [esp + 0x18]
xor edx, edx
call fcn.004fc854
mov edx, dword [esp + 4]
sub edx, eax
sar edx, 1
jns 0x4f9a78
adc edx, 0
push edx
lea eax, [esp + 0x1c]
push eax
call sub.user32.dll_InflateRect
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x4f9a96
mov eax, dword [eax + 0x18]
call fcn.00449110
mov esi, eax
jmp 0x4f9a99
mov esi, dword [ebx + 0x50]
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
and eax, 8
cmp eax, 8
jne 0x4f9aae
or esi, 0xffffffff
jmp 0x4f9ab8
push 3
push esi
call sub.user32.dll_GetWindow
mov esi, eax
mov edi, 0x610
mov edx, dword [esp + 0x14]
mov eax, dword [ebx + 0x68]
call fcn.00442060
mov edx, dword [esp + 0x18]
mov eax, dword [ebx + 0x68]
call fcn.00442084
mov edx, dword [esp]
mov eax, dword [ebx + 0x68]
call fcn.004420ac
mov edx, dword [esp + 4]
mov eax, dword [ebx + 0x68]
call fcn.004420d0
lea ecx, [esp + 8]
xor edx, edx
xor eax, eax
call fcn.00406b68
mov eax, ebp
mov byte [esp + 0x12], al
mov byte [esp + 0x10], 0
mov byte [esp + 0x11], 0
mov byte [esp + 0x13], 1
or edi, 2
or edi, 1
push edi
push 0
push 0
push 0
push 0
push esi
mov eax, dword [ebx + 0x68]
call fcn.00449110
push eax
call sub.user32.dll_SetWindowPos
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x68]
call fcn.00449110
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
or eax, 0x8000000
or eax, 0x20
push eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x68]
call fcn.00449110
push eax
call sub.user32.dll_SetWindowLongA
push 2
lea eax, [esp + 0x14]
push eax
push 0x1fffffff
lea eax, [esp + 0x14]
push eax
mov eax, dword [ebx + 0x6c]
call fcn.00428a8c
call fcn.004245c0
push eax
lea eax, [esp + 0x14]
push eax
push 0
push esi
mov eax, dword [ebx + 0x68]
call fcn.00449110
push eax
call dword [0x55ee9c]
push 4
mov eax, dword [ebx + 0x68]
call fcn.00449110
push eax
call sub.user32.dll_ShowWindow
push esi
push 0
call sub.user32.dll_ReleaseDC
add esp, 0x24
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4f9e18
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffa4
mov dword [esp], eax
mov eax, dword [esp]
xor ecx, ecx
mov edx, 0x10
call fcn.004032c8
lea eax, [esp + 0x38]
push eax
call sub.kernel32.dll_GetSystemInfo
call sub.user32.dll_GetDesktopWindow
test eax, eax
je 0x4fa004
push 0
push 0x4fa00c
push 0
push eax
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x4fa004
push 0
push 0x4fa01c
push 0
push eax
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x4fa004
push 0
push 0x4fa02c
push 0
push eax
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x4fa004
push 0
push 0x4fa03c
push 0
push eax
call sub.user32.dll_FindWindowExA
mov ebp, eax
test ebp, ebp
je 0x4fa004
push 0
push 0
push 0x418
push ebp
call sub.user32.dll_SendMessageA
mov dword [esp + 4], eax
cmp dword [esp + 4], 1
jl 0x4fa004
xor eax, eax
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
push ebp
call sub.user32.dll_GetWindowThreadProcessId
cmp dword [esp + 8], 0
je 0x4fa004
mov eax, dword [esp + 8]
push eax
push 0
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
mov edi, eax
test edi, edi
je 0x4fa004
push 0x40
push 0x1000
push 0x1000
push 0
push edi
call sub.kernel32.dll_VirtualAllocEx
mov esi, eax
test esi, esi
je 0x4fa004
or ebx, 0xffffffff
cmp ebx, dword [esp + 4]
jge 0x4f9ff0
inc ebx
push esi
push ebx
push 0x417
push ebp
call sub.user32.dll_SendMessageA
test eax, eax
je 0x4f9fe6
lea eax, [esp + 0xc]
push eax
push 0x18
lea eax, [esp + 0x1c]
push eax
push esi
push edi
call sub.kernel32.dll_ReadProcessMemory
test eax, eax
je 0x4f9fe6
test byte [esp + 0x1d], 0xd
jne 0x4f9fe6
mov al, byte [esp + 0x1c]
and al, 8
cmp al, 8
je 0x4f9fe6
lea eax, [esp + 0xc]
push eax
push 4
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x2c]
push eax
push edi
call sub.kernel32.dll_ReadProcessMemory
test eax, eax
je 0x4f9fe6
cmp dword [esp + 0xc], 0
je 0x4f9fe6
mov eax, dword [0x51d9b8]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
cmp eax, dword [esp + 0x10]
jne 0x4f9fe6
push esi
push ebx
push 0x41d
push ebp
call sub.user32.dll_SendMessageA
test eax, eax
je 0x4f9fc2
lea eax, [esp + 0xc]
push eax
push 0x10
mov eax, dword [esp + 8]
push eax
push esi
push edi
call sub.kernel32.dll_ReadProcessMemory
cmp dword [esp + 0xc], 0
je 0x4f9ff0
lea eax, [esp + 0x28]
push eax
push ebp
call sub.user32.dll_GetWindowRect
mov eax, dword [esp]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
call fcn.00406bac
jmp 0x4f9ff0
cmp ebx, dword [esp + 4]
jl 0x4f9f26
push 0x8000
push 0
push esi
push edi
call sub.kernel32.dll_VirtualFreeEx
push edi
call sub.kernel32.dll_CloseHandle
add esp, 0x5c
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4fb6fc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4fb76d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov eax, dword [0x51d5cc]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
cmp dword [ebp - 4], 0
je 0x4fb757
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.004fb6ec
mov eax, dword [ebp - 8]
push eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4fb4c4]
call fcn.004fb794
mov dword [0x51d630], eax
mov eax, dword [ebp - 4]
call fcn.004fb69c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fb774
lea eax, [ebp - 8]
call fcn.0040633c
ret

Function at 0x4fb94c
Capabilities:
Get file system object information

Disassembly:
add esp, 0xfffffea0
mov eax, esp
xor ecx, ecx
mov edx, 0x160
call fcn.004032c8
push 0x4001
push 0x160
lea eax, [esp + 8]
push eax
push 0
push 0x4fb9e4
call sub.shell32.dll_SHGetFileInfoA
mov dword [0x51d5c4], eax
cmp dword [0x51d5c4], 0
je 0x4fb9dc
cmp dword [0x51d5c8], 0
jne 0x4fb9dc
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4855e8]
call fcn.00485e84
mov dword [0x51d5c8], eax
mov edx, dword [0x51d5c4]
mov eax, dword [0x51d5c8]
call fcn.0044fa48
mov eax, dword [0x51d5c8]
mov byte [eax + 0x42], 1
mov dl, 1
mov eax, dword [0x51d5c8]
call fcn.00487548
push 0xffffffffffffffff
mov eax, dword [0x51d5c8]
call fcn.0044fa84
push eax
call sub.comctl32.dll_ImageList_SetBkColor
add esp, 0x160
ret

Function at 0x4fd1d4
Capabilities:
Get file system object information

Disassembly:
push ebx
push esi
add esp, 0xfffffe9c
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [esp], eax
mov eax, ebx
call fcn.004096e0
test al, al
je 0x4fd25b
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 0x160
call fcn.004032c8
or esi, 0x100
test esi, esi
jns 0x4fd20f
call fcn.00403818
push esi
push 0x160
lea eax, [esp + 0xc]
push eax
push 0
mov eax, ebx
call fcn.00404bb4
push eax
call sub.shell32.dll_SHGetFileInfoA
test eax, eax
je 0x4fd25b
mov dl, 1
mov eax, dword [0x42265c]
call fcn.0042a058
mov dword [esp], eax
mov edx, dword [esp + 4]
mov eax, dword [esp]
call fcn.0042a464
mov eax, dword [esp]
mov edx, dword [eax]
call dword [edx + 0x1c]
test al, al
je 0x4fd25b
mov eax, esp
call fcn.0040eb8c
mov eax, dword [esp]
add esp, 0x164
pop esi
pop ebx
ret
Function at 0x515150
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov edi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404ba4
xor eax, eax
push ebp
push 0x5151e6
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
mov eax, dword [ebp - 4]
call fcn.00404bb4
push eax
push 0
call sub.kernel32.dll_FindResourceA
mov ebx, eax
push ebx
push 0
call sub.kernel32.dll_LoadResource
mov esi, eax
push ebx
push 0
call sub.kernel32.dll_SizeofResource
mov ebx, eax
push esi
call sub.kernel32.dll_LockResource
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
mov ecx, ebx
mov edx, dword [ebp - 8]
call fcn.004047e4
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00404748
push esi
call sub.kernel32.dll_FreeResource
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5151ed
lea eax, [ebp - 0xc]
call fcn.004046f4
lea eax, [ebp - 4]
call fcn.004046f4
ret

Function at 0x515204
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, eax
mov dword [ebp - 8], 0x10
mov eax, dword [ebp - 8]
call fcn.00402a54
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x51525e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x515248
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.004048ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x515265
mov eax, dword [ebp - 4]
call fcn.00402a84
ret

Function at 0x51526c
Capabilities:
Shutdown system

Disassembly:
push ebx
add esp, 0xffffffd8
mov ebx, eax
mov eax, dword [0x51db60]
cmp dword [eax], 2
jne 0x5152e6
push esp
push 0x28
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
cmp eax, 1
sbb eax, eax
inc eax
test al, al
je 0x5152e6
lea eax, [esp + 0xc]
push eax
push 0x5152fc
push 0
call sub.advapi32.dll_LookupPrivilegeValueA
cmp eax, 1
sbb eax, eax
inc eax
mov dword [esp + 8], 1
mov dword [esp + 0x14], 2
mov edx, 0x10
xor ecx, ecx
mov dword [esp + 4], ecx
test al, al
je 0x5152e6
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x1c]
push eax
push edx
lea eax, [esp + 0x14]
push eax
push 0
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
push 0
push ebx
call sub.user32.dll_ExitWindowsEx
cmp eax, 1
sbb eax, eax
inc eax
add esp, 0x28
pop ebx
ret
Function at 0x515310
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404ba4
xor eax, eax
push ebp
push 0x515491
push dword fs:[eax]
mov dword fs:[eax], esp
xor edi, edi
xor edx, edx
mov eax, 2
call fcn.0046697c
mov esi, eax
mov dword [ebp - 0x12c], 0x128
lea edx, [ebp - 0x12c]
mov eax, esi
call fcn.0046699c
mov ebx, eax
jmp 0x51545d
lea eax, [ebp - 0x138]
lea edx, [ebp - 0x108]
mov ecx, 0x104
call fcn.00404964
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.004098e4
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.00408bd4
mov eax, dword [ebp - 0x130]
push eax
lea edx, [ebp - 0x13c]
mov eax, dword [ebp - 4]
call fcn.00408bd4
mov edx, dword [ebp - 0x13c]
pop eax
call fcn.00404b00
je 0x515434
lea eax, [ebp - 0x144]
lea edx, [ebp - 0x108]
mov ecx, 0x104
call fcn.00404964
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x140]
call fcn.00408bd4
mov eax, dword [ebp - 0x140]
push eax
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 4]
call fcn.00408bd4
mov edx, dword [ebp - 0x148]
pop eax
call fcn.00404b00
jne 0x51544e
push 0
mov eax, dword [ebp - 0x124]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov edi, eax
lea edx, [ebp - 0x12c]
mov eax, esi
call fcn.004669bc
mov ebx, eax
test ebx, ebx
jne 0x51538f
push esi
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x515498
lea eax, [ebp - 0x148]
mov edx, 7
call fcn.00404718
lea eax, [ebp - 4]
call fcn.004046f4
ret

Function at 0x515924
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebx
push esi
add esp, 0xfffffdf8
push 0
push 0
push 3
push 0
push 3
push 0x10000000
push 0x5159a8
call sub.kernel32.dll_CreateFileA
mov ebx, eax
push 0
push 0
push 2
push 0
push 3
push 0x10000000
push 0x5159bc
call sub.kernel32.dll_CreateFileA
mov esi, eax
push 0
lea eax, [esp + 4]
push eax
push 0x200
lea eax, [esp + 0x14]
push eax
push ebx
call sub.kernel32.dll_ReadFile
push 0
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 8]
push eax
lea eax, [esp + 0x14]
push eax
push esi
call sub.kernel32.dll_WriteFile_1
push ebx
call sub.kernel32.dll_CloseHandle
push esi
call sub.kernel32.dll_CloseHandle
add esp, 0x208
pop esi
pop ebx
ret
Function at 0x5159c8
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebx
push esi
add esp, 0xfffffdf8
push 0
push 0
push 3
push 0
push 3
push 0x10000000
push 0x515a4c
call sub.kernel32.dll_CreateFileA
mov ebx, eax
push 0
push 0
push 3
push 0
push 3
push 0x10000000
push 0x515a60
call sub.kernel32.dll_CreateFileA
mov esi, eax
push 0
lea eax, [esp + 4]
push eax
push 0x200
lea eax, [esp + 0x14]
push eax
push esi
call sub.kernel32.dll_ReadFile
push 0
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 8]
push eax
lea eax, [esp + 0x14]
push eax
push ebx
call sub.kernel32.dll_WriteFile_1
push ebx
call sub.kernel32.dll_CloseHandle
push esi
call sub.kernel32.dll_CloseHandle
add esp, 0x208
pop esi
pop ebx
ret

Function at 0x515a6c
Capabilities:
Write file on windows

Disassembly:
push ebx
add esp, 0xfffffdfc
push 0
push 0
push 3
push 0
push 3
push 0x10000000
push 0x515ac4
call sub.kernel32.dll_CreateFileA
mov ebx, eax
lea eax, [esp + 4]
mov edx, 0x200
call fcn.004078b0
push 0
lea eax, [esp + 4]
push eax
push 0x200
lea eax, [esp + 0x10]
push eax
push ebx
call sub.kernel32.dll_WriteFile_1
push ebx
call sub.kernel32.dll_CloseHandle
add esp, 0x204
pop ebx
ret
Function at 0x516cc0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
mov ebx, 0x55f0dc
xor eax, eax
push ebp
push 0x516df9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx]
mov eax, dword [eax + 0x354]
mov eax, dword [eax + 0x220]
mov edx, 0x516e10
mov ecx, dword [eax]
call dword [ecx + 0x74]
mov eax, dword [ebx]
mov eax, dword [eax + 0x338]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov eax, dword [ebx]
mov eax, dword [eax + 0x33c]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov eax, dword [ebx]
mov eax, dword [eax + 0x348]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov eax, dword [ebx]
mov eax, dword [eax + 0x34c]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov eax, dword [ebx]
mov eax, dword [eax + 0x3b4]
xor edx, edx
call fcn.0043a934
mov eax, dword [ebx]
mov eax, dword [eax + 0x3b8]
xor edx, edx
call fcn.0043a934
call fcn.00515a6c
push 0
push 0x516e30
push 0x516e50
lea edx, [ebp - 0xc]
mov eax, dword [0x51d9b8]
mov eax, dword [eax]
call fcn.00463140
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.004098e4
push dword [ebp - 8]
push 0x516e7c
lea eax, [ebp - 4]
mov edx, 3
call fcn.00404a74
mov eax, dword [ebp - 4]
call fcn.00404bb4
push eax
push 0x516e9c
push 0x516ea4
push 0
call sub.shell32.dll_ShellExecuteA
mov eax, dword [ebx]
mov eax, dword [eax + 0x3c8]
mov dl, 1
call fcn.0043a934
mov eax, dword [ebx]
mov eax, dword [eax + 0x3c4]
mov edx, 0x1770
call fcn.0043a944
mov eax, dword [ebx]
mov eax, dword [eax + 0x3c4]
xor edx, edx
mov dword [eax + 0xc], edx
mov dl, 1
call fcn.0043a934
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x516e00
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404718
ret
Function at 0x401120
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5651f1
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0xfca838]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
mov dword [eax], vtable.CAmkProgDlg.0
mov dword [ebp - 4], 2
mov ecx, dword [0xfcc838]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edx, dword [0xfcc838]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x14]
add ecx, 0xe4
call fcn.0050a955
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
add ecx, 0xd0
call fcn.004279e0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x7c
call fcn.0050a7d6
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
call fcn.00509d87
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4018d0
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5652e8
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0xfca838]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x64], ecx
mov eax, dword [ebp + 8]
mov dword [0xfcc850], eax
cmp dword [0xfcc840], 0
je 0x401931
cmp dword [0xfcca60], 0
je 0x401931
cmp dword [0xfcc850], 0
je 0x401927
push 8
mov ecx, dword [ebp - 0x64]
call fcn.00510b6d
jmp 0x401931
push 0
mov ecx, dword [ebp - 0x64]
call fcn.00510b6d
cmp dword [0xfcc850], 0
je 0x401a34
mov ecx, dword [0xfcc838]
push ecx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
call fcn.0042de10
mov ecx, dword [ebp - 0x64]
mov dword [ecx + 0xdc], eax
mov dword [ecx + 0xe0], edx
mov edx, dword [ebp - 0x64]
add edx, 0xd4
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [ebp - 0x64]
add eax, 0xd0
push eax
mov ecx, dword [0xfcc4c4]
add ecx, 0x7c
call fcn.0050e554
lea ecx, [ebp - 0x18]
call fcn.00402510
mov dword [ebp - 4], 0
push 2
push 0x50
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x1c]
push edx
push 0x57efb4
call fcn.0041d450
add esp, 0x14
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x20]
push edx
call fcn.0041c4c0
add esp, 0xc
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x18]
call fcn.00402570
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.004279e0
lea ecx, [ebp - 0x10]
call fcn.00402510
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x18]
push edx
push 0x57f038
lea eax, [ebp - 0x10]
push eax
call fcn.00402b00
add esp, 0xc
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x64]
add ecx, 0x7c
call fcn.00510acb
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004279e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004279e0
jmp 0x401a95
mov edx, dword [ebp - 0x64]
mov eax, dword [edx + 0xd0]
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
push ecx
mov ecx, dword [ebp - 0x64]
add ecx, 0x7c
call fcn.00510acb
mov edx, dword [ebp - 0x64]
mov eax, dword [edx + 0xd8]
push eax
mov ecx, dword [ebp - 0x64]
mov edx, dword [ecx + 0xd4]
push edx
call dword [sym.imp.USER32.dll_SetCursorPos]
call fcn.0042de10
mov ecx, dword [ebp - 0x64]
sub eax, dword [ecx + 0xdc]
sbb edx, dword [ecx + 0xe0]
mov dword [0xfccb48], eax
mov dword [0xfccb4c], edx
mov edx, dword [0xfcc838]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x401e20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [0xfcc4c4], 0
push 0
push 0
push 0
push 0x401e70
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], eax
cmp dword [0xfcc4c4], 0
jne 0x401e62
push 0xfcc81c
push 0x32
push 0xa
call fcn.00405730
add esp, 0xc
jmp 0x401e46
mov esp, ebp
pop ebp
ret
Function at 0x403250
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
lea eax, [ebp - 4]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4032bc
lea ecx, [ebp - 0x1c]
push ecx
push 0x57f70c
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov dword [ebp - 0x14], 1
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 2
push 0
push 0
push 0x10
lea ecx, [ebp - 0x14]
push ecx
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x4032bc
xor eax, eax
jmp 0x4032d4
push 0x80020003
mov eax, dword [ebp + 8]
or eax, 0x10
push eax
call dword [sym.imp.USER32.dll_ExitWindowsEx]
neg eax
sbb eax, eax
neg eax
mov esp, ebp
pop ebp
ret

Function at 0x4046f0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x565668
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0xfca838]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x10]
call fcn.00402510
mov dword [ebp - 4], 0
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4047c0
mov eax, dword [0xfcc8b0]
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4047ba
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
movsx eax, byte [edx]
test eax, eax
je 0x4047b0
xor ecx, ecx
mov word [ebp - 0x20], cx
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x18]
push eax
call fcn.00404330
add esp, 8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jle 0x40478e
movzx ecx, word [ebp - 0x20]
test ecx, ecx
jne 0x404790
jmp 0x4047b0
mov dx, word [ebp - 0x20]
mov word [ebp - 0x4e], dx
movzx eax, word [ebp - 0x4e]
push eax
lea ecx, [ebp - 0x10]
call fcn.00427a80
mov ecx, dword [ebp - 0x18]
add ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], ecx
jmp 0x40475d
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [ebp - 0x10]
sub eax, 0x10
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
push ecx
call fcn.004028d0
add esp, 4
mov dword [ebp - 0x58], eax
mov edx, dword [ebp - 0x58]
add edx, 0x10
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov ecx, dword [ebp - 0x24]
or ecx, 1
mov dword [ebp - 0x24], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004279e0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret