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

Disassembly:
push 0xffffffffffffffff
push 0x533303
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
push ebp
push esi
mov esi, ecx
xor eax, eax
push edi
mov dword [esp + 0x14], esi
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esp + 0x60], 1
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x60], 2
push ecx
push eax
push str.localization.txt
push 0x557d48
push str.global
call fcn.00451fd0
mov edx, dword [str.global_]
mov ebp, eax
mov eax, dword [0x557d3c]
mov ecx, 0xe
mov dword [esp + 0x30], eax
xor eax, eax
lea edi, [esp + 0x34]
mov dword [esp + 0x2c], edx
rep stosd dword es:[edi], eax
lea edi, [esp + 0x2c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 0x47f530
mov ebx, ecx
mov ecx, dword [esp + 0x28]
push 4
push ecx
push ebp
call fcn.0051c7cc
mov eax, dword [esp + 0x34]
add esp, 0x24
xor edi, edi
test eax, eax
jle 0x47f624
lea ebx, [esp + ebx + 0x18]
mov ecx, dword [ebp + edi*4]
mov edx, ebx
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x47f605
lea edx, [esp + 0x18]
mov ecx, esi
push edx
call fcn.0047f650
mov eax, dword [esp + 0x10]
inc edi
cmp edi, eax
jl 0x47f5ff
push ebp
call fcn.00452420
mov ecx, dword [esp + 0x5c]
add esp, 4
mov eax, esi
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret

Function at 0x480e90
Capabilities:
Get memory capacity

Disassembly:
mov eax, dword [0xcda2c8]
sub esp, 0x20
mov ecx, dword [eax + 0x20]
test ecx, ecx
jne 0x480ea8
mov eax, 1
add esp, 0x20
ret
lea ecx, [esp]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov edx, dword [0xcda2c8]
mov eax, dword [edx + 0x20]
mov edx, dword [esp + 8]
shl eax, 0x14
cmp eax, edx
sbb eax, eax
inc eax
add esp, 0x20
ret

Function at 0x480ed0
Capabilities:
Get disk size

Disassembly:
sub esp, 0x14
lea eax, [esp + 0xc]
lea ecx, [esp + 8]
push eax
lea edx, [esp + 8]
push ecx
lea eax, [esp + 8]
push edx
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
mov ecx, dword [esp]
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 0
fild qword [esp + 0xc]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 0
fimul dword [esp + 0xc]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0
fimul dword [esp + 0xc]
fmul dword [0x537a0c]
fcomp dword [0x537a10]
fnstsw ax
test ah, 5
jp 0x480f47
mov eax, 1
add esp, 0x14
ret
xor eax, eax
add esp, 0x14
ret
Function at 0x481530
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x481549
lea eax, [esp + 4]
push eax
push str.Software2015MOHAA
push closesocket
jmp 0x481558
lea ecx, [esp + 4]
push ecx
push str.Software2015MOHAA
push reloc.WSOCK32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x481565
xor eax, eax
ret
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
xor eax, eax
push esi
test edx, edx
mov edx, dword [esp + 0x14]
sete al
push edx
mov edx, dword [esp + 0x10]
lea eax, [eax + eax + 1]
push ecx
push eax
mov eax, dword [esp + 0x14]
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 8]
mov esi, eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop esi
ret

Function at 0x4815b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0x18]
test esi, esi
jne 0x4815be
lea esi, [esp + 0xc]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4815d7
lea eax, [esp + 0x18]
push eax
push str.Software2015MOHAA
push closesocket
jmp 0x4815e6
lea ecx, [esp + 0x18]
push ecx
push str.Software2015MOHAA
push reloc.WSOCK32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x4815f5
xor eax, eax
pop esi
pop ecx
ret
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push esi
lea eax, [esp + 8]
push edx
mov edx, dword [esp + 0x20]
push eax
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop esi
pop ecx
ret

Function at 0x481630
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov eax, dword [0x80144c]
sub esp, 0xc
test eax, eax
push edi
jne 0x48170d
mov eax, dword [0x801450]
test eax, eax
jne 0x48170d
lea eax, [esp + 4]
mov edi, 1
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push closesocket
mov dword [0x801450], edi
mov dword [esp + 0x14], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x481707
lea ecx, [esp + 8]
lea edx, [esp + 0xc]
push ecx
push 0x801448
push edx
push eax
mov eax, dword [esp + 0x14]
push str.EnableAutodial
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4816fc
mov eax, dword [0x801448]
test eax, eax
je 0x4816fc
mov ecx, dword [esp + 4]
push esi
push 4
push 0x801454
push 4
push 0
push str.EnableAutodial
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 8]
mov esi, eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x481707
mov eax, dword [0x801448]
push eax
push 0x54710c
call fcn.004648a0
push eax
push str.com_autodialdata
call fcn.0044fa10
add esp, 0x10
pop edi
add esp, 0xc
ret
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [0x80144c], edi
pop edi
add esp, 0xc
ret
Function at 0x481720
Capabilities:
Set registry value

