joyce8/EMBER2024-capa huggingface dataset:
Function at 0x461840
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edx
mov esi, eax
xor eax, eax
push ebp
push 0x461a4b
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [0x4ad8d0]
cmp dword [eax], 1
jne 0x461a1d
mov eax, dword [esi + 0x48]
mov edx, dword [eax]
call dword [edx + 0x44]
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x461a5c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
sete bl
test bl, bl
je 0x4618d1
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
push 0x461a8c
push 0x80000006
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
sete bl
test bl, bl
je 0x4619e8
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x18], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x18]
push eax
push 0
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
cmp dword [ebp - 0x14], 0
je 0x4619e8
lea eax, [ebp - 0x10]
mov ecx, 0x21
xor edx, edx
call fcn.004047e0
mov edi, dword [ebp - 0x14]
dec edi
test edi, edi
jl 0x4619e8
inc edi
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x28], 0x21
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x10]
call fcn.00404bb0
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegEnumKeyExA
mov eax, dword [ebp - 0x10]
call fcn.00404bb0
mov edx, eax
lea eax, [ebp - 0x12c]
call fcn.00403418
lea edx, [ebp - 0x12c]
lea eax, [ebp - 0x2c]
call fcn.00404954
push dword [ebp - 0x2c]
push 0x461aa8
push 0x461ab4
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404a70
lea eax, [ebp - 0x24]
push eax
push 0
lea eax, [ebp - 0x20]
push eax
push 0
mov eax, dword [ebp - 0xc]
call fcn.00404bb0
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4619de
mov eax, dword [ebp - 0x10]
call fcn.00404bb0
mov edx, eax
lea eax, [ebp - 0x130]
call fcn.004048e8
mov edx, dword [ebp - 0x130]
mov eax, dword [esi + 0x48]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc dword [ebp - 0x1c]
dec edi
jne 0x461933
cmp dword [ebp - 4], 0
je 0x4619f7
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
cmp dword [ebp - 8], 0
je 0x461a06
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov eax, dword [esi + 0x48]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
je 0x461a1d
mov eax, dword [esi + 0x48]
mov edx, dword [eax]
call dword [edx + 0x90]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x461a52
lea eax, [ebp - 0x130]
call fcn.004046f0
lea eax, [ebp - 0x2c]
call fcn.004046f0
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00404714
ret
Function at 0x463814
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 0x463a74
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x463877
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.0046332c
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040d2f0
cmp al, 1
jne 0x463877
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.004635f4
test al, al
je 0x463a03
cmp dword [ebp - 8], 0
jge 0x463895
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.0046332c
mov eax, dword [ebp - 0x210]
call fcn.004049b0
cmp ebx, eax
jge 0x4638df
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.0046332c
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x4ad8b8]
and eax, 0xff
bt dword [edx], eax
jae 0x4638df
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x4638f3
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004637f0
cmp ebx, dword [ebp - 8]
je 0x4639f5
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 0x46391f
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403b18
and eax, 0x7f
movzx eax, word [eax*2 + 0x4abf00]
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 0x4639e2
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403b18
and eax, 0x7f
movzx eax, word [eax*2 + 0x4abf00]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.00443a30
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403b18
and eax, 0x7f
movzx eax, word [eax*2 + 0x4abf00]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.00443a30
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4639e9
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 0x463a56
cmp dword [ebp - 8], 0
jge 0x463a0e
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.0046332c
mov eax, dword [ebp - 0x218]
call fcn.004049b0
cmp eax, dword [ebp - 8]
jg 0x463a48
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.0046332c
mov eax, dword [ebp - 0x21c]
call fcn.004049b0
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004637f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x463a7b
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00404714
ret
Function at 0x472b48
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x472b50
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x472d42
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x472d58
mov eax, esi
call fcn.004709d4
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.00404744
lea ecx, [ebp - 0x10]
mov edx, 0x472d6c
mov eax, esi
call fcn.004709d4
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.00404744
lea ecx, [ebp - 0x14]
mov edx, 0x472d84
mov eax, esi
call fcn.004709d4
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.00404744
lea ecx, [ebp - 0x18]
mov edx, 0x472da0
mov eax, esi
call fcn.004709d4
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.00404744
lea ecx, [ebp - 0x1c]
mov edx, 0x472dbc
mov eax, esi
call fcn.004709d4
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.00404744
lea ecx, [ebp - 0x24]
mov edx, 0x472dd4
mov eax, esi
call fcn.004709d4
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00408bb8
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.00408f98
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x472dec
mov eax, esi
call fcn.004709d4
mov eax, dword [ebp - 0x28]
call fcn.0046a4ac
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x472dfc
mov eax, esi
call fcn.004709d4
mov eax, dword [ebp - 0x2c]
call fcn.0046a4ac
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x472e14
mov eax, esi
call fcn.004709d4
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00408f98
inc eax
je 0x472ce5
lea ecx, [ebp - 0x34]
mov edx, 0x472e14
mov eax, esi
call fcn.004709d4
mov eax, dword [ebp - 0x34]
call fcn.00408f5c
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.0040a738
fstp qword [ebp - 0x3c]
wait
call fcn.0040aa9c
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x472d00
lea ecx, [ebp - 0x40]
mov edx, 0x472e14
mov eax, esi
call fcn.004709d4
mov eax, dword [ebp - 0x40]
call fcn.0046a4ac
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x472e24
mov eax, esi
call fcn.004709d4
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.00404744
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x472d49
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00404714
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.00404714
ret
Function at 0x479ad4
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 0x479b2e
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.00479ac4
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.00469118
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.00468d18
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 0x479b35
lea eax, [ebp - 4]
call fcn.004046f0
ret

