joyce8/EMBER2024-capa huggingface dataset:
Function at 0x472ed8
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 0x472ee0
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x4730d2
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x4730e8
mov eax, esi
call fcn.00470d64
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.004048b0
lea ecx, [ebp - 0x10]
mov edx, 0x4730fc
mov eax, esi
call fcn.00470d64
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.004048b0
lea ecx, [ebp - 0x14]
mov edx, 0x473114
mov eax, esi
call fcn.00470d64
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.004048b0
lea ecx, [ebp - 0x18]
mov edx, 0x473130
mov eax, esi
call fcn.00470d64
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.004048b0
lea ecx, [ebp - 0x1c]
mov edx, 0x47314c
mov eax, esi
call fcn.00470d64
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.004048b0
lea ecx, [ebp - 0x24]
mov edx, 0x473164
mov eax, esi
call fcn.00470d64
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00408a30
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.00408f78
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x47317c
mov eax, esi
call fcn.00470d64
mov eax, dword [ebp - 0x28]
call fcn.0046a83c
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x47318c
mov eax, esi
call fcn.00470d64
mov eax, dword [ebp - 0x2c]
call fcn.0046a83c
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x4731a4
mov eax, esi
call fcn.00470d64
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00408f78
inc eax
je 0x473075
lea ecx, [ebp - 0x34]
mov edx, 0x4731a4
mov eax, esi
call fcn.00470d64
mov eax, dword [ebp - 0x34]
call fcn.00408f3c
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.0040a4e8
fstp qword [ebp - 0x3c]
wait
call fcn.0040a880
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x473090
lea ecx, [ebp - 0x40]
mov edx, 0x4731a4
mov eax, esi
call fcn.00470d64
mov eax, dword [ebp - 0x40]
call fcn.0046a83c
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x4731b4
mov eax, esi
call fcn.00470d64
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.004048b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4730d9
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00404880
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.00404880
ret
Function at 0x479e64
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 0x479ebe
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.00479e54
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.004694a8
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.004690a8
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 0x479ec5
lea eax, [ebp - 4]
call fcn.0040485c
ret

Function at 0x47de20
Capabilities:
Resolve dns

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffe0
mov esi, ecx
mov ebx, edx
mov eax, esi
call fcn.0040485c
test ebx, ebx
je 0x47dec1
mov al, byte [ebx]
add al, 0xd0
sub al, 0xa
jae 0x47de5c
mov eax, ebx
call fcn.00404d1c
push eax
call sub.wsock32.dll_inet_addr
inc eax
je 0x47decd
mov eax, esi
mov edx, ebx
call fcn.004048b0
jmp 0x47decd
mov eax, ebx
call fcn.00404d1c
push eax
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x47decd
mov ebx, eax
push esi
mov eax, dword [ebx + 0xc]
mov edi, dword [eax]
xor eax, eax
mov al, byte [edi]
mov dword [esp + 4], eax
mov byte [esp + 8], 0
xor eax, eax
mov al, byte [edi + 1]
mov dword [esp + 0xc], eax
mov byte [esp + 0x10], 0
xor eax, eax
mov al, byte [edi + 2]
mov dword [esp + 0x14], eax
mov byte [esp + 0x18], 0
xor eax, eax
mov al, byte [edi + 3]
mov dword [esp + 0x1c], eax
mov byte [esp + 0x20], 0
lea edx, [esp + 4]
mov ecx, 3
mov eax, 0x47dedc
call fcn.00409bdc
jmp 0x47decd
mov eax, esi
mov edx, 0x47def0
call fcn.004048b0
add esp, 0x20
pop edi
pop esi
pop ebx
ret

Function at 0x47e9f4
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x47ea7d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4bb0b0
push 0x101
call sub.wsock32.dll_WSAStartup
mov ebx, eax
test ebx, ebx
je 0x47ea67
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.0040be98
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0xc], 0
mov eax, 0x47ea94
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0x4b971c]
mov dl, 1
mov eax, dword [0x47e1f8]
call fcn.0040c7bc
call fcn.00404214
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47ea84
lea eax, [ebp - 0x1c]
call fcn.0040485c
ret