Disassembly:
push ecx
mov eax, dword [0x80144c]
test eax, eax
jne 0x4817b2
mov eax, dword [0x801450]
test eax, eax
je 0x4817b2
lea eax, [esp]
mov dword [0x801450], 0
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x481766
mov dword [0x80144c], 1
pop ecx
ret
mov ecx, dword [esp]
push esi
push 4
push 0x801448
push 4
push 0
push str.EnableAutodial
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 4]
mov esi, eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
je 0x4817a0
mov dword [0x80144c], 1
pop ecx
ret
push 0x570b44
push str.com_autodialdata
call fcn.0044fa10
add esp, 8
pop ecx
ret

Function at 0x4817c0
Capabilities:
Set registry value

Disassembly:
push 1
push 0x570b44
push str.com_autodialdata
call fcn.0044f480
mov eax, dword [eax + 0x20]
add esp, 0xc
test eax, eax
je 0x481801
push 0x570b44
push str.com_autodialdata
mov dword [0x801448], eax
mov dword [0x801450], 1
call fcn.0044fa10
add esp, 8
jmp fcn.00481720
ret

Function at 0x481dd0
Capabilities:
Get disk information

Disassembly:
sub esp, 0x108
lea eax, [esp + 4]
push ebx
push eax
xor ebx, ebx
push 0x8012f0
push str.PATH
push ebx
mov byte [0x8012f0], bl
mov dword [esp + 0x18], pe_nt_image_headers32
call fcn.004815b0
add esp, 0x10
test eax, eax
je 0x481ed5
push str.mohaa.exe
push 0x8012f0
push 0x557fd0
lea ecx, [esp + 0x18]
push pe_nt_image_headers32
push ecx
call fcn.00465360
lea edx, [esp + 0x20]
push 0x557fe0
push edx
call fcn.0051d8b5
add esp, 0x1c
cmp eax, ebx
je 0x481ecf
mov cl, byte [0x8012f0]
push eax
mov byte [esp + 8], cl
mov byte [esp + 9], 0x3a
mov byte [esp + 0xa], 0x5c
mov byte [esp + 0xb], bl
call fcn.0051d807
add esp, 4
lea edx, [esp + 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 5
jne 0x481ecf
push edi
mov edi, 0x8012f0
or ecx, 0xffffffff
xor eax, eax
xor edx, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x481ea8
cmp byte [edx + 0x8012f0], 0x5c
jne 0x481e94
mov byte [edx + 0x8012f0], 0x2f
mov edi, 0x8012f0
or ecx, 0xffffffff
xor eax, eax
inc edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp edx, ecx
jb 0x481e84
dec edx
pop edi
cmp edx, ebx
jle 0x481ebc
cmp byte [edx + 0x8012f0], 0x2f
jne 0x481ebc
dec edx
cmp edx, ebx
jg 0x481eae
mov byte [edx + 0x8012f1], bl
mov eax, 0x8012f0
pop ebx
add esp, 0x108
ret
mov byte [0x8012f0], bl
mov eax, 0x8012f0
pop ebx
add esp, 0x108
ret

Function at 0x482c70
Capabilities:
Check mutex on windows

Disassembly:
mov eax, dword [esp + 4]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
test eax, eax
mov dword [0x801440], eax
je 0x482cb7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x482cb2
mov ecx, dword [0x801440]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x801440], 0
mov eax, 1
ret
mov eax, dword [0x801440]
xor edx, edx
test eax, eax
sete dl
mov eax, edx
ret
Function at 0x482cd0
Capabilities:
Check os version