Function at 0x47d4dc
Capabilities:
Acquire debug privileges

Disassembly:
push ebx
add esp, 0xffffffd0
lea eax, [esp + 4]
push eax
push 0x20
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
lea eax, [esp + 8]
push eax
push 0x47d578
push 0
call sub.advapi32.dll_LookupPrivilegeValueA
mov eax, dword [esp + 8]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], 1
xor ebx, ebx
mov dword [esp + 0x2c], ebx
push esp
lea eax, [esp + 0x14]
push eax
push 0x10
lea eax, [esp + 0x2c]
push eax
push 0
mov eax, dword [esp + 0x18]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
mov eax, dword [esp + 8]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], 1
or ebx, 2
mov dword [esp + 0x1c], ebx
push esp
push 0
mov eax, dword [esp + 8]
push eax
lea eax, [esp + 0x1c]
push eax
push 0
mov eax, dword [esp + 0x18]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
add esp, 0x30
pop ebx
ret
Function at 0x47d58c
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x140], ecx
mov dword [ebp - 0x148], ecx
mov dword [ebp - 0x144], ecx
mov dword [ebp - 0x130], ecx
mov dword [ebp - 0x13c], ecx
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x138], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404ba0
lea esi, [ebp - 0x12c]
xor eax, eax
push ebp
push 0x47d6ef
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, 2
call fcn.0047d444
mov ebx, eax
mov dword [esi], 0x128
mov edx, esi
mov eax, ebx
call fcn.0047d464
jmp 0x47d6c1
lea eax, [ebp - 0x138]
lea edx, [esi + 0x24]
mov ecx, 0x104
call fcn.00404960
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.004095f8
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.00408968
mov eax, dword [ebp - 0x130]
push eax
lea edx, [ebp - 0x13c]
mov eax, dword [ebp - 4]
call fcn.00408968
mov edx, dword [ebp - 0x13c]
pop eax
call fcn.00404afc
je 0x47d6a3
lea eax, [ebp - 0x144]
lea edx, [esi + 0x24]
mov ecx, 0x104
call fcn.00404960
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x140]
call fcn.00408968
mov eax, dword [ebp - 0x140]
push eax
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 4]
call fcn.00408968
mov edx, dword [ebp - 0x148]
pop eax
call fcn.00404afc
jne 0x47d6b8
push 0
mov eax, dword [esi + 8]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov edx, esi
mov eax, ebx
call fcn.0047d484
test eax, eax
jne 0x47d604
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47d6f6
lea eax, [ebp - 0x148]
mov edx, 7
call fcn.00404714
lea eax, [ebp - 4]
call fcn.004046f0
ret
Function at 0x47da14
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb8
push ebx
push esi
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.00404ba0
lea esi, [ebp - 0x12c]
xor eax, eax
push ebp
push 0x47db77
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, 2
call fcn.0047d444
mov ebx, eax
mov dword [esi], 0x128
mov edx, esi
mov eax, ebx
call fcn.0047d464
jmp 0x47db49
lea eax, [ebp - 0x138]
lea edx, [esi + 0x24]
mov ecx, 0x104
call fcn.00404960
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.004095f8
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.00408968
mov eax, dword [ebp - 0x130]
push eax
lea edx, [ebp - 0x13c]
mov eax, dword [ebp - 4]
call fcn.00408968
mov edx, dword [ebp - 0x13c]
pop eax
call fcn.00404afc
je 0x47db2b
lea eax, [ebp - 0x144]
lea edx, [esi + 0x24]
mov ecx, 0x104
call fcn.00404960
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x140]
call fcn.00408968
mov eax, dword [ebp - 0x140]
push eax
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 4]
call fcn.00408968
mov edx, dword [ebp - 0x148]
pop eax
call fcn.00404afc
jne 0x47db40
push 0
mov eax, dword [esi + 8]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov edx, esi
mov eax, ebx
call fcn.0047d484
test eax, eax
jne 0x47da8c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47db7e
lea eax, [ebp - 0x148]
mov edx, 7
call fcn.00404714
lea eax, [ebp - 4]
call fcn.004046f0
ret

