joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4fd2dc
Capabilities:
Access peb ldr_data
Get kernel32 base address
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x678fc6
call fcn.0062921c
push ecx
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.0050d107
xor ebx, ebx
mov dword [esi + 0xc], 0x6b0b5c
mov dword [ebp - 4], ebx
mov dword [esi + 0x10], 0x68ea80
mov dword [esi + 0x14], ebx
mov eax, dword [ebp + 0xc]
mov dl, byte [ebp + 8]
mov dword [esi], 0x6b0be0
mov dword [esi + 0xc], 0x6b1368
mov dword [esi + 0x10], 0x6b1140
mov byte [esi + 0x18], dl
mov dword [esi + 0x1c], ebx
mov byte [esi + 0x24], bl
mov dword [esi + 0x28], ebx
mov byte [esi + 0x30], bl
mov ecx, dword [eax]
movzx eax, dl
push eax
push ecx
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 2
call fcn.004f978a
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x64], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
push 0x779268
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x2c], ebx
call dword [sym.imp.KERNEL32.DLL_InterlockedIncrement]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x20], eax
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4ff2f6
Capabilities:
Get memory capacity

Disassembly:
mov eax, 0x67d4c8
call fcn.0062921c
sub esp, 0x24
push esi
push edi
mov al, 1
mov ecx, 0x7792b8
xchg byte [ecx], al
push str.ntdll
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
push str.NtSetInformationFile
push eax
mov dword [0x77972c], eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push 0xc
mov dword [0x76b878], eax
call fcn.006291e1
pop ecx
mov ecx, eax
mov dword [ebp - 0x10], ecx
test ecx, ecx
je 0x4ff362
mov edi, ecx
xor eax, eax
xor esi, esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ecx + 4], 0x68ea80
mov dword [ecx + 8], esi
mov dword [ecx], 0x6b143c
mov dword [ecx + 4], 0x6b1450
jmp 0x4ff366
xor esi, esi
mov ecx, esi
mov dword [ebp - 0x10], ecx
test ecx, ecx
je 0x4ff373
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
lea eax, [ebp - 0x10]
mov dword [ebp - 4], esi
push eax
call fcn.0052ad7b
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], 1
test eax, eax
je 0x4ff393
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
mov edi, 0x69ec88
push 0x6b1514
push edi
call fcn.0045f0a1
push str.SetFileValidData
push edi
mov dword [0x7796f8], eax
call fcn.0045f0a1
mov dword [0x7796fc], eax
test eax, eax
je 0x4ff3d1
push 2
push str.SeManageVolumePrivilege
call fcn.0045d053
mov byte [0x7792ce], al
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.DLL_CreateEventA]
push 0x6b1558
push 0x779700
mov dword [0x7796dc], eax
call fcn.00465f19
push 0x6b155c
push 0x77af10
call fcn.00465f19
push 0x6b1560
push 0x7796e0
call fcn.00465f19
call fcn.004ec961
push 0x6b1564
push 0x74ee40
call fcn.004ec9b2
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.DLL_GlobalMemoryStatus]
mov ecx, 0x8000000
cmp dword [ebp - 0x28], ecx
push esi
sbb eax, eax
and eax, 0xf8800000
add eax, ecx
push eax
push esi
push dword [ebp - 0x28]
mov dword [0x7792b0], eax
push str.total_physical_memory__Ld_max_disk_cache__Ld
call fcn.004771df
add esp, 0x14
call fcn.00536528
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x5018a2
Capabilities:
Clear file content
Get file attributes