Disassembly:
sub esp, 0x94
lea eax, [esp]
mov dword [esp], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x482d07
cmp dword [esp + 4], 5
jb 0x482d07
cmp dword [esp + 0x10], 2
jne 0x482d07
mov eax, 1
add esp, 0x94
ret
xor eax, eax
add esp, 0x94
ret
Function at 0x4836d0
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x24]
xor eax, eax
push esi
push edi
mov dword [esp + 0x10], eax
mov esi, dword [0x802618]
test eax, eax
je 0x4836f1
mov esi, dword [0x801458]
test esi, esi
je 0x483858
mov edx, dword [0xccca94]
lea eax, [esp + 0x2c]
inc edx
lea ecx, [esp + 0x14]
mov dword [0xccca94], edx
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push ecx
push 0
push edx
push eax
push esi
mov dword [esp + 0x44], 0x10
call dword [sym.imp.WSOCK32.dll_recvfrom]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x483764
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x483858
cmp eax, 0x2746
je 0x483858
call fcn.004830d0
push eax
push str.NET_GetPacket:__s_n
call fcn.0044cca0
add esp, 8
jmp 0x483858
mov eax, dword [0x802618]
cmp esi, eax
jne 0x483777
xor ecx, ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ecx
mov ecx, dword [0x802670]
test ecx, ecx
je 0x483817
cmp esi, eax
jne 0x483817
mov ecx, dword [esp + 0x2c]
mov edi, 0x8025fc
lea esi, [esp + 0x14]
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x483817
cmp ebx, 0xa
jl 0x483858
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0
jne 0x483858
mov cl, byte [eax + 1]
test cl, cl
jne 0x483858
mov cl, byte [eax + 2]
test cl, cl
jne 0x483858
cmp byte [eax + 3], 1
jne 0x483858
mov esi, dword [esp + 0x28]
mov dword [esi], 4
mov eax, dword [ebp + 0xc]
mov cl, byte [eax + 4]
mov byte [esi + 4], cl
mov edx, dword [ebp + 0xc]
mov al, byte [edx + 5]
mov byte [esi + 5], al
mov ecx, dword [ebp + 0xc]
mov dl, byte [ecx + 6]
mov byte [esi + 6], dl
mov eax, dword [ebp + 0xc]
mov cl, byte [eax + 7]
mov byte [esi + 7], cl
mov edx, dword [ebp + 0xc]
mov ax, word [edx + 8]
mov word [esi + 0x12], ax
mov dword [ebp + 0x18], 0xa
jmp 0x483834
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x14]
push ecx
push edx
call fcn.004833d0
mov esi, dword [esp + 0x30]
add esp, 8
mov dword [ebp + 0x18], 0
cmp ebx, dword [ebp + 0x10]
jne 0x483874
sub esp, 0x14
mov ecx, 5
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00460ae0
push eax
push str.Oversize_packet_from__s_n
call fcn.0044cca0
add esp, 0x1c
mov eax, dword [esp + 0x10]
inc eax
cmp eax, 2
mov dword [esp + 0x10], eax
jl 0x4836e1
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
pop edi
mov dword [ebp + 0x14], ebx
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x14
ret
Function at 0x483890
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x10
push ebp
push esi
mov esi, dword [esp + 0x24]
cmp esi, 3
jne 0x4838a6
mov ebp, dword [0x802618]
jmp 0x4838c7
cmp esi, 4
jne 0x4838b3
mov ebp, dword [0x802618]
jmp 0x4838c7
cmp esi, 5
je 0x4838c1
cmp esi, 6
jne 0x4839b4
mov ebp, dword [0x801458]
test ebp, ebp
je 0x4839c3
lea eax, [esp + 8]
lea ecx, [esp + 0x24]
push eax
push ecx
call fcn.00483320
mov eax, dword [0x802670]
add esp, 8
test eax, eax
je 0x48395e
cmp esi, 4
jne 0x48395e
mov ax, word [esp + 0xa]
mov edx, dword [esp + 0xc]
mov esi, dword [esp + 0x20]
mov word [0x801600], ax
mov eax, dword [esp + 0x1c]
mov dword [0x8015fc], edx
mov ecx, eax
push edi
mov edx, ecx
mov edi, 0x801602
shr ecx, 2
mov byte [0x8015f8], 0
mov byte [0x8015f9], 0
mov byte [0x8015fa], 0
mov byte [0x8015fb], 1
rep movsd dword es:[edi], dword [esi]
push 0x10
mov ecx, edx
push 0x8025fc
add eax, 0xa
push 0
and ecx, 3
push eax
push 0x8015f8
rep movsb byte es:[edi], byte [esi]
push ebp
call dword [sym.imp.WSOCK32.dll_sendto]
mov esi, dword [esp + 0x28]
pop edi
jmp 0x483978
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
lea eax, [esp + 8]
push 0x10
push eax
push 0
push ecx
push edx
push ebp
call dword [sym.imp.WSOCK32.dll_sendto]
cmp eax, 0xffffffff
jne 0x4839c3
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x4839c3
cmp eax, 0x2741
jne 0x48399b
cmp esi, 3
je 0x4839c3
cmp esi, 6
je 0x4839c3
call fcn.004830d0
push eax
push str.NET_SendPacket:__s_n
call fcn.0044cca0
add esp, 8
pop esi
pop ebp
add esp, 0x10
ret
push str.Sys_SendPacket:_bad_address_type
push 0
call fcn.0044cf70
add esp, 8
pop esi
pop ebp
add esp, 0x10
ret
Function at 0x483b50
Capabilities:
Create udp socket
Set socket configuration