Function at 0x47f124
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.0047f048
mov cl, 1
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00403c84
push 0x10
lea eax, [ebx + 0x18]
push eax
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_connect
mov edx, 0x47f188
call fcn.0047e93c
mov byte [ebx + 0x29], 0
test byte [ebx + 0x28], 0x10
jne 0x47f17a
cmp dword [ebx + 4], 0xffffffff
setne al
mov byte [ebx + 8], al
mov cl, 2
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00403c84
pop esi
pop ebx
ret
Function at 0x47f1ac
Capabilities:
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, edx
mov eax, ebx
call fcn.00404d1c
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 4
call fcn.004030c4
test ebx, ebx
je 0x47f1f7
mov eax, ebx
mov edx, dword [eax + 0xc]
mov edx, dword [edx]
mov cl, byte [edx]
mov byte [esp + 4], cl
mov cl, byte [edx + 1]
mov byte [esp + 5], cl
mov cl, byte [edx + 2]
mov byte [esp + 6], cl
mov al, byte [edx + 3]
mov byte [esp + 7], al
mov eax, dword [esp + 4]
mov dword [esp], eax
mov eax, dword [esp]
pop ecx
pop edx
pop ebx
ret

Function at 0x47f2d4
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x47f305
mov ecx, dword [0x4b95a4]
mov dl, 1
mov eax, dword [0x47e1f8]
call fcn.0040c780
call fcn.00404214
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], ebx
inc ebx
jne 0x47f332
mov ecx, dword [0x4b94f4]
mov dl, 1
mov eax, dword [0x47e1f8]
call fcn.0040c780
call fcn.00404214
xor eax, eax
push ebp
push 0x47f3ae
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xffff
call fcn.00403c84
cmp byte [ebp + 8], 0
je 0x47f38a
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 1
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.0047f23c
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x18]
lea edi, [eax + 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 4]
call fcn.0047f124
jmp 0x47f3a4
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 0
push 1
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.0047ec28
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47f3cb
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x47f5ac
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff0
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0047eee4
xor eax, eax
push ebp
push 0x47f71d
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x47f707
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x47f5f7
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x47f601
call fcn.004042c0
jmp 0x47f724
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00417b10
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x1010]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, 0x1000
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ebx, eax
test ebx, ebx
jle 0x47f6fc
push 0
push ebx
lea eax, [ebp - 0x1010]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x47f6af
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x47f69c
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403c84
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
push ebp
call fcn.0047f564
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x47f730]
cmp dl, byte [eax + 0x28]
je 0x47f703
call fcn.0040c6a4
jmp 0x47f703
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00417b30
jmp 0x47f703
cmp ecx, ebx
jge 0x47f6cb
mov eax, dword [ebp - 0xc]
add eax, ecx
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00417b30
jmp 0x47f601
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00417b10
cmp edx, dword [esp + 4]
jne 0x47f6eb
cmp eax, dword [esp]
pop edx
pop eax
jne 0x47f601
push ebp
call fcn.0047f564
pop ecx
jmp 0x47f703
push ebp
call fcn.0047f564
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47f724
mov eax, dword [ebp - 4]
call fcn.0047eef0
ret
mov al, byte [ebp - 5]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47f734
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47f856
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0047eee4
xor eax, eax
push ebp
push 0x47f839
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x47f784
call fcn.004042c0
jmp 0x47f840
push 0
push esi
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x47f823
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x47f823
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403c84
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 0x47f823
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040be98
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, 0x47f870
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x4b971c]
mov dl, 1
mov eax, dword [0x47e1f8]
call fcn.0040c7bc
call fcn.00404214
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47f840
mov eax, dword [ebp - 4]
call fcn.0047eef0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47f85d
lea eax, [ebp - 0x28]
call fcn.0040485c
ret
Function at 0x47f8bc
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 0x47fa06
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0047eee4
xor eax, eax
push ebp
push 0x47f9e9
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x47f921
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x47f921
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 0x47f9d3
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x47f934
call fcn.004042c0
jmp 0x47f9f0
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 0x47f9d3
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x47f9d3
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403c84
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 0x47f9d3
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040be98
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, 0x47fa20
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x4b971c]
mov dl, 1
mov eax, dword [0x47e1f8]
call fcn.0040c7bc
call fcn.00404214
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47f9f0
mov eax, dword [ebp - 4]
call fcn.0047eef0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47fa0d
lea eax, [ebp - 0x28]
call fcn.0040485c
ret
Function at 0x48157c
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 0x4817dc
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x4815df
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.00481044
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040d080
cmp al, 1
jne 0x4815df
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.0048135c
test al, al
je 0x48176b
cmp dword [ebp - 8], 0
jge 0x4815fd
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.00481044
mov eax, dword [ebp - 0x210]
call fcn.00404b1c
cmp ebx, eax
jge 0x481647
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.00481044
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x4b9878]
and eax, 0xff
bt dword [edx], eax
jae 0x481647
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x48165b
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00481558
cmp ebx, dword [ebp - 8]
je 0x48175d
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 0x481687
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403c84
and eax, 0x7f
movzx eax, word [eax*2 + 0x4b87d8]
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 0x48174a
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403c84
and eax, 0x7f
movzx eax, word [eax*2 + 0x4b87d8]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.0044ae10
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403c84
and eax, 0x7f
movzx eax, word [eax*2 + 0x4b87d8]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.0044ae10
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x481751
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 0x4817be
cmp dword [ebp - 8], 0
jge 0x481776
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.00481044
mov eax, dword [ebp - 0x218]
call fcn.00404b1c
cmp eax, dword [ebp - 8]
jg 0x4817b0
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.00481044
mov eax, dword [ebp - 0x21c]
call fcn.00404b1c
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00481558
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4817e3
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00404880
ret
Function at 0x48ece4
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x48ed12
mov eax, ebx
call fcn.0048f798
cmp dword [ebx + 0x40], 0
je 0x48ed0b
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x48ed83
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x48ed75
cmp dword [ebx + 8], 0
je 0x48ed34
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 0x48ed46
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x48ed75
cmp dword [ebx + 8], 0
je 0x48ed27
cmp eax, 3
je 0x48ed59
dec eax
jne 0x48ed27
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 0x48ed27
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x48ed27
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x48eda1
cmp dword [ebx + 0x14], 0xcc
je 0x48eda1
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.0048edac
pop ebx
ret