Disassembly:
push ebp
mov ebp, esp
cmp byte [0x7792ce], 0
push ebx
push esi
push edi
je 0x5018be
cmp byte [0x779271], 0
je 0x5018be
xor bl, bl
jmp 0x5018c0
mov bl, 1
cmp byte [ebp + 0x20], 0
mov edi, dword [ebp + 8]
je 0x5018f8
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x14], 8
jb 0x5018d4
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
test eax, 0x200
je 0x50191b
push 0
lea eax, [ebp + 8]
mov byte [ebp + 0x23], 0
push eax
push 0
push 0
push 1
lea eax, [ebp + 0x23]
push eax
jmp 0x50190f
cmp byte [0x779270], 0
je 0x50191b
push 0
lea eax, [ebp + 8]
push eax
push 0
push 0
push 0
push 0
push 0x900c4
push edi
call dword [sym.imp.KERNEL32.DLL_DeviceIoControl]
cmp byte [ebp + 0x1c], 0
jne 0x50198c
mov esi, dword [ebp + 0x10]
add esi, 8
mov byte [0x7792b9], 1
test bl, bl
je 0x50193f
push dword [esi + 4]
push dword [esi]
push edi
call fcn.0045ccf0
jmp 0x50195e
push 0
push dword [esi + 4]
push dword [esi]
push edi
call fcn.0045ca5d
and eax, edx
cmp eax, 0xffffffff
je 0x501996
push edi
call dword [sym.imp.KERNEL32.DLL_SetEndOfFile]
test eax, eax
je 0x501996
cmp byte [0x7792ce], 0
je 0x501985
cmp byte [0x779271], 0
je 0x501985
cmp byte [0x779270], 0
jne 0x501985
push dword [esi + 4]
push dword [esi]
push edi
call dword [0x7796fc]
mov byte [0x7792b9], 0
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x1c
mov byte [0x7792b9], 0
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
xor eax, eax
jmp 0x50198f

Function at 0x503062
Capabilities:
Resume thread
Suspend thread

Disassembly:
mov eax, 0x67975f
call fcn.0062921c
sub esp, 0x14
push ebx
xor ebx, ebx
mov byte [ebp - 0xd], 1
push edi
mov edi, ecx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
lea eax, [ebp - 0x20]
mov dword [ebp - 4], ebx
push eax
push dword [edi + 4]
call fcn.00502de6
test al, al
je 0x50311c
mov ecx, dword [ebp - 0x1c]
mov eax, ecx
mov edx, dword [ebp - 0x20]
sub eax, edx
sar eax, 2
push esi
mov esi, ebx
test eax, eax
je 0x5030ed
push dword [edx + esi*4]
call dword [sym.imp.KERNEL32.DLL_SuspendThread]
cmp eax, 0xffffffff
jne 0x5030d8
mov byte [ebp - 0xd], bl
mov edi, ebx
test esi, esi
jle 0x5030d8
mov eax, dword [ebp - 0x20]
push dword [eax + edi*4]
call dword [sym.imp.KERNEL32.DLL_ResumeThread]
inc edi
cmp edi, esi
jl 0x5030c7
mov ecx, dword [ebp - 0x1c]
inc esi
mov edx, dword [ebp - 0x20]
mov eax, ecx
sub eax, edx
sar eax, 2
cmp esi, eax
jb 0x5030b0
mov edi, dword [ebp - 0x14]
sub ecx, edx
sar ecx, 2
pop esi
test ecx, ecx
je 0x503110
push dword [edx + ebx*4]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [ebp - 0x1c]
inc ebx
mov edx, dword [ebp - 0x20]
sub eax, edx
sar eax, 2
cmp ebx, eax
jb 0x5030f7
mov al, byte [ebp - 0xd]
test al, al
je 0x50311a
inc dword [edi + 0x14]
mov bl, al
lea ecx, [ebp - 0x20]
call fcn.005507c8
mov ecx, dword [ebp - 0xc]
mov al, bl
pop edi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x5031ce
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x67979f
call fcn.0062921c
sub esp, 0x38
and dword [ebp - 0x14], 0
push ebx
push esi
push edi
mov edi, ecx
lea ebx, [edi + 0xd0]
mov esi, ebx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x5031ef
push 0
lea eax, [ebp - 0x14]
sub esi, ecx
push eax
mov eax, 0xbb7
sub eax, esi
push eax
lea eax, [ebx + esi]
push eax
push dword [edi + 0xa8]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
mov eax, dword [ebp - 0x14]
je 0x503225
mov byte [ebp - 0xd], 1
test eax, eax
jne 0x503229
mov byte [ebp - 0xd], 0
add eax, esi
push 0xa
push ebx
mov byte [eax + edi + 0xd0], 0
mov eax, dword [ebp - 0x14]
add dword [edi + 0xc], eax
adc dword [edi + 0x10], 0
call fcn.0062e3f0
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x50325e
push 0xd
push ebx
call fcn.0062e3f0
pop ecx
pop ecx
mov esi, eax
jmp 0x503341
push ebx
lea ecx, [ebp - 0x44]
call fcn.0040a58f
mov eax, esi
mov dword [ebp - 0x18], 0xf
sub eax, edi
xor ecx, ecx
sub eax, 0xd0
mov dword [ebp - 4], ecx
push eax
push ecx
lea eax, [ebp - 0x44]
mov dword [ebp - 0x1c], ecx
mov byte [ebp - 0x2c], cl
lea ecx, [ebp - 0x2c]
push eax
call fcn.0040aaae
push 0
push 1
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.0040abbf
jmp 0x5032a7
cmp al, 0x20
jae 0x5032ad
inc esi
mov al, byte [esi]
test al, al
jne 0x5032a2
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5032b2
sub ecx, edx
lea eax, [ecx + 1]
push eax
push esi
push ebx
call fcn.0062b600
push 0xa
push ebx
call fcn.0062e3f0
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x5032e5
push 0xd
push ebx
call fcn.0062e3f0
pop ecx
mov esi, eax
pop ecx
test esi, esi
setne al
lea ecx, [edi + 0xac]
movzx eax, al
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00538875
lea ecx, [edi + 0xac]
call fcn.00538917
fmul qword [0x69aa68]
call fcn.00629e70
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], eax
test eax, eax
je 0x503331
lea ecx, [edi + 0xac]
call fcn.00538558
call fcn.00629e70
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
push 0
push 1
call fcn.0040abbf
test esi, esi
jne 0x50325e
cmp byte [ebp - 0xd], 0
jne 0x5031ea
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x503ca5
Capabilities:
Resume thread

