joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4bc038
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x4bc092
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.004bc028
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.004ab6b4
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.004ab2b4
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bc099
lea eax, [ebp - 4]
call fcn.0040485c
ret

Function at 0x4bfa1c
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x4bfabf
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.004bf740
test al, al
jne 0x4bfa48
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4bfac9
xor eax, eax
mov dword [ebx + 0xc0], eax
xor eax, eax
mov dword [ebx + 0xc4], eax
lea eax, [ebx + 0x78]
mov ebx, eax
mov eax, ebx
call fcn.0040485c
lea eax, [ebx + 4]
call fcn.0040485c
xor eax, eax
mov dword [ebx + 8], eax
xor eax, eax
mov dword [ebx + 0xc], eax
xor eax, eax
mov dword [ebx + 0x10], eax
xor eax, eax
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], eax
xor eax, eax
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], eax
xor eax, eax
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], eax
xor eax, eax
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x34], eax
lea eax, [ebx + 0x3c]
call fcn.0040485c
xor eax, eax
mov dword [ebx + 0x14], eax
lea eax, [ebx + 0x38]
call fcn.0040485c
xor eax, eax
mov dword [ebx + 0x40], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4bfac9
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4c23cc
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 0x4c243d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov eax, dword [0x4f8688]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
cmp dword [ebp - 4], 0
je 0x4c2427
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.004c23bc
mov eax, dword [ebp - 8]
push eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4c0ba0]
call fcn.004c328c
mov dword [0x4f86f0], eax
mov eax, dword [ebp - 4]
call fcn.004c2248
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c2444
lea eax, [ebp - 8]
call fcn.004064f4
ret

Function at 0x4c24dc
Capabilities:
Get file system object information

Disassembly:
push esi
add esp, 0xfffffea0
mov esi, 0x4008
test cl, cl
je 0x4c24ef
or esi, 2
test dl, dl
je 0x4c24f8
or esi, 0
jmp 0x4c24fb
or esi, 1
push esi
push 0x160
lea edx, [esp + 8]
push edx
push 0
push eax
call sub.shell32.dll_SHGetFileInfoA
mov eax, dword [esp + 4]
add esp, 0x160
pop esi
ret
Function at 0x4c3118
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.00404d0c
xor eax, eax
push ebp
push 0x4c3270
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, 1
mov edx, dword [ebx]
mov eax, dword [0x4c0988]
call fcn.004177ac
test eax, eax
jl 0x4c317f
lea eax, [ebp - 8]
push eax
mov eax, dword [ebx]
call fcn.004c24c0
and eax, 0x7f
mov eax, dword [eax*4 + 0x4f8688]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
mov esi, eax
jmp 0x4c31e2
mov eax, dword [ebx]
call fcn.00404b1c
test eax, eax
jle 0x4c31e2
mov eax, dword [ebx]
call fcn.00404b1c
mov edx, dword [ebx]
cmp byte [edx + eax - 1], 0x3a
jne 0x4c31a6
mov eax, ebx
mov edx, 0x4c3288
call fcn.00404b24
mov eax, dword [ebx]
call fcn.00404b1c
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebx]
call fcn.004058bc
mov esi, eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push 0
push 0
lea eax, [ebp - 0x18]
call fcn.004c23bc
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov esi, eax
test esi, esi
je 0x4c322d
lea eax, [ebp - 0x14]
push eax
lea edx, [ebp - 0x1c]
mov eax, dword [0x4f9130]
call fcn.004069d4
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebx]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x24]
xor ecx, ecx
pop eax
call fcn.0040a42c
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.004048b0
mov ecx, dword [ebp - 0x14]
mov dl, 1
mov eax, dword [0x4080dc]
call fcn.0040cf38
call fcn.00404214
mov eax, dword [ebp - 8]
call fcn.004c3090
mov ebx, eax
test edi, edi
je 0x4c3242
mov eax, edi
call fcn.00403984
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c3277
lea eax, [ebp - 0x1c]
call fcn.0040485c
lea eax, [ebp - 0x18]
call fcn.004064f4
lea eax, [ebp - 0x14]
call fcn.0040485c
lea eax, [ebp - 4]
call fcn.0040485c
ret

