joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4900d4
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x49021e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0048f5f0
xor eax, eax
push ebp
push 0x490201
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x490139
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x490139
lea eax, [ebp - 8]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
jmp 0x4901eb
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x49014c
call fcn.0040447c
jmp 0x490208
push 0
push ebx
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_recv
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x4901eb
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x4901eb
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403e40
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x4901eb
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040c874
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x490238
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x4d83c4]
mov dl, 1
mov eax, dword [0x48e0e4]
call fcn.0040d1a4
call fcn.004043d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x490208
mov eax, dword [ebp - 4]
call fcn.0048f5fc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x490225
lea eax, [ebp - 0x28]
call fcn.00404a18
ret
Function at 0x49b4ec
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 0x49b4f4
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x49b6e6
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x49b6fc
mov eax, esi
call fcn.00499378
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.00404a6c
lea ecx, [ebp - 0x10]
mov edx, 0x49b710
mov eax, esi
call fcn.00499378
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.00404a6c
lea ecx, [ebp - 0x14]
mov edx, 0x49b728
mov eax, esi
call fcn.00499378
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.00404a6c
lea ecx, [ebp - 0x18]
mov edx, 0x49b744
mov eax, esi
call fcn.00499378
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.00404a6c
lea ecx, [ebp - 0x1c]
mov edx, 0x49b760
mov eax, esi
call fcn.00499378
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.00404a6c
lea ecx, [ebp - 0x24]
mov edx, 0x49b778
mov eax, esi
call fcn.00499378
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00408f60
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.00409340
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x49b790
mov eax, esi
call fcn.00499378
mov eax, dword [ebp - 0x28]
call fcn.00497a28
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x49b7a0
mov eax, esi
call fcn.00499378
mov eax, dword [ebp - 0x2c]
call fcn.00497a28
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x49b7b8
mov eax, esi
call fcn.00499378
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00409340
inc eax
je 0x49b689
lea ecx, [ebp - 0x34]
mov edx, 0x49b7b8
mov eax, esi
call fcn.00499378
mov eax, dword [ebp - 0x34]
call fcn.00409304
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.0040aef8
fstp qword [ebp - 0x3c]
wait
call fcn.0040b25c
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x49b6a4
lea ecx, [ebp - 0x40]
mov edx, 0x49b7b8
mov eax, esi
call fcn.00499378
mov eax, dword [ebp - 0x40]
call fcn.00497a28
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x49b7c8
mov eax, esi
call fcn.00499378
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.00404a6c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49b6ed
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00404a3c
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.00404a3c
ret
Function at 0x4a7050
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 0x4a70aa
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.004a7040
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.00496694
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.00496294
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 0x4a70b1
lea eax, [ebp - 4]
call fcn.00404a18
ret

Function at 0x4aac58
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
mov edx, 0x40
call fcn.004079e8
pop ebp
ret

Function at 0x4aad94
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404ec8
xor eax, eax
push ebp
push 0x4aaee2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x6c]
call fcn.004aac58
push 0
push 0x8000080
push 3
push 0
push 3
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.00404ed8
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x4aaec1
xor eax, eax
push ebp
push 0x4aaeba
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 2
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CreateFileMappingA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4aaea3
xor eax, eax
push ebp
push 0x4aae9c
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 4
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_MapViewOfFile
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4aae85
xor eax, eax
push ebp
push 0x4aae7e
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetFileSize_1
mov ecx, eax
lea eax, [ebp - 0x6c]
mov edx, dword [ebp - 0x14]
call fcn.004aac90
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4aae85
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_UnmapViewOfFile
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4aaea3
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4aaec1
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x6c]
call fcn.004aad18
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4aaee9
lea eax, [ebp - 4]
call fcn.00404a18
ret

Function at 0x4aee64
Capabilities:
Suspend thread

Disassembly:
mov byte [eax + 0xd], 1
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SuspendThread
ret
Function at 0x4aee74
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
jne 0x4aee89
mov byte [ebx + 0xd], 0
pop ebx
ret

Function at 0x4aef8c
Capabilities:
Terminate thread