Disassembly:
mov eax, 0x675ec5
call fcn.0062921c
sub esp, 0xc
push esi
xor esi, esi
push edi
mov edi, ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], esi
cmp dword [edi + 0x14], esi
je 0x503d10
lea eax, [ebp - 0x18]
push eax
push dword [edi + 4]
call fcn.00502de6
test al, al
je 0x503d10
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x503d0d
push dword [ecx + esi*4]
call dword [sym.imp.KERNEL32.DLL_ResumeThread]
mov eax, dword [ebp - 0x18]
push dword [eax + esi*4]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [ebp - 0x14]
inc esi
mov ecx, dword [ebp - 0x18]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x503ce8
dec dword [edi + 0x14]
lea ecx, [ebp - 0x18]
call fcn.005507c8
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x507a87
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push 1
push 0
push 2
push 2
mov esi, ecx
call fcn.00474d8c
mov eax, dword [esi + 4]
mov ecx, esi
mov edi, dword [ebp + 8]
push edi
mov dword [esi + 0x18], eax
call fcn.00473312
test eax, eax
je 0x507ace
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.UPnP:_Unable_to_bind_to_UPnP_port:__d
push 1
call fcn.005073a3
add esp, 0xc
xor al, al
jmp 0x507b5b
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_setsockopt]
lea eax, [edi + 0xc]
push 4
push eax
push 9
push 0
push dword [esi + 4]
call ebx
mov edi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
je 0x507b00
call edi
push eax
push str.UPnP:_Could_not_setup_socket_to_send_multicast_packets:__d
push 1
call fcn.005073a3
add esp, 0xc
push 4
lea eax, [ebp - 4]
mov dword [ebp - 4], 0xff
push eax
push 4
push 0
push dword [esi + 4]
call ebx
test eax, eax
je 0x507b2c
call edi
push eax
push str.UPnP:_Could_not_set_unicast_TTL:__d
push 1
call fcn.005073a3
add esp, 0xc
push 4
lea eax, [ebp - 4]
mov dword [ebp - 4], 0xff
push eax
push 0xa
push 0
push dword [esi + 4]
call ebx
pop ebx
test eax, eax
je 0x507b59
call edi
push eax
push str.UPnP:_Could_not_set_multicast_TTL:__d
push 1
call fcn.005073a3
add esp, 0xc
mov al, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x507b63
Capabilities:
Create udp socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push 0
push 2
pop eax
push eax
push eax
mov ebx, ecx
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebx], eax
cmp eax, 0xffffffff
jne 0x507b9d
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.UPnP:_Unable_to_create_socket:__d
push 1
call fcn.005073a3
add esp, 0xc
xor al, al
jmp 0x507ca5
lea ecx, [ebp - 4]
mov dword [ebp - 4], 1
push ecx
push 0x8004667e
push eax
call dword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
jne 0x507b96
push esi
push 4
lea eax, [ebp - 8]
xor esi, esi
push eax
push 4
push 0xffff
push dword [ebx]
inc esi
mov dword [ebp - 8], esi
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x507bec
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.UPnP:_Unable_to_setsockopt:__d
push esi
call fcn.005073a3
jmp 0x507c31
push edi
xor eax, eax
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
push 2
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
pop eax
push 0x76c
mov word [ebp - 0x20], ax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x1e], ax
lea eax, [ebp - 0x20]
push 0x10
push eax
push dword [ebx]
call dword [sym.imp.WS2_32.dll_bind]
pop edi
test eax, eax
je 0x507c36
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 0x6b1d9c
push esi
call fcn.005071f5
add esp, 0xc
jmp 0x507c91
mov esi, dword [sym.imp.WS2_32.dll_inet_addr]
push str.239.255.255.250
call esi
push str.0.0.0.0
mov dword [ebp - 0x10], eax
call esi
push 8
mov dword [ebp - 0xc], eax
xor esi, esi
lea eax, [ebp - 0x10]
push eax
push 0xc
push esi
push dword [ebx]
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x507c95
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.UPnP:_Could_not_join_multicast_group:__d
push 1
call fcn.005073a3
add esp, 0xc
mov byte [0x77974f], 1
or dword [0x779750], 0xffffffff
mov dword [0x779754], esi
xor al, al
jmp 0x507ca4
push str.UPnP:_Joined_multicast_group
push esi
call fcn.005071f5
pop ecx
pop ecx
mov al, 1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5083cd
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
xor eax, eax
mov word [ebp - 4], 0
lea edi, [ebp - 0x14]
mov esi, ecx
stosd dword es:[edi], eax
push 2
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, 0xe714
pop edi
push dword [ebp + 8]
mov word [ebp - 0x14], di
mov word [ebp - 0x12], ax
call dword [sym.imp.WS2_32.dll_htonl]
push 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
push 0
push edi
lea eax, [ebp - 4]
push eax
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_sendto]
xor ecx, ecx
test eax, eax
pop edi
setg al
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x5086b8
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
push edi
push dword [ebp + 0x14]
lea eax, [ebp - 0xc]
mov esi, ecx
push dword [ebp + 0x10]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call fcn.0050862c
xor eax, eax
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
push 2
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
pop eax
push dword [ebp + 8]
mov word [ebp - 0x1c], ax
mov eax, 0xe714
mov word [ebp - 0x1a], ax
call dword [sym.imp.WS2_32.dll_htonl]
push 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push eax
push 0
push 0xc
lea eax, [ebp - 0xc]
push eax
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_sendto]
xor ecx, ecx
test eax, eax
pop edi
setg al
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x508722
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push 1
push 0
push 2
push 2
mov esi, ecx
call fcn.00474d8c
push 4
lea eax, [ebp - 4]
mov dword [ebp - 4], 1
push eax
push 4
push 0xffff
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x50875d
xor al, al
jmp 0x508781
push 0x14e7
call fcn.0050866d
push eax
lea ecx, [ebp - 0x18]
call fcn.004c3ec7
push eax
mov ecx, esi
call fcn.00473312
mov ecx, esi
call fcn.00474500
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x5114d8
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ecx
push esi
push edi
mov edi, ecx
mov esi, dword [edi + 0x18]
jmp 0x5114f4
mov ecx, dword [esi]
push 0xffffffffffffffff
mov ecx, dword [ecx + 0xd8]
call fcn.004fb996
add esi, 4
cmp esi, dword [edi + 0x1c]
jne 0x5114e2
push dword [esp + 8]
mov eax, dword [edi + 0x18]
lea esi, [edi + 0x24]
push esi
mov dword [edi + 0x1c], eax
push dword [esi + 4]
push dword [esi]
call fcn.0050ecfe
mov eax, dword [esi]
push 1
mov dword [esi + 4], eax
push dword [edi + 0x3c]
call fcn.0045b404
xor eax, eax
lea ecx, [edi + 0x78]
push eax
mov dword [edi + 0x3c], eax
mov dword [edi + 0x34], eax
mov dword [edi + 0x38], eax
call fcn.004fca52
pop edi
pop esi
pop ecx
ret