Function at 0x4a22c4
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ecx
mov dword [esp], 1
push 0
Function at 0x401790
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
xor eax, eax
cmp dword [esp + 0x20], 0
je 0x401870
mov ebx, dword [esp + 0x24]
test ebx, ebx
je 0x401870
mov ebp, dword [esp + 0x28]
test ebp, ebp
je 0x4017da
mov ecx, 0x1505
xor edi, edi
nop
movzx edx, byte [ebx + edi]
test edx, edx
je 0x4017e1
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc edi
mov ecx, esi
cmp ebp, edi
jne 0x4017c0
jmp 0x4017e3
mov esi, 0x1505
jmp 0x4017e3
mov esi, ecx
mov ecx, dword [esp + 0x20]
mov edi, dword [ecx + 0x20]
mov ebx, edi
sub ebx, 1
jb 0x401870
and ebx, esi
mov eax, edi
xor eax, 1
mov edx, edi
and edx, 0xfffffffe
add edx, edx
sub edx, eax
mov dword [esp + 8], edx
mov eax, dword [ecx + 4]
mov dword [esp + 4], eax
jmp 0x401814
inc ebx
dec edi
je 0x40186e
mov eax, ebx
and eax, dword [esp + 8]
mov edx, dword [esp + 4]
mov ebp, dword [edx + eax*4]
cmp ebp, 0xffffffff
je 0x40186e
mov eax, dword [ecx + 8]
cmp dword [eax + ebp*4], esi
jne 0x401810
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + ebp*4]
mov dword [esp], eax
push eax
call fcn.004083c0
mov ecx, dword [esp + 0x24]
add esp, 4
cmp eax, dword [esp + 0x28]
jne 0x401810
push dword [esp + 0x28]
push dword [esp + 4]
push dword [esp + 0x2c]
call fcn.004083e0
mov ecx, dword [esp + 0x2c]
add esp, 0xc
test eax, eax
jne 0x401810
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + ebp*4]
jmp 0x401870
xor eax, eax
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x401cd0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, 0xffffffff
cmp dword [esp + 0x24], 0
je 0x401dd4
mov esi, dword [esp + 0x28]
test esi, esi
je 0x401dd4
cmp dword [esp + 0x2c], 0
je 0x401dd4
push esi
call fcn.004083c0
add esp, 4
test eax, eax
je 0x401d3a
mov ecx, 0x1505
xor edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esi + edi]
test edx, edx
je 0x401d41
mov ebx, ecx
shl ebx, 5
add ebx, ecx
add ebx, edx
inc edi
mov ecx, ebx
cmp eax, edi
jne 0x401d20
jmp 0x401d43
mov ebx, 0x1505
jmp 0x401d43
mov ebx, ecx
mov ecx, dword [esp + 0x24]
mov edi, dword [ecx + 0x20]
mov esi, edi
sub esi, 1
jae 0x401ddc
mov ebp, 0xffffffff
mov eax, dword [ecx + 0x18]
cmp eax, dword [ecx + 0x1c]
jb 0x401d99
call fcn.00401ef0
mov ecx, eax
mov eax, 0xffffffff
test ecx, ecx
mov ecx, dword [esp + 0x28]
jne 0x401dd4
push ecx
call fcn.004083c0
add esp, 4
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
mov edi, dword [ecx + 0x20]
mov esi, edi
sub esi, 1
jae 0x401e60
mov ebp, 0xffffffff
mov eax, dword [ecx + 0xc]
mov edx, dword [ecx + 0x18]
mov esi, dword [esp + 0x28]
mov dword [eax + edx*4], esi
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 0x18]
mov dword [eax + ebp*4], edx
mov eax, dword [ecx + 0x10]
mov esi, dword [esp + 0x2c]
mov dword [eax + edx*4], esi
mov eax, dword [ecx + 0x14]
mov edx, dword [ecx + 0x18]
mov dword [eax + edx*4], ebp
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0x18]
mov dword [eax + edx*4], ebx
inc dword [ecx + 0x18]
mov eax, dword [ecx]
mov dword [esi], eax
xor eax, eax
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp], eax
and esi, ebx
mov eax, edi
xor eax, 1
mov edx, edi
and edx, 0xfffffffe
add edx, edx
sub edx, eax
mov dword [esp + 8], edx
mov eax, dword [ecx + 4]
mov dword [esp + 4], eax
jmp 0x401e08
inc esi
dec edi
je 0x401d55
mov ebp, esi
and ebp, dword [esp + 8]
mov eax, dword [esp + 4]
mov eax, dword [eax + ebp*4]
cmp eax, 0xffffffff
je 0x401d5a
mov edx, dword [ecx + 8]
cmp dword [edx + eax*4], ebx
jne 0x401e00
mov ecx, dword [ecx + 0xc]
mov ebp, dword [ecx + eax*4]
push ebp
call fcn.004083c0
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x401e00
push dword [esp]
push ebp
push dword [esp + 0x30]
call fcn.004083e0
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x401e00
mov eax, 0xffffffff
jmp 0x401dd4
and esi, ebx
mov eax, edi
xor eax, 1
mov edx, edi
and edx, 0xfffffffe
add edx, edx
sub edx, eax
mov dword [esp + 8], edx
mov eax, dword [ecx + 4]
mov dword [esp + 4], eax
jmp 0x401e88
inc esi
dec edi
je 0x401d94
mov ebp, esi
and ebp, dword [esp + 8]
mov eax, dword [esp + 4]
mov eax, dword [eax + ebp*4]
cmp eax, 0xffffffff
je 0x401d99
mov edx, dword [ecx + 8]
cmp dword [edx + eax*4], ebx
jne 0x401e80
mov ecx, dword [ecx + 0xc]
mov eax, dword [ecx + eax*4]
mov dword [esp + 0xc], eax
push eax
call fcn.004083c0
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x401e80
push dword [esp]
push dword [esp + 0x10]
push dword [esp + 0x30]
call fcn.004083e0
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x401e80
jmp 0x401d99