joyce8/EMBER2024-capa huggingface dataset:
Function at 0x531370
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x6a60f0]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 3
mov byte [ebp - 0x218], 0
push 0x1ff
push 0
lea eax, [ebp - 0x217]
push eax
call fcn.005336b0
add esp, 0xc
mov dword [ebp - 0x220], 0
mov dword [ebp - 8], str.___VMAttrs
mov ecx, dword [ebp - 8]
push ecx
call fcn.00532f70
add esp, 4
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
push 0
lea edx, [ebp - 0x220]
push edx
push 0x200
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x531479
cmp dword [ebp + 0x18], 0
je 0x53142c
mov edx, dword [ebp + 0x18]
cmp dword [edx + 4], 0
je 0x53142c
push 0x222
push 2
push 0x19
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 0x18]
mov eax, dword [edx + 4]
call eax
add esp, 0x10
mov dword [ebp - 0x228], eax
jmp 0x531436
mov dword [ebp - 0x228], 0x19
cmp dword [ebp + 0x18], 0
je 0x53146a
mov ecx, dword [ebp + 0x18]
cmp dword [ecx + 8], 0
je 0x53146a
push 0x223
push str.Not_able_to_read_message_from_license_service
push 0xc
mov edx, dword [ebp + 0x18]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx + 8]
call edx
add esp, 0x10
mov dword [ebp - 0x22c], eax
jmp 0x531474
mov dword [ebp - 0x22c], 0xc
jmp 0x5315ba
mov eax, dword [ebp - 0x220]
push eax
lea ecx, [ebp - 0x218]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.00531320
add esp, 4
push eax
call fcn.00531760
add esp, 0xc
cmp eax, 0xffffffff
jne 0x5314ad
mov dword [ebp - 0x10], 5
jmp 0x5315ba
mov eax, dword [ebp - 0x220]
mov byte [ebp + eax - 0x218], 0
mov ecx, dword [ebp - 0x21c]
push ecx
mov edx, dword [ebp - 8]
push edx
lea eax, [ebp - 0x218]
push eax
call fcn.0053387a
add esp, 0xc
test eax, eax
je 0x5314e5
mov dword [ebp - 0x10], 4
jmp 0x5315ba
mov ecx, dword [ebp - 0x21c]
lea edx, [ebp + ecx - 0x218]
mov dword [ebp - 0x224], edx
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x224]
push ecx
call fcn.005315d0
add esp, 8
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0
jne 0x531526
mov dword [ebp - 0x10], 4
jmp 0x5315ba
cmp dword [ebp - 0xc], 1
je 0x531538
mov dword [ebp - 0x10], 6
jmp 0x5315ba
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp - 0x224]
push eax
call fcn.005315d0
add esp, 8
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0
jne 0x531563
mov dword [ebp - 0x10], 4
jmp 0x5315ba
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00531320
add esp, 4
cmp dword [ebp - 4], eax
je 0x53157d
mov dword [ebp - 0x10], 2
jmp 0x5315ba
mov edx, dword [ebp - 0x224]
push edx
call fcn.00532f70
add esp, 4
mov dword [ebp + 0x14], eax
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp - 0x224]
push ecx
push 0x200
mov edx, dword [ebp + 0x10]
push edx
call fcn.00539529
add esp, 0x10
mov dword [ebp - 0x10], 0
xor eax, eax
jne 0x5313d8
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00532ffe
mov esp, ebp
pop ebp
ret
Function at 0x531650
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x10]
add eax, 3
shr eax, 2
mov dword [ebp - 0x18], eax
push 4
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.00538d1e
add esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x531685
jmp 0x531753
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00533060
add esp, 0xc
mov edx, dword [ebp + 8]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x1c], 0
jmp 0x5316b1
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp - 0x18]
jae 0x5316dc
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + edx*4]
xor ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
mov dword [eax + edx*4], ecx
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + ecx*4]
mov dword [ebp - 0x10], eax
jmp 0x5316a8
mov dword [ebp - 8], 0
mov dword [ebp - 0x1c], 0
mov byte [ebp - 9], 0
jmp 0x53170c
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
shr edx, 2
mov dword [ebp - 0x1c], edx
movzx eax, byte [ebp - 9]
add eax, 8
mov byte [ebp - 9], al
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp + 0x10]
jae 0x531738
movzx ecx, byte [ebp - 9]
and ecx, 0x1f
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + edx*4]
shr edx, cl
movzx eax, dl
and eax, 0xff
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 8]
mov byte [ecx], al
jmp 0x5316f0
mov edx, dword [ebp - 0x14]
push edx
call fcn.00535e72
add esp, 4
mov dword [ebp - 4], 1
xor eax, eax
jne 0x53165d
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x531760
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x10]
add eax, 3
shr eax, 2
mov dword [ebp - 0x18], eax
push 4
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.00538d1e
add esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x531795
jmp 0x53186a
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00533060
add esp, 0xc
mov edx, dword [ebp + 8]
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], 0
jmp 0x5317c1
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 0x18]
jae 0x5317f2
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + edx*4]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + edx*4]
xor ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
mov dword [eax + edx*4], ecx
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x10], ecx
jmp 0x5317b8
mov dword [ebp - 8], 0
mov dword [ebp - 0x1c], 0
mov byte [ebp - 9], 0
jmp 0x531822
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
shr eax, 2
mov dword [ebp - 0x1c], eax
movzx ecx, byte [ebp - 9]
add ecx, 8
mov byte [ebp - 9], cl
mov edx, dword [ebp - 8]
cmp edx, dword [ebp + 0x10]
jae 0x53184f
movzx ecx, byte [ebp - 9]
and ecx, 0x1f
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + eax*4]
shr eax, cl
movzx ecx, al
and ecx, 0xff
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 8]
mov byte [edx], cl
jmp 0x531806
mov eax, dword [ebp - 0x14]
push eax
call fcn.00535e72
add esp, 4
mov dword [ebp - 4], 1
xor ecx, ecx
jne 0x53176d
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x532620
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Initialize winsock library
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b4
mov eax, dword [0x6a60f0]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 8], 0xffffffff
xor eax, eax
mov word [ebp - 0x1c], ax
xor ecx, ecx
mov dword [ebp - 0x1a], ecx
mov dword [ebp - 0x16], ecx
mov dword [ebp - 0x12], ecx
mov word [ebp - 0xe], cx
lea edx, [ebp - 0x1b0]
push edx
push 0x202
call dword [sym.imp.WSOCK32.dll_WSAStartup]
mov dword [ebp - 0x1b4], eax
cmp dword [ebp - 0x1b4], 0
je 0x532694
mov eax, dword [ebp - 0x1b4]
push eax
push str.WSAStartup_function_failed_with_error:__d
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00532580
add esp, 0xc
jmp 0x532767
mov edx, 2
mov word [ebp - 0x1c], dx
movzx eax, word [ebp + 0xc]
push eax
call dword [sym.imp.WSOCK32.dll_htons]
mov word [ebp - 0x1a], ax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WSOCK32.dll_inet_addr]
mov dword [ebp - 0x18], eax
push 0
push 1
push 2
call dword [sym.imp.WSOCK32.dll_socket]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x5326e8
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
push eax
push str.Socket_creation_error:__d
mov edx, dword [ebp + 0x10]
push edx
call fcn.00532580
add esp, 0xc
jmp 0x532767
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.00532530
add esp, 8
cmp eax, 0xffffffff
jne 0x5326ff
jmp 0x532767
push 0x10
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.WSOCK32.dll_connect]
cmp eax, 0xffffffff
jne 0x53273b
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
push eax
call fcn.005327a0
add esp, 4
test eax, eax
je 0x532745
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.005327d0
add esp, 8
test eax, eax
je 0x532745
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
jmp 0x532767
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
push eax
push str.Connect_on_socket_fd_failed_with_error:__d
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00532580
add esp, 0xc
jmp 0x532767
cmp dword [ebp - 4], 0xffffffff
jne 0x53278a
cmp dword [ebp - 8], 0xffffffff
je 0x532784
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.WSOCK32.dll_closesocket]
mov dword [ebp - 8], 0xffffffff
call dword [sym.imp.WSOCK32.dll_WSACleanup]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00532ffe
mov esp, ebp
pop ebp
ret
Function at 0x54ef1e
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x6a60f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.00543ef2
mov dword [ebp - 0x14], eax
cmp dword [0x6b1ddc], edi
jne 0x54f00f
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x54ef9c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x54f0ef
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x54f0ef
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x54f0ef
push eax
call ebx
push 0x66d600
push esi
mov dword [0x6b1ddc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x66d610
push esi
mov dword [0x6b1de0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x6b1de4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x6b1dec], eax
test eax, eax
je 0x54f00c
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x6b1de8], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x54f034
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x54f027
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x54f049
push 4
pop eax
jmp 0x54f0f1
cmp dword [ebp - 0x14], edi
je 0x54f049
push dword [0x6b1ddc]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x54f02e
mov eax, dword [0x6b1de8]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x54f0a7
cmp dword [0x6b1dec], esi
je 0x54f0a7
push eax
call ebx
push dword [0x6b1dec]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x54f0a7
test eax, eax
je 0x54f0a7
call ecx
test eax, eax
je 0x54f09c
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x54f09c
test byte [ebp - 8], 1
jne 0x54f0a7
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x54f0d7
mov eax, dword [0x6b1de0]
cmp eax, esi
je 0x54f0d4
push eax
call ebx
test eax, eax
je 0x54f0d4
call eax
mov edi, eax
test edi, edi
je 0x54f0d4
mov eax, dword [0x6b1de4]
cmp eax, esi
je 0x54f0d4
push eax
call ebx
test eax, eax
je 0x54f0d4
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x6b1ddc]
call ebx
test eax, eax
je 0x54f0ef
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x54f0f1
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00532ffe
leave
ret
Function at 0x567a00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x6a60f0]
xor eax, ebp
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x418], 0
push 0x3ff
push 0
lea eax, [ebp - 0x417]
push eax
call fcn.005336b0
add esp, 0xc
mov dword [ebp - 0x41c], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0x400
mov dword [ebp - 0xc], 0
lea ecx, [ebp - 0x10]
push ecx
push 0x20007
push 0
push str.SoftwareFLEXlm_License_ManagerBorrow
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x567ae1
cmp dword [ebp + 8], 0
je 0x567ad3
mov edx, dword [ebp + 8]
cmp dword [edx + 0x80], 0
je 0x567a9c
xor eax, eax
je 0x567a9c
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x80]
mov dword [ebp - 0x420], edx
jmp 0x567aa6
mov dword [ebp - 0x420], 0xffffff86
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x420]
mov dword [eax + 0x80], ecx
push 0
push 0xff
push 0
push 0
push 0x3972
push 0xffffffffffffff86
mov edx, dword [ebp + 8]
push edx
call fcn.00577350
add esp, 0x1c
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x80]
jmp 0x567c09
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x424], ecx
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x418]
push eax
mov ecx, dword [ebp - 0x424]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
test eax, eax
jne 0x567bfd
push 0
push 0
mov edx, dword [ebp + 0xc]
push edx
call fcn.00529130
add esp, 8
push eax
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x418]
push ecx
call fcn.00529000
add esp, 0x10
test eax, eax
jne 0x567bf1
lea edx, [ebp - 0x418]
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], 0
jmp 0x567b66
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 0xc], 0
je 0x567bf1
cmp dword [ebp - 4], 3
jge 0x567bf1
push 0
push 0x2d
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.005291a0
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x567bec
cmp dword [ebp - 4], 2
jne 0x567be3
push 0
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 0x418]
sub edx, eax
push edx
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x418]
push edx
call fcn.00529000
add esp, 0x10
test eax, eax
jne 0x567be3
mov eax, dword [ebp - 0xc]
add eax, 1
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00567c20
add esp, 8
test eax, eax
je 0x567be3
push 0
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00528dc0
add esp, 0xc
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
jmp 0x567b5d
mov dword [ebp - 0x14], 0x400
jmp 0x567ae1
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00532ffe
mov esp, ebp
pop ebp
ret
Function at 0x57d510
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x200
mov eax, dword [0x6a60f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x1dc], 0
mov byte [ebp - 0x1d8], 0
push 0x3b
push 0
lea eax, [ebp - 0x1d7]
push eax
call fcn.005336b0
add esp, 0xc
lea ecx, [ebp - 0x198]
push ecx
push 0x101
call fcn.005a6400
push 0
push 0x20
push 0
lea edx, [ebp - 0x1fc]
push edx
call fcn.005298c0
add esp, 0x10
mov dword [ebp - 0x1fc], 1
mov dword [ebp - 0x1f4], 1
push 0x3c
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x1d8]
push ecx
call fcn.00583db0
add esp, 0xc
lea edx, [ebp - 0x1dc]
push edx
lea eax, [ebp - 0x1fc]
push eax
push 0
lea ecx, [ebp - 0x1d8]
push ecx
call dword [sym.imp.WS2_32.dll_getaddrinfo]
cmp dword [ebp - 0x1dc], 0
je 0x57d613
mov edx, dword [ebp - 0x1dc]
cmp dword [edx + 4], 0x17
je 0x57d5e0
mov eax, dword [ebp - 0x1dc]
cmp dword [eax + 4], 2
je 0x57d5e0
mov ecx, dword [ebp - 0x1dc]
cmp dword [ecx + 4], 2
jne 0x57d613
push 0x3c
lea edx, [ebp - 0x1d8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xd4]
add ecx, 0x84e
push ecx
call fcn.00583db0
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xd4]
mov byte [eax + 0x88a], 0
jmp 0x57d683
cmp dword [ebp + 8], 0
je 0x57d674
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x80], 0
je 0x57d63a
xor edx, edx
je 0x57d63a
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x80]
mov dword [ebp - 0x200], ecx
jmp 0x57d644
mov dword [ebp - 0x200], 0xffffff37
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x200]
mov dword [edx + 0x80], eax
push 0
push 0xff
push 0
push 0
push 0x522e
push 0xffffff37
mov ecx, dword [ebp + 8]
push ecx
call fcn.00577350
add esp, 0x1c
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x80]
mov dword [ebp - 0x19c], eax
cmp dword [ebp - 0x1dc], 0
je 0x57d6a3
mov ecx, dword [ebp - 0x1dc]
push ecx
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
mov dword [ebp - 0x1dc], 0
call fcn.005a6420
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00532ffe
mov esp, ebp
pop ebp
ret
Function at 0x57e0d0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 8], 0
mov eax, dword [ebp + 0x18]
push eax
call fcn.0057f7e0
add esp, 4
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0057f640
add esp, 8
mov dword [ebp - 0x10], eax
lea eax, [ebp - 8]
push eax
push 0x20006
push 0
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x57e1d0
push 0
call fcn.0057e270
add esp, 4
push 1
call fcn.0057e270
add esp, 4
lea eax, [ebp - 8]
push eax
push 0x20006
push 0
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x57e1d0
mov eax, dword [ebp - 0x10]
push eax
call fcn.005844f0
add esp, 4
cmp dword [ebp + 8], 0
je 0x57e1c6
cmp dword [ebp + 8], 0
je 0x57e1c6
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x80], 0
je 0x57e195
xor edx, edx
je 0x57e195
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x80]
mov dword [ebp - 0x14], ecx
jmp 0x57e19c
mov dword [ebp - 0x14], 0xffffffc1
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x14]
mov dword [edx + 0x80], eax
push 0
push 0xff
push 0
push 0
push 0x1de
push 0xffffffffffffffc1
mov ecx, dword [ebp + 8]
push ecx
call fcn.00577350
add esp, 0x1c
mov eax, 1
jmp 0x57e25e
mov edx, dword [ebp - 0x10]
push edx
call fcn.005844f0
add esp, 4
cmp dword [ebp + 0x10], 0
je 0x57e1fa
cmp dword [ebp + 0x14], 0
jne 0x57e20a
push 0
mov eax, dword [ebp + 0x10]
push eax
call fcn.00529130
add esp, 8
test eax, eax
jne 0x57e20a
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x57e252
cmp dword [ebp + 0x14], 0
je 0x57e218
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x18], eax
jmp 0x57e22c
push 0
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00529130
add esp, 8
add eax, 1
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp + 0x10]
push eax
xor ecx, ecx
cmp dword [ebp + 0x14], 0
setne cl
lea ecx, [ecx + ecx + 1]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.005a44e0
add esp, 0x14
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x57f7e0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x6a60f0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
je 0x57f800
mov eax, closesocket
jmp 0x57f84e
push 0
push 0x94
push 0
lea eax, [ebp - 0xa0]
push eax
call fcn.005298c0
add esp, 0x10
mov dword [ebp - 0xa0], 0x94
lea ecx, [ebp - 0xa0]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x57f849
cmp dword [ebp + 8], 0
jne 0x57f849
cmp dword [ebp - 0x9c], 6
jb 0x57f849
mov eax, closesocket
jmp 0x57f84e
mov eax, reloc.OLEAUT32.dll_SysReAllocString
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00532ffe
mov esp, ebp
pop ebp
ret
Function at 0x590d70
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x6a60f0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
mov dword [ebp - 0x68], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x10], 0xffffffff
mov byte [ebp - 0x60], 0
push 0x45
push 0
lea eax, [ebp - 0x5f]
push eax
call fcn.005336b0
add esp, 0xc
mov dword [ebp - 0xc], 0
push 0
push 0x20
push 0
lea ecx, [ebp - 0x88]
push ecx
call fcn.005298c0
add esp, 0x10
mov dword [ebp - 0x88], 1
mov dword [ebp - 0x80], 1
cmp dword [ebp + 8], 0
je 0x590f03
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.00529130
add esp, 8
mov dword [ebp - 8], eax
push 0
push 0x40
mov eax, dword [ebp + 8]
push eax
call fcn.005291a0
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x590e31
lea ecx, [ebp - 0x60]
push ecx
push str.__69_0_9a_fA_F:_
mov edx, dword [ebp - 0xc]
push edx
call fcn.00538bdc
add esp, 0xc
lea eax, [ebp - 0x60]
push eax
call fcn.00591030
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
jle 0x590f03
lea ecx, [ebp - 0x68]
push ecx
lea edx, [ebp - 0x88]
push edx
push 0
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x68], 0
je 0x590ecb
mov ecx, dword [ebp - 0x68]
cmp dword [ecx + 4], 0x17
jne 0x590ecb
push 0
push 0x69a350
mov edx, dword [ebp + 8]
push edx
call fcn.005292f0
add esp, 0xc
mov esi, eax
push 0
lea eax, [ebp - 0x60]
push eax
call fcn.00529130
add esp, 8
lea ecx, [esi + eax + 1]
cmp dword [ebp - 8], ecx
jne 0x590ecb
push 0
lea edx, [ebp - 0x60]
push edx
call fcn.00529130
add esp, 8
mov esi, eax
push 0
push 0x69a354
mov eax, dword [ebp + 8]
push eax
call fcn.005292f0
add esp, 0xc
lea ecx, [esi + eax + 1]
mov dword [ebp - 0x64], ecx
jmp 0x590ef3
push 0
push 0x69a358
mov edx, dword [ebp + 8]
push edx
call fcn.005292f0
add esp, 0xc
mov esi, eax
lea eax, [ebp - 0x60]
push eax
call fcn.00590f20
add esp, 4
lea ecx, [esi + eax + 1]
mov dword [ebp - 0x64], ecx
cmp dword [ebp - 0x68], 0
je 0x590f03
mov edx, dword [ebp - 0x68]
push edx
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
mov eax, dword [ebp - 0x64]
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00532ffe
mov esp, ebp
pop ebp
ret