Function at 0x51a87e
Capabilities:
Send data
Send data on socket
Send http request
Send http request with host header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x194
cmp dword [eax + 0x14], 0x10
push ebx
mov ebx, ecx
jb 0x51a895
mov eax, dword [eax]
push esi
mov esi, dword [ebp + 8]
push edi
push eax
movzx eax, word [esi + 0x10]
push eax
push str.BT_SEARCH__HTTP_1.1_r_nHost:_239.192.152.143:6771_r_nPort:__u_r_nInfohash:__s_r_n_r_n_r_n
lea eax, [ebp - 0x194]
push 0x100
push eax
call fcn.0045fc07
add esp, 0x14
mov byte [ebp - 0x95], 0
lea edi, [ebp - 0x14]
mov eax, 0x1a73
push 5
pop ecx
rep movsd dword es:[edi], dword [esi]
mov word [ebp - 4], ax
lea ecx, [ebp - 0x14]
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.00474a16
lea ecx, [ebp - 0x194]
pop edi
lea edx, [ecx + 1]
pop esi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x51a8ef
push dword [ebp + 0xc]
lea eax, [ebp - 0x94]
sub ecx, edx
push eax
push 0
push ecx
lea eax, [ebp - 0x194]
push eax
push dword [ebx + 4]
call dword [sym.imp.WS2_32.dll_sendto]
xor ecx, ecx
test eax, eax
pop ebx
setg al
mov esp, ebp
pop ebp
ret 8
Function at 0x51aaa6
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0x20
push ebx
push esi
push edi
push 1
xor ebx, ebx
mov edi, ecx
push ebx
push 2
push 2
call fcn.00474d8c
cmp dword [edi + 4], 0xffffffff
jne 0x51aada
mov esi, dword [edi]
push ebx
push 1
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
mov ecx, edi
call dword [esi + 0x14]
xor al, al
jmp 0x51abfd
mov esi, dword [sym.imp.WS2_32.dll_setsockopt]
lea eax, [esp + 0xc]
push 4
push eax
push 4
push 0xffff
push dword [edi + 4]
mov dword [esp + 0x20], 1
call esi
test eax, eax
jne 0x51aad3
mov ebx, dword [esp + 0x30]
push ebp
mov ebp, dword [sym.imp.WS2_32.dll_ntohl]
push dword [ebx + 0xc]
call ebp
push 0x1a73
push eax
lea ecx, [esp + 0x24]
call fcn.004c3ec7
push eax
mov ecx, edi
call fcn.00473312
test eax, eax
jne 0x51abef
push dword [ebx + 0xc]
mov byte [esp + 0x38], al
mov word [esp + 0x39], ax
mov byte [esp + 0x3b], al
call ebp
push eax
call dword [sym.imp.WS2_32.dll_htonl]
push 4
mov dword [esp + 0x38], eax
lea eax, [esp + 0x38]
push eax
push 9
push 0
push dword [edi + 4]
call esi
test eax, eax
jne 0x51abef
and dword [esp + 0x14], eax
and dword [esp + 0x18], eax
push str.239.192.152.143
call dword [sym.imp.WS2_32.dll_inet_addr]
push dword [ebx + 0xc]
mov dword [esp + 0x18], eax
call ebp
push eax
call dword [sym.imp.WS2_32.dll_htonl]
push 8
mov dword [esp + 0x1c], eax
xor ebx, ebx
lea eax, [esp + 0x18]
push eax
push 0xc
push ebx
push dword [edi + 4]
call esi
test eax, eax
jne 0x51abef
push 4
pop ebp
push ebp
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 1
push eax
push 0xb
push ebx
push dword [edi + 4]
call esi
test eax, eax
jne 0x51abef
push ebp
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0xff
push eax
push ebp
push ebx
push dword [edi + 4]
call esi
test eax, eax
jne 0x51abef
push ebp
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0xff
push eax
push 0xa
push ebx
push dword [edi + 4]
call esi
test eax, eax
je 0x51abf3
xor al, al
jmp 0x51abfc
mov ecx, edi
call fcn.00474500
mov al, 1
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x20
ret 4
Function at 0x51f7f7
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, 0x67aedc
call fcn.0062921c
sub esp, 0x30
push ebx
push esi
mov ebx, ecx
mov byte [ebp - 0xd], 1
push edi
mov dword [ebp - 0x24], ebx
call fcn.00472fb7
mov edi, dword [ebp + 8]
lea eax, [ebp + 8]
and dword [ebp - 4], 0
mov esi, 0x77ad10
push edi
push eax
mov ecx, esi
call fcn.004b3c8c
mov eax, dword [eax]
cmp eax, dword [0x77ad10]
jne 0x51f864
push str.session_has_expired
lea ecx, [ebp - 0x3c]
call fcn.0040a58f
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 1
push eax
mov ecx, ebx
call fcn.0051f970
push 0
push 1
lea ecx, [ebp - 0x3c]
call fcn.0040abbf
jmp 0x51f951
push edi
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
call fcn.0051c0ce
mov esi, dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
and dword [esi + 0x2c], 0
mov dword [esi + 0x28], eax
lea eax, [ebp - 0x20]
push edi
mov esi, 0x77ad10
push eax
mov ecx, esi
call fcn.0051c0ce
mov ebx, dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
and dword [ebp - 0x14], 0
mov ecx, esi
mov dword [ebp - 0x18], eax
mov dword [ebp + 8], eax
lea eax, [ebp - 0x20]
push edi
push eax
call fcn.0051c0ce
mov esi, dword [ebp - 0x20]
mov ecx, dword [esi + 0x94]
mov dword [ebp - 0x1c], ecx
mov eax, ecx
cdq
and eax, dword [ebx + 0x8c]
and edx, dword [ebx + 0x90]
or eax, edx
je 0x51f902
not ecx
and ecx, dword [ebx + 0x8c]
mov eax, ecx
cdq
mov dword [ebx + 0x8c], eax
mov dword [ebx + 0x90], edx
push dword [esi + 0x94]
push edi
call fcn.00520221
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
xor edx, edx
mov dword [ebp + 8], eax
mov dword [ebp - 0x14], edx
jmp 0x51f908
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x14]
shl dword [esi + 0x94], 1
cmp dword [esi + 0x94], 0x800000
jne 0x51f924
mov dword [esi + 0x94], 1
mov ecx, eax
mov eax, edx
sub ecx, dword [ebp - 0x18]
sbb eax, 0
test eax, eax
jg 0x51f948
jl 0x51f939
cmp ecx, 0x64
jae 0x51f948
mov ecx, dword [esi + 0x94]
cmp ecx, dword [ebp - 0x1c]
jne 0x51f8bc
mov ecx, dword [ebp - 0x24]
push edi
call fcn.0051fa10
mov dword [ebp - 4], 3
call fcn.00472ff8
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x5215df
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, 0x67b290
call fcn.0062921c
sub esp, 0x4c
push dword [ebp + 8]
call fcn.00521365
cmp dword [0x771a98], 0
jne 0x521605
push dword [ebp + 8]
call fcn.0052128b
push esi
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x1c]
mov ecx, 0x77ad10
push eax
call fcn.0051c0ce
mov esi, dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov edi, eax
mov dword [ebp - 0x18], edi
jmp 0x521778
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
xor ecx, ecx
sub eax, edi
sbb ecx, ecx
test ecx, ecx
jg 0x521782
jl 0x52164a
cmp eax, 0x64
jae 0x521782
push 0
lea ecx, [esi + 0x4c]
call fcn.004f2484
push eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x58]
push 0x69cbe4
push eax
call fcn.004607cf
add esp, 0xc
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
push 0x6ab210
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.0040a58f
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x28]
call fcn.0046c19d
push 0
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.0040abbf
push 0x68e844
lea ecx, [ebp - 0x40]
call fcn.0040a58f
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x28]
call fcn.0046c19d
push 0
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.0040abbf
push 0x6b3e90
lea ecx, [ebp - 0x40]
call fcn.0040a58f
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x28]
call fcn.0046c19d
push 0
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.0040abbf
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x28]
call fcn.004b47a6
lea eax, [esi + 0x30]
push eax
lea ecx, [ebp - 0x10]
call fcn.0051b63f
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp + 8]
call fcn.00520992
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 6
test eax, eax
je 0x52173f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x14]
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 1
call fcn.0052269d
sub dword [esi + 0x5c], 1
jne 0x52175a
and dword [esi + 0x58], 0
jmp 0x52175d
inc dword [esi + 0x58]
lea ecx, [ebp - 0x28]
call fcn.0046ba56
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
push 0
push 1
call fcn.0040abbf
mov edi, dword [ebp - 0x18]
cmp dword [esi + 0x5c], 0
jne 0x52162b
cmp dword [esi + 0x64], 0
jbe 0x52179b
mov eax, dword [esi + 0x90]
or dword [esi + 0x8c], 2
mov dword [esi + 0x90], eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4