Function at 0x47db84
Capabilities:
Find taskbar

Disassembly:
push 0
push 0x47dbc0
call sub.user32.dll_FindWindowA
push 0
push 0x47dbd0
push 0
push eax
call sub.user32.dll_FindWindowExA
push 0
push 0x47dbe0
push 0
push eax
call sub.user32.dll_FindWindowExA
push 0
push 0x47dbec
push 0
push eax
call sub.user32.dll_FindWindowExA
ret
Function at 0x47f7e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov ebx, ecx
mov dword [ebp - 8], eax
dec edx
mov eax, edx
shl eax, 2
add dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 4], eax
lea eax, [ebp - 0xc]
push eax
push 0x40
push 4
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x47f84d
xor eax, eax
push ebp
push 0x47f846
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov dword [eax], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47f84d
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 4
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_VirtualProtect
ret
mov eax, dword [ebp - 4]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48a758
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x48a786
mov eax, ebx
call fcn.0048b20c
cmp dword [ebx + 0x40], 0
je 0x48a77f
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x48a7f7
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x48a7e9
cmp dword [ebx + 8], 0
je 0x48a7a8
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 0x48a7ba
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x48a7e9
cmp dword [ebx + 8], 0
je 0x48a79b
cmp eax, 3
je 0x48a7cd
dec eax
jne 0x48a79b
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 0x48a79b
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x48a79b
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x48a815
cmp dword [ebx + 0x14], 0xcc
je 0x48a815
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.0048a820
pop ebx
ret
Function at 0x4a3c54
Capabilities:
Copy file
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x4a3c5c
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404ba0
xor eax, eax
push ebp
push 0x4a3e3d
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
xor edx, edx
push ebp
push 0x4a3e10
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.00404788
mov edx, dword [0x4ad3d4]
mov edx, dword [edx]
lea eax, [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
call fcn.004049fc
mov eax, dword [ebp - 0x14]
call fcn.0040940c
test al, al
jne 0x4a3cfb
push 0
mov edx, dword [0x4ad3d4]
mov edx, dword [edx]
lea eax, [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
call fcn.004049fc
mov eax, dword [ebp - 0x18]
call fcn.00404bb0
push eax
mov edx, dword [0x4ad140]
mov edx, dword [edx]
lea eax, [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
call fcn.004049fc
mov eax, dword [ebp - 0x1c]
call fcn.00404bb0
push eax
call sub.kernel32.dll_CopyFileA
push 0
mov eax, dword [0x4ad4a8]
mov eax, dword [eax]
mov ecx, 0x4a3e58
mov edx, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0x10]
test al, al
jne 0x4a3d26
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a3e1a
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [0x4ad4a8]
mov eax, dword [eax]
mov ecx, 0x4a3e70
mov edx, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx]
mov eax, dword [0x4ad738]
mov eax, dword [eax]
mov edx, 0x80000002
call fcn.004326bc
mov eax, dword [0x4ad738]
mov eax, dword [eax]
mov cl, 1
mov edx, 0x4a3e80
call fcn.00432724
test al, al
je 0x4a3da3
mov eax, dword [0x4ad738]
mov eax, dword [eax]
mov edx, dword [ebp - 0x10]
call fcn.00432dcc
test al, al
je 0x4a3d97
mov eax, dword [0x4ad738]
mov eax, dword [eax]
call fcn.0043268c
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a3e1a
mov eax, dword [0x4ad738]
mov eax, dword [eax]
call fcn.0043268c
push 1
mov eax, dword [0x4ad140]
push dword [eax]
push 0x4a3ea0
push dword [ebp - 0xc]
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00404a70
mov eax, dword [ebp - 0x20]
call fcn.00404bb0
push eax
call sub.kernel32.dll_WinExec
push 1
mov eax, dword [0x4ad140]
push dword [eax]
push 0x4a3ea0
mov eax, dword [0x4ad3d4]
push dword [eax]
push dword [ebp - 0xc]
lea eax, [ebp - 0x24]
mov edx, 4
call fcn.00404a70
mov eax, dword [ebp - 0x24]
call fcn.00404bb0
push eax
call sub.kernel32.dll_WinExec
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a3e1a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a3e44
lea eax, [ebp - 0x24]
mov edx, 7
call fcn.00404714
lea eax, [ebp - 4]
call fcn.004046f0
ret
Function at 0x4a5130
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov byte [ebp - 1], 0
xor eax, eax
push ebp
push 0x4a517b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 1
push 0x4a5190
call sub.wininet.dll_InternetCheckConnectionA
test eax, eax
jne 0x4a516d
push 0
push 1
push 0x4a51a8
call sub.wininet.dll_InternetCheckConnectionA
test eax, eax
je 0x4a5171
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a5185
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x4a7814
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x4a78e8
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
xor eax, eax
push ebp
push 0x4a78c3
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10]
mov eax, dword [0x4ad64c]
mov eax, dword [eax]
call fcn.0045d1f0
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.004095c4
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 8]
mov ecx, 0x4a7904
call fcn.004049fc
mov eax, dword [ebp - 8]
call fcn.0040940c
test al, al
jne 0x4a7880
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a78cd
push 1
push 0x4a791c
push 0x4a791c
mov eax, dword [ebp - 8]
call fcn.00404bb0
push eax
push 0x4a7920
push 0
call sub.shell32.dll_ShellExecuteA
mov eax, dword [0x4ad64c]
mov eax, dword [eax]
call fcn.0045cccc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a78cd
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a78ef
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404714
ret

Function at 0x4a7b18
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, eax
mov byte [ebp - 1], 0
xor eax, eax
push ebp
push 0x4a7bc6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x4a7be4
call fcn.0047d8a4
test al, al
je 0x4a7b55
mov eax, 0x4a7be4
call fcn.0047da14
push 0x3e8
call sub.kernel32.dll_Sleep_1
push 1
push 0x4a7bf8
push 0x4a7bf8
mov eax, dword [esi + 0x32c]
call fcn.00404bb0
push eax
push 0x4a7bfc
push 0
call sub.shell32.dll_ShellExecuteA
xor ebx, ebx
inc ebx
push 0x4a7c04
push 0
call sub.user32.dll_FindWindowA
mov dword [esi + 0x338], eax
push 0x14
call sub.kernel32.dll_Sleep_1
cmp dword [esi + 0x338], 0
jg 0x4a7ba6
cmp ebx, 0x3e8
jle 0x4a7b7b
cmp ebx, 0x3e8
jle 0x4a7bb8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a7bd0
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a7bd0
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret