joyce8/EMBER2024-capa huggingface dataset:
Function at 0x530410
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 0
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x5304b9
cmp dword [ebp + 0x14], 0
je 0x530473
mov ecx, dword [ebp + 0x14]
cmp dword [ecx + 4], 0
je 0x530473
push 0xab
push 2
push 0x19
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 4]
call edx
add esp, 0x10
mov dword [ebp - 0x10], eax
jmp 0x53047a
mov dword [ebp - 0x10], 0x19
cmp dword [ebp + 0x14], 0
je 0x5304ab
mov eax, dword [ebp + 0x14]
cmp dword [eax + 8], 0
je 0x5304ab
push 0xac
push str.Not_able_to_write_to_the_named_pipe
push 0xc
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 8]
call ecx
add esp, 0x10
mov dword [ebp - 0x14], eax
jmp 0x5304b2
mov dword [ebp - 0x14], 0xc
mov dword [ebp - 8], 2
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x5304c0
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x6a5f90]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x138], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x130], 0
push 0x103
push 0
lea eax, [ebp - 0x12f]
push eax
call fcn.00533390
add esp, 0xc
lea ecx, [ebp - 0x130]
push ecx
call fcn.00530c20
add esp, 4
test eax, eax
jne 0x530523
mov eax, dword [ebp - 0x138]
jmp 0x53059c
push 1
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x530596
push 4
lea edx, [ebp - 0x130]
push edx
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x53058c
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x530582
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 4
jne 0x530582
mov dword [ebp - 0x138], 1
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00532cdb
mov esp, ebp
pop ebp
ret
Function at 0x531050
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x6a5f90]
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.00533390
add esp, 0xc
mov dword [ebp - 0x220], 0
mov dword [ebp - 8], str.___VMAttrs
mov ecx, dword [ebp - 8]
push ecx
call fcn.00532c50
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 0x531159
cmp dword [ebp + 0x18], 0
je 0x53110c
mov edx, dword [ebp + 0x18]
cmp dword [edx + 4], 0
je 0x53110c
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 0x531116
mov dword [ebp - 0x228], 0x19
cmp dword [ebp + 0x18], 0
je 0x53114a
mov ecx, dword [ebp + 0x18]
cmp dword [ecx + 8], 0
je 0x53114a
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 0x531154
mov dword [ebp - 0x22c], 0xc
jmp 0x53129a
mov eax, dword [ebp - 0x220]
push eax
lea ecx, [ebp - 0x218]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.00531000
add esp, 4
push eax
call fcn.00531440
add esp, 0xc
cmp eax, 0xffffffff
jne 0x53118d
mov dword [ebp - 0x10], 5
jmp 0x53129a
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.0053355a
add esp, 0xc
test eax, eax
je 0x5311c5
mov dword [ebp - 0x10], 4
jmp 0x53129a
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.005312b0
add esp, 8
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0
jne 0x531206
mov dword [ebp - 0x10], 4
jmp 0x53129a
cmp dword [ebp - 0xc], 1
je 0x531218
mov dword [ebp - 0x10], 6
jmp 0x53129a
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp - 0x224]
push eax
call fcn.005312b0
add esp, 8
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0
jne 0x531243
mov dword [ebp - 0x10], 4
jmp 0x53129a
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00531000
add esp, 4
cmp dword [ebp - 4], eax
je 0x53125d
mov dword [ebp - 0x10], 2
jmp 0x53129a
mov edx, dword [ebp - 0x224]
push edx
call fcn.00532c50
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.00539209
add esp, 0x10
mov dword [ebp - 0x10], 0
xor eax, eax
jne 0x5310b8
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00532cdb
mov esp, ebp
pop ebp
ret
Function at 0x531330
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.005389fe
add esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x531365
jmp 0x531433
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00532d40
add esp, 0xc
mov edx, dword [ebp + 8]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x1c], 0
jmp 0x531391
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp - 0x18]
jae 0x5313bc
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 0x531388
mov dword [ebp - 8], 0
mov dword [ebp - 0x1c], 0
mov byte [ebp - 9], 0
jmp 0x5313ec
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 0x531418
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 0x5313d0
mov edx, dword [ebp - 0x14]
push edx
call fcn.00535b52
add esp, 4
mov dword [ebp - 4], 1
xor eax, eax
jne 0x53133d
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x531440
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.005389fe
add esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x531475
jmp 0x53154a
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00532d40
add esp, 0xc
mov edx, dword [ebp + 8]
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], 0
jmp 0x5314a1
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 0x18]
jae 0x5314d2
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 0x531498
mov dword [ebp - 8], 0
mov dword [ebp - 0x1c], 0
mov byte [ebp - 9], 0
jmp 0x531502
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 0x53152f
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 0x5314e6
mov eax, dword [ebp - 0x14]
push eax
call fcn.00535b52
add esp, 4
mov dword [ebp - 4], 1
xor ecx, ecx
jne 0x53144d
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x532300
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 [0x6a5f90]
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 0x532374
mov eax, dword [ebp - 0x1b4]
push eax
push str.WSAStartup_function_failed_with_error:__d
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00532260
add esp, 0xc
jmp 0x532447
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 0x5323c8
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
push eax
push str.Socket_creation_error:__d
mov edx, dword [ebp + 0x10]
push edx
call fcn.00532260
add esp, 0xc
jmp 0x532447
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.00532210
add esp, 8
cmp eax, 0xffffffff
jne 0x5323df
jmp 0x532447
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 0x53241b
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
push eax
call fcn.00532480
add esp, 4
test eax, eax
je 0x532425
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.005324b0
add esp, 8
test eax, eax
je 0x532425
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
jmp 0x532447
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.00532260
add esp, 0xc
jmp 0x532447
cmp dword [ebp - 4], 0xffffffff
jne 0x53246a
cmp dword [ebp - 8], 0xffffffff
je 0x532464
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.00532cdb
mov esp, ebp
pop ebp
ret
Function at 0x54ebeb
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x6a5f90]
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.00543bd2
mov dword [ebp - 0x14], eax
cmp dword [0x6b1c7c], edi
jne 0x54ecdc
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x54ec69
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x54edbc
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x54edbc
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x54edbc
push eax
call ebx
push 0x66d600
push esi
mov dword [0x6b1c7c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x66d610
push esi
mov dword [0x6b1c80], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x6b1c84], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x6b1c8c], eax
test eax, eax
je 0x54ecd9
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x6b1c88], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x54ed01
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x54ecf4
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x54ed16
push 4
pop eax
jmp 0x54edbe
cmp dword [ebp - 0x14], edi
je 0x54ed16
push dword [0x6b1c7c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x54ecfb
mov eax, dword [0x6b1c88]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x54ed74
cmp dword [0x6b1c8c], esi
je 0x54ed74
push eax
call ebx
push dword [0x6b1c8c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x54ed74
test eax, eax
je 0x54ed74
call ecx
test eax, eax
je 0x54ed69
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 0x54ed69
test byte [ebp - 8], 1
jne 0x54ed74
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x54eda4
mov eax, dword [0x6b1c80]
cmp eax, esi
je 0x54eda1
push eax
call ebx
test eax, eax
je 0x54eda1
call eax
mov edi, eax
test edi, edi
je 0x54eda1
mov eax, dword [0x6b1c84]
cmp eax, esi
je 0x54eda1
push eax
call ebx
test eax, eax
je 0x54eda1
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x6b1c7c]
call ebx
test eax, eax
je 0x54edbc
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x54edbe
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00532cdb
leave
ret
Function at 0x567a00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x6a5f90]
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.00533390
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.00528e10
add esp, 8
push eax
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x418]
push ecx
call fcn.00528ce0
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.00528e80
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.00528ce0
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.00528aa0
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.00532cdb
mov esp, ebp
pop ebp
ret
Function at 0x57d510
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x200
mov eax, dword [0x6a5f90]
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.00533390
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.005295a0
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.00532cdb
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.00528e10
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.00528e10
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 [0x6a5f90]
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.005295a0
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.00532cdb
mov esp, ebp
pop ebp
ret