Function at 0x4c3e54
Capabilities:
Create process on windows

Disassembly:
push ebx
add esp, 0xffffffc4
mov ebx, eax
mov eax, esp
xor ecx, ecx
mov edx, 0x3c
call fcn.004031d8
mov dword [esp], 0x3c
mov eax, dword [0x4f9720]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
mov dword [esp + 8], eax
mov dword [esp + 4], 0xc
mov eax, dword [ebx + 8]
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], 5
push esp
call sub.shell32.dll_ShellExecuteExA
add esp, 0x3c
pop ebx
ret
Function at 0x4c4970
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4c4ada
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4f9a58]
mov eax, dword [eax]
mov ax, word [eax + 0x44]
mov word [ebp - 0x16], ax
mov eax, dword [0x4f9a58]
mov eax, dword [eax]
mov dx, 0xfff5
call fcn.00482cd4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x26c]
call fcn.00444a2c
xor edx, edx
push ebp
push 0x4c4abd
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x4c4a2d
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x10]
call fcn.004064f4
push eax
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x344]
call fcn.004c2ad8
push eax
mov eax, dword [0x4f9720]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x10]
test eax, eax
je 0x4c4a23
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.004042c0
jmp 0x4c4ac4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c4a69
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x26c]
xor ecx, ecx
mov edx, dword [ebp - 8]
call fcn.0044460c
mov edx, dword [ebp - 8]
push edx
mov ecx, dword [ebp - 0xc]
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.004c4800
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
push 1
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
test eax, eax
je 0x4c4a45
push 0
mov edx, 0x4c4798
xor ecx, ecx
mov eax, dword [ebp - 8]
call fcn.004441c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c4ac4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x26c]
call fcn.00444a78
mov eax, dword [0x4f9a58]
mov eax, dword [eax]
mov dx, word [ebp - 0x16]
call fcn.00482cd4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c4ae1
lea eax, [ebp - 0x10]
call fcn.004064f4
ret

Function at 0x4cc698
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4cc758
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4cc730
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov edx, 0x80
call fcn.00404ea8
push 0x80
mov eax, dword [ebp - 8]
call fcn.00404d1c
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov eax, dword [ebp - 8]
call fcn.00404d1c
call fcn.00409d50
mov edx, eax
lea eax, [ebp - 8]
call fcn.00404ea8
mov eax, dword [ebp - 8]
call fcn.00404b1c
mov edx, dword [ebp - 8]
cmp byte [edx + eax - 1], 0x5c
je 0x4cc71b
lea eax, [ebp - 8]
mov edx, 0x4cc770
call fcn.00404b24
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.004048b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4cc742
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cc75f
lea eax, [ebp - 8]
call fcn.0040485c
ret
Function at 0x4cc774
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4cc834
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4cc80c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov edx, 0x80
call fcn.00404ea8
push 0x80
mov eax, dword [ebp - 8]
call fcn.00404d1c
push eax
call sub.kernel32.dll_GetSystemDirectoryA
mov eax, dword [ebp - 8]
call fcn.00404d1c
call fcn.00409d50
mov edx, eax
lea eax, [ebp - 8]
call fcn.00404ea8
mov eax, dword [ebp - 8]
call fcn.00404b1c
mov edx, dword [ebp - 8]
cmp byte [edx + eax - 1], 0x5c
je 0x4cc7f7
lea eax, [ebp - 8]
mov edx, 0x4cc84c
call fcn.00404b24
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.004048b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4cc81e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cc83b
lea eax, [ebp - 8]
call fcn.0040485c
ret