Disassembly:
sub esp, 0x18
push ebp
mov ebp, dword [esp + 0x24]
push esi
push edi
mov edi, dword [esp + 0x28]
mov eax, 1
test edi, edi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
push ebp
je 0x483b80
push edi
push str.Opening_IP_socket:__s:_i_n
call fcn.0044cca0
add esp, 0xc
jmp 0x483b8d
push str.Opening_IP_socket:_localhost:_i_n
call fcn.0044cca0
add esp, 8
push 0x11
push 2
push 2
call dword [sym.imp.WSOCK32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
jne 0x483bc9
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
cmp eax, 0x273f
je 0x483bc0
call fcn.004830d0
push eax
push str.WARNING:_UDP_OpenSocket:_socket:__s
call fcn.0044cca0
add esp, 8
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x18
ret
lea eax, [esp + 0xc]
push eax
push 0x8004667e
push esi
call dword [sym.imp.WSOCK32.dll_ioctlsocket]
cmp eax, 0xffffffff
jne 0x483bfb
call fcn.004830d0
push eax
push str.WARNING:_UDP_OpenSocket:_ioctl_FIONBIO:__s_n
call fcn.0044cca0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x18
ret
lea ecx, [esp + 0x10]
push 4
push ecx
push 0x20
push 0xffff
push esi
call dword [sym.imp.WSOCK32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x483c31
call fcn.004830d0
push eax
push str.WARNING:_UDP_OpenSocket:_setsockopt_SO_BROADCAST:__s_n
call fcn.0044cca0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x18
ret
test edi, edi
je 0x483c5c
cmp byte [edi], 0
je 0x483c5c
push str.localhost
push edi
call fcn.0051d450
add esp, 8
test eax, eax
je 0x483c5c
lea edx, [esp + 0x14]
push edx
push edi
call fcn.00483430
add esp, 8
jmp 0x483c64
mov dword [esp + 0x18], 0
cmp ebp, 0xffffffff
jne 0x483c72
mov word [esp + 0x16], 0
jmp 0x483c7e
push ebp
call dword [sym.imp.WSOCK32.dll_htons]
mov word [esp + 0x16], ax
lea eax, [esp + 0x14]
push 0x10
push eax
push esi
mov word [esp + 0x20], 2
call dword [sym.imp.WSOCK32.dll_bind]
cmp eax, 0xffffffff
jne 0x483cbb
call fcn.004830d0
push eax
push str.WARNING:_UDP_OpenSocket:_bind:__s_n
call fcn.0044cca0
add esp, 8
push esi
call dword [sym.imp.WSOCK32.dll_closesocket]
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x18
ret
mov eax, esi
pop edi
pop esi
pop ebp
add esp, 0x18
ret
Function at 0x4840f0
Capabilities:
Get hostname
Resolve dns

Disassembly:
sub esp, 0x104
lea eax, [esp + 4]
push ebp
push esi
push edi
push pe_nt_image_headers32
push eax
call dword [sym.imp.WSOCK32.dll_gethostname]
cmp eax, 0xffffffff
jne 0x48411d
pop edi
pop esi
pop ebp
add esp, 0x104
jmp dword [sym.imp.WSOCK32.dll_WSAGetLastError]
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.WSOCK32.dll_gethostbyname]
mov edi, eax
test edi, edi
jne 0x48413d
pop edi
pop esi
pop ebp
add esp, 0x104
jmp dword [sym.imp.WSOCK32.dll_WSAGetLastError]
mov edx, dword [edi]
push edx
push str.Hostname:__s_n
call fcn.0044cca0
mov eax, dword [edi + 4]
add esp, 8
mov eax, dword [eax]
test eax, eax
je 0x484173
xor esi, esi
push eax
push str.Alias:__s_n
add esi, 4
call fcn.0044cca0
mov ecx, dword [edi + 4]
add esp, 8
mov eax, dword [esi + ecx]
test eax, eax
jne 0x484158
cmp word [edi + 8], 2
jne 0x48420d
xor eax, eax
mov dword [0x802664], eax
mov edx, dword [edi + 0xc]
mov esi, dword [edx]
test esi, esi
je 0x48420d
mov ebp, dword [sym.imp.WSOCK32.dll_ntohl]
cmp eax, 0x10
jge 0x48420d
mov eax, dword [esi]
push eax
call ebp
mov ecx, dword [0x802664]
mov dl, byte [esi]
mov dword [esp + 0xc], eax
mov byte [ecx*4 + 0x802620], dl
mov dl, byte [esi + 1]
mov byte [ecx*4 + 0x802621], dl
mov dl, byte [esi + 2]
mov byte [ecx*4 + 0x802622], dl
mov dl, byte [esi + 3]
mov byte [ecx*4 + 0x802623], dl
mov ecx, eax
xor edx, edx
and ecx, 0xff
mov dl, ah
push ecx
xor eax, eax
xor ecx, ecx
mov al, byte [esp + 0x12]
mov cl, byte [esp + 0x13]
push edx
push eax
push ecx
push str.IP:__i._i._i._i_n
call fcn.0044cca0
mov eax, dword [0x802664]
add esp, 0x14
inc eax
mov dword [0x802664], eax
mov edx, dword [edi + 0xc]
mov esi, dword [edx + eax*4]
test esi, esi
jne 0x484194
pop edi
pop esi
pop ebp
add esp, 0x104
ret
Function at 0x484330
Capabilities:
Create tcp socket
Set socket configuration

Disassembly:
sub esp, 0x14
push esi
push 0x3e8
push 2
push 6
mov dword [esp + 0x10], 1
call dword [sym.imp.WSOCK32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
jne 0x484379
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
cmp eax, 0x273f
je 0x484372
call fcn.004830d0
push eax
push str.WARNING:_IPX_Socket:_socket:__s_n
call fcn.0044cca0
add esp, 8
xor eax, eax
pop esi
add esp, 0x14
ret
lea eax, [esp + 4]
push eax
push 0x8004667e
push esi
call dword [sym.imp.WSOCK32.dll_ioctlsocket]
cmp eax, 0xffffffff
jne 0x4843a9
call fcn.004830d0
push eax
push str.WARNING:_IPX_Socket:_ioctl_FIONBIO:__s_n
call fcn.0044cca0
add esp, 8
xor eax, eax
pop esi
add esp, 0x14
ret
lea ecx, [esp + 4]
push 4
push ecx
push 0x20
push 0xffff
push esi
call dword [sym.imp.WSOCK32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x4843dd
call fcn.004830d0
push eax
push str.WARNING:_IPX_Socket:_setsockopt_SO_BROADCAST:__s_n
call fcn.0044cca0
add esp, 8
xor eax, eax
pop esi
add esp, 0x14
ret
mov eax, dword [esp + 0x1c]
xor edx, edx
xor ecx, ecx
mov dword [esp + 0xe], edx
cmp eax, 0xffffffff
mov word [esp + 8], 6
mov dword [esp + 0xa], ecx
mov word [esp + 0x12], dx
jne 0x484405
mov word [esp + 0x14], cx
jmp 0x484411
push eax
call dword [sym.imp.WSOCK32.dll_htons]
mov word [esp + 0x14], ax
lea eax, [esp + 8]
push 0xe
push eax
push esi
call dword [sym.imp.WSOCK32.dll_bind]
cmp eax, 0xffffffff
jne 0x484445
call fcn.004830d0
push eax
push str.WARNING:_IPX_Socket:_bind:__s_n
call fcn.0044cca0
add esp, 8
push esi
call dword [sym.imp.WSOCK32.dll_closesocket]
xor eax, eax
pop esi
add esp, 0x14
ret
mov eax, esi
pop esi
add esp, 0x14
ret

Function at 0x4846d0
Capabilities:
Initialize winsock library

Disassembly:
push 0x801460
push 0x101
call dword [sym.imp.WSOCK32.dll_WSAStartup]
test eax, eax
je 0x4846f3
push eax
push str.WARNING:_Winsock_initialization_failed__returned__d_n
call fcn.0044cca0
add esp, 8
ret
push str.Winsock_Initialized_n
mov dword [0x80266c], 1
call fcn.0044cca0
call fcn.00484580
push 1
call fcn.00484490
add esp, 8
ret
Function at 0x488980
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x802c18]
test eax, eax
je 0x4889b5
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x802c18]
push eax
call dword [sym.imp.USER32.dll_CloseWindow]
mov ecx, dword [0x802c18]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [0x802c18], 0
ret

Function at 0x4889c0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [0x80309c], eax
mov eax, dword [0x803098]
cmp ecx, eax
je 0x488a3a
mov edx, dword [0x802c18]
mov dword [0x803098], ecx
test edx, edx
je 0x488a3a
mov eax, ecx
sub eax, 0
je 0x488a31
dec eax
je 0x488a0e
dec eax
je 0x488a04
mov dword [esp + 8], ecx
mov dword [esp + 4], str.Invalid_visLevel__d_sent_to_Sys_ShowConsole_n
jmp fcn.004813b0
push 6
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
ret
push 1
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x802c1c]
push 0xffff
push 0
push 0xb6
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
ret
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
ret