Disassembly:
push ebx
push esi
mov ebx, eax
push 0
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_TerminateThread
mov eax, ebx
call fcn.004aeef8
mov esi, eax
mov eax, ebx
call fcn.00403c44
mov eax, esi
pop esi
pop ebx
ret

Function at 0x4b0f64
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404ec8
lea esi, [ebp - 0x44]
xor eax, eax
push ebp
push 0x4b10eb
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, 0x4b1108
call fcn.0040501c
test eax, eax
jne 0x4b0faf
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, 0x4b1114
call fcn.00404d24
mov eax, esi
mov edx, 0x3c
call fcn.004b0a84
mov dword [esi + 8], 0x21
mov dword [esi + 0x14], 0x101
mov dword [esi + 0x20], 0x81
mov dword [esi + 0x28], 0x81
mov dword [esi + 0x30], 0x801
mov dword [esi + 0x38], 0x801
mov eax, 0x21
call fcn.004027f4
mov dword [esi + 4], eax
mov eax, 0x101
call fcn.004027f4
mov dword [esi + 0x10], eax
mov eax, 0x81
call fcn.004027f4
mov dword [esi + 0x1c], eax
mov eax, 0x81
call fcn.004027f4
mov dword [esi + 0x24], eax
mov eax, 0x801
call fcn.004027f4
mov dword [esi + 0x2c], eax
mov eax, 0x801
call fcn.004027f4
mov dword [esi + 0x34], eax
push esi
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.00404cd8
push eax
mov eax, dword [ebp - 4]
call fcn.00404ed8
push eax
call sub.wininet.dll_InternetCrackUrlA
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
je 0x4b10a5
mov eax, edi
mov edx, dword [esi + 4]
call fcn.00404c10
mov eax, dword [ebp - 8]
mov edx, dword [esi + 0x10]
call fcn.00404c10
mov eax, dword [ebp + 0x18]
mov edx, dword [esi + 0x2c]
call fcn.00404c10
mov eax, dword [ebp + 0x14]
mov edx, dword [esi + 0x1c]
call fcn.00404c10
mov eax, dword [ebp + 0x10]
mov edx, dword [esi + 0x24]
call fcn.00404c10
mov eax, dword [ebp + 0xc]
mov edx, dword [esi + 0x34]
call fcn.00404c10
mov eax, dword [ebp + 8]
mov dx, word [esi + 0x18]
mov word [eax], dx
mov eax, dword [esi + 0x34]
call fcn.00402814
mov eax, dword [esi + 0x2c]
call fcn.00402814
mov eax, dword [esi + 0x24]
call fcn.00402814
mov eax, dword [esi + 0x1c]
call fcn.00402814
mov eax, dword [esi + 0x10]
call fcn.00402814
mov eax, dword [esi + 4]
call fcn.00402814
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b10f2
lea eax, [ebp - 4]
call fcn.00404a18
ret
Function at 0x4b111c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
mov ebx, eax
push esi
push edi
mov esi, ecx
mov eax, esi
test eax, eax
je 0x4b1135
mov eax, dword [esi - 4]
push eax
push esi
mov esi, edx
mov ecx, esi
test ecx, ecx
je 0x4b1142
mov ecx, dword [esi - 4]
add al, cl
inc eax
lea edi, [ebp - 0x100]
mov edx, eax
stosb byte es:[edi], al
mov al, cl
stosb byte es:[edi], al
rep movsb byte es:[edi], byte [esi]
pop esi
pop ecx
rep movsb byte es:[edi], byte [esi]
mov ecx, edx
std
dec edi
mov esi, edi
xor dl, 0xeb
lodsb al, byte [esi]
xor al, dl
stosb byte es:[edi], al
loop 0x4b1160
cld
pop edi
pop esi
xor ecx, ecx
mov cl, byte [ebp - 0x100]
inc ecx
lea edx, [ebp - 0x100]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x10]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4b2504
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
xor eax, eax
push ebp
push 0x4b2621
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [ebp + 8]
push eax
xor eax, eax
call fcn.004b23cc
pop ecx
test al, al
je 0x4b25fc
mov eax, dword [ebp + 8]
push eax
call fcn.004b2210
pop ecx
test al, al
jne 0x4b25fc
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x13c]
push eax
call sub.wininet.dll_HttpSendRequestA
test eax, eax
je 0x4b25fc
mov eax, dword [ebp + 8]
push eax
mov eax, 0x13
call fcn.004b2250
pop ecx
test al, al
je 0x4b25fc
lea eax, [ebp - 4]
mov edx, dword [ebp + 8]
add edx, 0xffffeffc
mov ecx, 0x1000
call fcn.00404c88
mov eax, dword [ebp - 4]
xor edx, edx
call fcn.00409340
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov dword [edx + 0x178], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov esi, dword [eax + 0x178]
cmp esi, 0xc8
je 0x4b25c7
mov eax, dword [ebp + 8]
cmp esi, 0xce
jne 0x4b25fc
mov eax, dword [ebp + 8]
push eax
mov eax, 5
call fcn.004b2250
pop ecx
test al, al
je 0x4b25fc
lea eax, [ebp - 8]
mov edx, dword [ebp + 8]
add edx, 0xffffeffc
mov ecx, 0x1000
call fcn.00404c88
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.00409340
mov ebx, eax
mov eax, dword [ebp + 8]
push eax
call fcn.004b2210
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b2628
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404a3c
ret