Function at 0x4ccc28
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
push esi
push edi
mov ebx, edx
xor edx, edx
push ebp
push 0x4ccc7c
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 4]
push edx
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [ebp - 0x109]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
mov eax, ebx
lea edx, [ebp - 0x109]
mov ecx, 0x105
call fcn.00404acc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ccc86
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4cd2a0
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe28
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4cd36f
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x4cd347
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 8]
call fcn.0040485c
lea eax, [ebp - 0x1d8]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
push 0x40
lea eax, [ebp - 0x48]
push eax
call sub.wsock32.dll_gethostname
lea eax, [ebp - 0x48]
push eax
call sub.wsock32.dll_gethostbyname
test eax, eax
jne 0x4cd30d
pop dword fs:[0]
add esp, 8
jmp 0x4cd359
mov esi, dword [eax + 0xc]
xor ebx, ebx
jmp 0x4cd326
push dword [edi]
call sub.wsock32.dll_inet_ntoa
mov edx, eax
lea eax, [ebp - 8]
call fcn.00404a54
inc ebx
mov edi, dword [esi + ebx*4]
test edi, edi
jne 0x4cd314
call sub.wsock32.dll_WSACleanup
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.004048b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4cd359
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cd376
lea eax, [ebp - 8]
call fcn.0040485c
ret
Function at 0x4cd4a8
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404d0c
mov eax, dword [ebp - 8]
call fcn.00404d0c
xor eax, eax
push ebp
push 0x4cd536
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4cd50f
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00404d1c
push eax
mov eax, dword [ebp - 4]
call fcn.00404d1c
push eax
push 0
call sub.URLMON.DLL_URLDownloadToFileA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4cd51b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cd53d
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404880
ret

Function at 0x4dfaf8
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4dfc49
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4dfc38
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4f9174]
cmp word [eax], 2
jne 0x4dfb79
mov eax, dword [0x4f9720]
mov eax, dword [eax]
call fcn.004846f4
mov eax, dword [0x4fcab4]
call fcn.0046a99c
push eax
call sub.user32.dll_SetForegroundWindow
mov eax, dword [0x4fcab4]
mov eax, dword [eax + 0x44c]
call fcn.00488dec
mov eax, dword [0x4f9174]
mov word [eax], 0
mov eax, dword [ebp - 4]
call fcn.004da83c
call fcn.004042c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4dfc53
mov eax, dword [0x4fcab4]
cmp byte [eax + 0x57], 0
je 0x4dfbbb
push 0
mov eax, dword [0x4f9720]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
push 0x80
push 0xffffffffffffffec
mov eax, dword [0x4f9720]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_SetWindowLongA
xor edx, edx
mov eax, dword [0x4fcab4]
call fcn.0047e1f8
jmp 0x4dfc12
push 0
mov eax, dword [0x4f9720]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
push 0xcf0000
push 0xffffffffffffffec
mov eax, dword [0x4f9720]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_SetWindowLongA
push 5
mov eax, dword [0x4f9720]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
mov dl, 1
mov eax, dword [0x4fcab4]
call fcn.0047e1f8
mov eax, dword [0x4fcab4]
call fcn.0046a99c
push eax
call sub.user32.dll_SetForegroundWindow
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dfc3f
mov eax, dword [0x4f9468]
cmp byte [eax], 0
je 0x4dfc37
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x434]
mov edx, dword [eax]
call dword [edx + 0x44]
ret
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4e9c60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x4e9d14
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4e9cfc
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
push 6
mov eax, dword [0x4fcab4]
call fcn.0046a99c
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [ebp - 0x109]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
mov eax, dword [0x4f92b8]
lea edx, [ebp - 0x109]
mov ecx, 0x105
call fcn.00404acc
mov eax, dword [0x4f92b8]
mov eax, dword [eax]
call fcn.00404b1c
mov edx, dword [0x4f92b8]
mov edx, dword [edx]
cmp byte [edx + eax - 1], 0x5c
je 0x4e9cf2
mov eax, dword [0x4f92b8]
mov edx, 0x4e9d2c
call fcn.00404b24
mov eax, dword [0x4f92b8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4e9d06
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e9d1b
ret
Function at 0x4f3c50
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
test dl, dl
je 0x4f3c64
add esp, 0xfffffff0
call fcn.00403ce8
mov byte [ebp - 1], dl
mov ebx, eax
mov byte [ebx + 0x33d], 1
xor edx, edx
mov eax, ebx
call fcn.0048f03c
call fcn.004f290c
push ebx
push 0x4f3e80
call fcn.0047bdd0
mov dword [ebx + 0x330], eax
mov dl, 1
mov eax, dword [0x4f1a8c]
call fcn.00403954
mov dword [ebx + 0x308], eax
mov dl, 1
mov eax, dword [0x4f1984]
call fcn.00403954
mov edx, dword [ebx + 0x308]
mov dword [edx + 0x10], eax
mov dl, 1
mov eax, dword [0x4196c4]
call fcn.00403954
mov esi, eax
mov eax, dword [ebx + 0x308]
mov dword [eax + 4], esi
mov eax, esi
mov edx, 0x4f3d68
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0xb]
xor ecx, ecx
mov edx, 0xa
call fcn.004031d8
push 0xa
lea eax, [ebp - 0xb]
push eax
push 0xd
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
cmp byte [ebp - 0xb], 0x31
jne 0x4f3d09
mov byte [ebx + 0x428], 1
jmp 0x4f3d10
mov byte [ebx + 0x428], 0
mov edx, dword [0x4f3d78]
mov eax, ebx
call fcn.004f45ec
mov edx, dword [0x4f3d7c]
mov eax, ebx
call fcn.004f4680
mov byte [ebx + 0x33c], 0
mov byte [ebx + 0x334], 0
mov eax, ebx
call fcn.004f4760
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4f3d56
call fcn.00403d40
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4f3ec8
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x4f3f56
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4f9a90]
cmp dword [eax], 2
jne 0x4f3f41
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
push 0x28
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
lea eax, [ebp - 0x14]
push eax
push 0x4f3f6c
push 0
call sub.advapi32.dll_LookupPrivilegeValueA
mov dword [ebp - 0x18], 1
mov dword [ebp - 0xc], 2
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x28]
push eax
push 0x10
lea eax, [ebp - 0x18]
push eax
push 0
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
push 0
push 8
call sub.user32.dll_ExitWindowsEx
jmp 0x4f3f4a
push 0
push 1
call sub.user32.dll_ExitWindowsEx
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4f3f62
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4f3f80
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x150], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], edx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x4f4177
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x4f4145
push dword fs:[edx]
mov dword fs:[edx], esp
push edi
push 0
call sub.user32.dll_FindWindowA
test eax, eax
je 0x4f3ffd
push 0
push 0
push 0x10
push eax
call sub.user32.dll_SendMessageA
xor edx, edx
mov eax, 2
call fcn.004a730c
mov esi, eax
mov dword [ebp - 0x12c], 0x128
lea edx, [ebp - 0x12c]
mov eax, esi
call fcn.004a732c
jmp 0x4f412d
lea eax, [ebp - 0x138]
lea edx, [ebp - 0x108]
mov ecx, 0x104
call fcn.00404acc
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.00409b60
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.00408dcc
mov eax, dword [ebp - 0x130]
push eax
lea eax, [ebp - 0x140]
mov edx, edi
call fcn.00404a54
mov eax, dword [ebp - 0x140]
lea edx, [ebp - 0x13c]
call fcn.00408dcc
mov edx, dword [ebp - 0x13c]
pop eax
call fcn.00404c68
je 0x4f40ec
lea eax, [ebp - 0x148]
lea edx, [ebp - 0x108]
mov ecx, 0x104
call fcn.00404acc
mov eax, dword [ebp - 0x148]
lea edx, [ebp - 0x144]
call fcn.00408dcc
mov eax, dword [ebp - 0x144]
push eax
lea eax, [ebp - 0x150]
mov edx, edi
call fcn.00404a54
mov eax, dword [ebp - 0x150]
lea edx, [ebp - 0x14c]
call fcn.00408dcc
mov edx, dword [ebp - 0x14c]
pop eax
call fcn.00404c68
jne 0x4f411e
mov eax, dword [ebp - 0x124]
push eax
push 0xffffffffffffffff
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
push 0
push eax
call sub.kernel32.dll_TerminateProcess
mov bl, 1
lea eax, [ebp - 4]
lea edx, [ebp - 0x108]
mov ecx, 0x104
call fcn.00404acc
jmp 0x4f4135
xor ebx, ebx
lea edx, [ebp - 0x12c]
mov eax, esi
call fcn.004a734c
test eax, eax
jne 0x4f4027
push esi
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4f4151
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f417e
lea eax, [ebp - 0x150]
mov edx, 9
call fcn.00404880
lea eax, [ebp - 4]
call fcn.0040485c
ret
Function at 0xa5f058
Capabilities:
Decompress data using aplib

Disassembly:
call 0xa5f1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xa5f07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xa5f06a
add dl, dl
jne 0xa5f089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xa5f0dc
xor eax, eax
add dl, dl
jne 0xa5f096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xa5f17d
add dl, dl
jne 0xa5f0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa5f0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa5f0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa5f0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xa5f0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xa5f075
mov eax, 1
add dl, dl
jne 0xa5f0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa5f0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xa5f0e1
sub eax, ebx
mov ebx, 1
jne 0xa5f128
mov ecx, 1
add dl, dl
jne 0xa5f10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xa5f119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xa5f105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xa5f075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xa5f13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xa5f14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xa5f136
cmp eax, 0x7d00
jae 0xa5f16d
cmp eax, 0x500
jb 0xa5f168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xa5f075
cmp eax, 0x7f
ja 0xa5f170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xa5f075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xa5f19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xa5f075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x405ba0
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push esi
push edi
mov ax, word [0x409170]
cmp ax, 0xcb
je 0x405c9c
cmp ax, 0xcc
je 0x405c9c
mov edx, dword [0x40c5a0]
test edx, edx
je 0x405bd2
mov eax, dword [0x40c440]
call edx
mov ebx, eax
jmp 0x405bd7
mov ebx, 0x40c444
cmp word [0x40c430], 0
jle 0x405bfa
mov eax, 0x40c410
call fcn.00405e10
mov eax, ebx
call fcn.00405780
mov eax, ebx
call fcn.004057f0
mov edi, dword [ebx]
jmp 0x405c1a
mov esi, dword [edi + 4]
mov eax, dword [edi]
and eax, 1
jne 0x405c15
mov edx, edi
mov eax, ebx
call fcn.00404c50
jmp 0x405c18
and dword [edi], 0xfffffffe
mov edi, esi
test edi, edi
jne 0x405c00
mov dword [ebx], 0
mov dword [ebx + 0x88], 0
cmp word [0x40c430], 0
jle 0x405c9c
mov edx, 0x40c350
mov eax, ebx
call fcn.00404d80
mov edi, eax
test edi, edi
je 0x405c6f
mov eax, dword [0x40c3e4]
mov dword [edi + 0xc], eax
cmp dword [0x40c3e4], 0
je 0x405c64
mov eax, dword [0x40c3e4]
mov dword [eax + 8], edi
mov eax, dword [ebx + 0x94]
mov dword [0x40c3e4], eax
sub word [0x40c430], 1
cmp word [0x40c430], 0
sete bl
mov eax, 0x40c410
call fcn.00405e20
test bl, bl
je 0x405c9c
mov eax, 0x40c410
call fcn.00405e00
pop edi
pop esi
pop ebx
ret