Function at 0x489280
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 8]
mov dword [0xccc9f4], eax
call fcn.00436960
mov eax, dword [esp + 4]
test eax, eax
je 0x4892ef
mov eax, dword [0xccc9f4]
test eax, eax
jne 0x4892ef
mov eax, dword [0x55a928]
mov dword [0xccc9f0], 1
test eax, eax
jne 0x489355
mov eax, dword [0x1003c70]
test eax, eax
jne 0x489355
mov eax, dword [0xccc9c4]
test eax, eax
je 0x489355
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x489355
push str.vid_restart_n
call fcn.0044be60
add esp, 4
mov dword [0x55a928], 1
ret
push 0
mov dword [0xccc9f0], 0
call fcn.0047ea70
mov ecx, dword [0xee1cc0]
add esp, 4
mov eax, dword [ecx + 0x20]
test eax, eax
jne 0x48932c
mov edx, dword [0xee1cd4]
mov eax, dword [edx + 0x20]
test eax, eax
je 0x48932c
call fcn.00478210
mov dword [0x8030cc], 1
mov eax, dword [0xccc9c4]
test eax, eax
je 0x48939d
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x48939d
mov eax, dword [0xccc9e8]
push 6
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
call dword [sym.imp.USER32.dll_ChangeDisplaySettingsA]
ret
push 1
mov dword [0x55a928], 0
call fcn.0047ea70
mov ecx, dword [0xccc9e8]
add esp, 4
push ecx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov edx, dword [0xccc9e8]
push 9
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x8030cc]
test eax, eax
je 0x48939d
call fcn.00478260
mov dword [0x8030cc], 0
ret
Function at 0x489d70
Capabilities:
Log keystrokes via application hook