Function at 0x4b3dc4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
push esi
mov dword [ebp - 4], ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 8], 1
call fcn.004b3d50
mov ebx, eax
mov dword [ebp - 0xc], pe_nt_image_headers32
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 8]
push eax
push 0
mov eax, dword [ebp - 4]
push eax
push ebx
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4b3e23
mov eax, esi
lea edx, [ebp - 0x10c]
mov ecx, pe_nt_image_headers32
call fcn.00404c88
push ebx
call sub.advapi32.dll_RegCloseKey_1
jmp 0x4b3e30
mov eax, esi
call fcn.00404a18
push ebx
call sub.advapi32.dll_RegCloseKey_1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4b6cc0
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4b6cee
mov eax, ebx
call fcn.004b7774
cmp dword [ebx + 0x40], 0
je 0x4b6ce7
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4b6d5f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4b6d51
cmp dword [ebx + 8], 0
je 0x4b6d10
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 0x4b6d22
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4b6d51
cmp dword [ebx + 8], 0
je 0x4b6d03
cmp eax, 3
je 0x4b6d35
dec eax
jne 0x4b6d03
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 0x4b6d03
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4b6d03
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4b6d7d
cmp dword [ebx + 0x14], 0xcc
je 0x4b6d7d
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.004b6d88
pop ebx
ret

Function at 0x4cbf34
Capabilities:
Acquire debug privileges