Disassembly:
mov eax, dword [0x8030c0]
test eax, eax
jne 0x489db5
mov eax, dword [0x8030c4]
test eax, eax
jne 0x489db5
mov eax, dword [0xccc9ec]
push 0
push eax
push 0x489b30
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
test eax, eax
mov dword [0x8030b4], eax
je 0x489dab
mov dword [0x8030c0], 1
ret
mov dword [0x8030c4], 1
ret
Function at 0x4a03e0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4a0413
push esi
call fcn.004d1ac0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4a040c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x4a0449
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4a043b
mov ecx, dword [esi]
push esi
mov dword [ecx + 0x14], 0x2d
mov edx, dword [esi]
call dword [edx]
add esp, 4
mov eax, dword [esi + 0x90]
mov dword [esi + 0x98], eax
jmp 0x4a0469
cmp eax, 0xcc
je 0x4a0469
mov ecx, dword [esi]
push esi
mov dword [ecx + 0x14], 0x11
mov edx, dword [esi]
mov eax, dword [esi + 0x10]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
call dword [ecx]
add esp, 4
cmp dword [esi + 0x10], 0xcc
je 0x4a048f
mov edx, dword [esi + 0x1a0]
push esi
call dword [edx]
add esp, 4
mov dword [esi + 0x8c], 0
mov dword [esi + 0x10], 0xcc
mov eax, dword [esi + 0x1a0]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x4a04ba
mov ecx, dword [esi]
push esi
mov dword [ecx + 0x14], 0x2d
mov edx, dword [esi]
call dword [edx]
mov eax, dword [esi + 0x1a0]
add esp, 4
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x4a049c
mov edx, dword [esi + 0x44]
xor ecx, ecx
test edx, edx
setne cl
add ecx, 0xcd
mov eax, 1
mov dword [esi + 0x10], ecx
pop esi
ret