Disassembly:
push ebx
add esp, 0xffffffe4
mov byte [esp], al
xor ebx, ebx
lea eax, [esp + 4]
push eax
push 0x20
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
je 0x4cbfb6
mov dword [esp + 0xc], 1
lea eax, [esp + 0x10]
push eax
push 0x4cbfc0
push 0
call sub.advapi32.dll_LookupPrivilegeValueA
cmp byte [esp], 0
je 0x4cbf7c
mov dword [esp + 0x18], 2
jmp 0x4cbf82
xor eax, eax
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
push 0
push 0x10
lea eax, [esp + 0x18]
push eax
push 0
mov eax, dword [esp + 0x18]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
call sub.kernel32.dll_GetLastError_1
test eax, eax
sete bl
mov eax, dword [esp + 4]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, ebx
add esp, 0x1c
pop ebx
ret
Function at 0x4cc590
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.00404ec8
lea esi, [ebp - 0x12c]
xor eax, eax
push ebp
push 0x4cc6f3
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, 2
call fcn.004ab2ac
mov ebx, eax
mov dword [esi], 0x128
mov edx, esi
mov eax, ebx
call fcn.004ab2cc
jmp 0x4cc6c5
lea eax, [ebp - 0x138]
lea edx, [esi + 0x24]
mov ecx, 0x104
call fcn.00404c88
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.00409d58
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.00408d10
mov eax, dword [ebp - 0x130]
push eax
lea edx, [ebp - 0x13c]
mov eax, dword [ebp - 4]
call fcn.00408d10
mov edx, dword [ebp - 0x13c]
pop eax
call fcn.00404e24
je 0x4cc6a7
lea eax, [ebp - 0x144]
lea edx, [esi + 0x24]
mov ecx, 0x104
call fcn.00404c88
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x140]
call fcn.00408d10
mov eax, dword [ebp - 0x140]
push eax
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 4]
call fcn.00408d10
mov edx, dword [ebp - 0x148]
pop eax
call fcn.00404e24
jne 0x4cc6bc
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.004ab2ec
test eax, eax
jne 0x4cc608
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cc6fa
lea eax, [ebp - 0x148]
mov edx, 7
call fcn.00404a3c
lea eax, [ebp - 4]
call fcn.00404a18
ret
Function at 0x4cc700
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdb0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x24c], edx
mov dword [ebp - 0x250], edx
mov dword [ebp - 0x240], edx
mov dword [ebp - 0x244], edx
mov dword [ebp - 0x248], edx
mov dword [ebp - 0x23c], edx
mov dword [ebp - 0x230], edx
mov dword [ebp - 0x234], edx
mov dword [ebp - 0x238], edx
mov dword [ebp - 8], edx
xor edx, edx
push ebp
push 0x4cc96a
push dword fs:[edx]
mov dword fs:[edx], esp
mov dword [ebp - 0x22c], 0x224
mov edx, eax
mov eax, 8
call fcn.004ab2ac
mov dword [ebp - 4], eax
lea edx, [ebp - 0x22c]
mov eax, dword [ebp - 4]
call fcn.004ab30c
cmp eax, 1
sbb eax, eax
inc eax
jmp 0x4cc933
mov eax, dword [0x4d8410]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x4cc91f
inc ebx
xor esi, esi
lea ecx, [ebp - 8]
mov eax, dword [0x4d8410]
mov eax, dword [eax]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0xc]
lea edx, [ebp - 0x230]
mov eax, 0x4cc980
call fcn.00408d4c
mov eax, dword [ebp - 0x230]
push eax
lea eax, [ebp - 0x238]
lea edx, [ebp - 0x20c]
mov ecx, pe_nt_image_headers32
call fcn.00404c88
mov eax, dword [ebp - 0x238]
lea edx, [ebp - 0x234]
call fcn.00408d4c
mov edx, dword [ebp - 0x234]
pop eax
call fcn.00404e24
jne 0x4cc834
mov edi, dword [ebp - 0x224]
cmp edi, dword [0x4da4ac]
je 0x4cc834
lea eax, [ebp - 0x23c]
lea edx, [ebp - 0x10c]
mov ecx, 0x104
call fcn.00404c88
mov edx, dword [ebp - 0x23c]
mov eax, edi
call fcn.004cc0d4
jmp 0x4cc944
lea edx, [ebp - 0x240]
mov eax, dword [ebp - 8]
call fcn.00408d4c
mov eax, dword [ebp - 0x240]
push eax
lea eax, [ebp - 0x248]
lea edx, [ebp - 0x20c]
mov ecx, pe_nt_image_headers32
call fcn.00404c88
mov eax, dword [ebp - 0x248]
lea edx, [ebp - 0x244]
call fcn.00408d4c
mov edx, dword [ebp - 0x244]
pop eax
call fcn.00404e24
jne 0x4cc917
mov eax, dword [0x4da4a4]
test eax, eax
je 0x4cc893
push 0
push eax
call sub.kernel32.dll_TerminateProcess
mov eax, dword [0x4d80f8]
mov eax, dword [eax]
mov eax, dword [eax + 0x314]
xor edx, edx
call fcn.00431cac
mov eax, dword [0x4d7f64]
mov eax, dword [eax]
call fcn.004cc590
push 0x30
lea eax, [ebp - 0x250]
lea edx, [ebp - 0x10c]
mov ecx, 0x104
call fcn.00404c88
mov ecx, dword [ebp - 0x250]
lea eax, [ebp - 0x24c]
mov edx, 0x4cc994
call fcn.00404d24
mov eax, dword [ebp - 0x24c]
call fcn.00404ed8
mov edx, eax
mov ecx, 0x4cc9f8
mov eax, dword [0x4d82a0]
mov eax, dword [eax]
call fcn.004641f0
mov eax, dword [0x4d7f64]
mov eax, dword [eax]
call fcn.004cc590
mov eax, dword [0x4d82a0]
mov eax, dword [eax]
call fcn.0046414c
inc esi
dec ebx
jne 0x4cc7a1
lea edx, [ebp - 0x22c]
mov eax, dword [ebp - 4]
call fcn.004ab32c
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x4cc787
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cc971
lea eax, [ebp - 0x250]
mov edx, 9
call fcn.00404a3c
lea eax, [ebp - 8]
call fcn.00404a18
ret
Function at 0x4d0428
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd4c
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404ec8
xor eax, eax
push ebp
push 0x4d053d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404a18
lea eax, [ebp - 0x194]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
xor ecx, ecx
push ebp
push 0x4d0520
push dword fs:[ecx]
mov dword fs:[ecx], esp
push pe_nt_image_headers32
lea eax, [ebp - 0x294]
push eax
call sub.wsock32.dll_gethostname
lea eax, [ebp - 0x294]
mov edx, dword [ebp - 4]
call fcn.00409fa8
lea eax, [ebp - 0x294]
push eax
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x4d050d
mov edx, dword [eax + 0xc]
test edx, edx
je 0x4d050d
mov esi, dword [edx]
test esi, esi
je 0x4d050d
push ebx
xor eax, eax
mov al, byte [esi]
mov dword [ebp - 0x2b4], eax
mov byte [ebp - 0x2b0], 0
xor eax, eax
mov al, byte [esi + 1]
mov dword [ebp - 0x2ac], eax
mov byte [ebp - 0x2a8], 0
xor eax, eax
mov al, byte [esi + 2]
mov dword [ebp - 0x2a4], eax
mov byte [ebp - 0x2a0], 0
xor eax, eax
mov al, byte [esi + 3]
mov dword [ebp - 0x29c], eax
mov byte [ebp - 0x298], 0
lea edx, [ebp - 0x2b4]
mov ecx, 3
mov eax, 0x4d0554
call fcn.0040a5ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d0527
call sub.wsock32.dll_WSACleanup
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd4c
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404ec8
xor eax, eax
push ebp
push 0x4d0c05
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404a18
lea eax, [ebp - 0x194]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
xor ecx, ecx
push ebp
push 0x4d0be8
push dword fs:[ecx]
mov dword fs:[ecx], esp
push pe_nt_image_headers32
lea eax, [ebp - 0x294]
push eax
call sub.wsock32.dll_gethostname
lea eax, [ebp - 0x294]
mov edx, dword [ebp - 4]
call fcn.00409fa8
lea eax, [ebp - 0x294]
push eax
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x4d0bd5
mov edx, dword [eax + 0xc]
test edx, edx
je 0x4d0bd5
mov esi, dword [edx]
test esi, esi
je 0x4d0bd5
push ebx
xor eax, eax
mov al, byte [esi]
mov dword [ebp - 0x2b4], eax
mov byte [ebp - 0x2b0], 0
xor eax, eax
mov al, byte [esi + 1]
mov dword [ebp - 0x2ac], eax
mov byte [ebp - 0x2a8], 0
xor eax, eax
mov al, byte [esi + 2]
mov dword [ebp - 0x2a4], eax
mov byte [ebp - 0x2a0], 0
xor eax, eax
mov al, byte [esi + 3]
mov dword [ebp - 0x29c], eax
mov byte [ebp - 0x298], 0
lea edx, [ebp - 0x2b4]
mov ecx, 3
mov eax, 0x4d0c1c
call fcn.0040a5ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d0bef
call sub.wsock32.dll_WSACleanup
ret
Function at 0x4d10a4
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 7
push 0
lea eax, [ebp - 4]
push eax
call sub.wininet.dll_InternetGetConnectedState
test eax, eax
jne 0x4d10c3
xor eax, eax
pop ecx
pop ebp
ret
mov al, 1
pop ecx
pop ebp
ret