joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46c0f0
Capabilities:
Resolve dns

Disassembly:
push edi
mov edi, str.localhost
push edi
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
jne 0x46c15b
push edi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x46c111
xor al, al
pop edi
ret
mov cx, word [eax + 8]
mov word [esi], cx
mov ecx, dword [eax + 0xc]
xor edi, edi
cmp dword [ecx], edi
je 0x46c10d
mov eax, ecx
add eax, 4
inc edi
cmp dword [eax], 0
jne 0x46c123
test edi, edi
je 0x46c10d
mov eax, dword [0x6071d0]
xor edx, edx
div edi
cmp dword [0x6071d0], 0xffffffff
mov eax, dword [ecx + edx*4]
mov eax, dword [eax]
mov dword [esi + 4], eax
jne 0x46c153
and dword [0x6071d0], 0
jmp 0x46c164
inc dword [0x6071d0]
jmp 0x46c164
push 2
pop ecx
mov word [esi], cx
mov dword [esi + 4], eax
mov al, 1
pop edi
ret

Function at 0x46c168
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x5fe480]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 8], 0xffffffff
je 0x46c189
push 6
pop eax
jmp 0x46c22e
mov eax, dword [esi + 4]
push edi
push 2
pop edi
cmp eax, edi
jne 0x46c19a
push 6
push 1
jmp 0x46c1a6
cmp eax, 1
jne 0x46c22a
push 0x11
push edi
push edi
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi + 8], eax
cmp eax, 0xffffffff
je 0x46c221
push 0x7f000001
mov word [ebp - 0x14], di
call dword [sym.imp.WS2_32.dll_htonl]
push dword [ebp + 8]
mov dword [ebp - 0x10], eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x12], ax
push 0x10
lea eax, [ebp - 0x14]
push eax
push dword [esi + 8]
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
je 0x46c21c
cmp dword [esi + 4], 1
jne 0x46c209
lea eax, [ebp - 0x18]
push eax
push 0x8004667e
push dword [esi + 8]
mov dword [ebp - 0x18], 1
call dword [sym.imp.WS2_32.dll_ioctlsocket]
jmp 0x46c217
push accept
push dword [esi + 8]
call dword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
jne 0x46c226
call fcn.0046c23d
push 0xa
pop eax
jmp 0x46c22d
xor eax, eax
jmp 0x46c22d
xor eax, eax
inc eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.005413de
leave
ret 4
Function at 0x46c251
Capabilities:
Send data
Send data on socket

Disassembly:
push 0xc0
mov eax, 0x5848de
call fcn.0054f23c
mov esi, dword [ebp + 8]
xor eax, eax
inc eax
cmp dword [esi + 4], eax
jne 0x46c321
mov eax, dword [esi + 8]
cmp eax, 0xffffffff
jne 0x46c27f
push 2
pop eax
jmp 0x46c321
push 0x10
push ecx
push 0
push 0x18
push edx
push eax
call dword [sym.imp.WS2_32.dll_sendto]
cmp eax, 0xffffffff
jne 0x46c31f
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
cmp edi, 0x2733
jne 0x46c2b2
mov edx, ebx
mov ecx, esi
call fcn.0046c329
jmp 0x46c321
lea eax, [ebp - 0xcc]
push eax
call fcn.004044d0
mov esi, eax
and dword [ebp - 4], 0
push str.sendto_failed_as
push esi
call fcn.0040511f
pop ecx
pop ecx
push edi
push esi
call fcn.0040bb6d
lea eax, [ebp - 0x30]
push eax
mov eax, esi
call fcn.0040453a
mov byte [ebp - 4], 1
cmp dword [ebp - 0x1c], 8
mov eax, dword [ebp - 0x30]
jae 0x46c2f3
lea eax, [ebp - 0x30]
push eax
push 4
pop ecx
call fcn.00463ba1
pop ecx
push 1
xor edi, edi
lea esi, [ebp - 0x30]
call fcn.00401d98
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0xcc]
call fcn.00403cb2
push 0xa
jmp 0x46c279
xor eax, eax
call fcn.0054f2bf
ret 4
Function at 0x46dbc6
Capabilities:
Write file on windows

Disassembly:
push 8
mov eax, 0x57dc94
call fcn.0054f1d3
lea edi, [esi + 0x1050]
mov eax, edi
mov dword [ebp - 0x14], edi
call fcn.00424536
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [esi + 0xc], 1
jne 0x46dd78
cmp dword [esi + 8], ebx
je 0x46dd78
test byte [0x6071f4], 1
jne 0x46dc27
or dword [0x6071f4], 1
push 0x598f9c
mov dword [0x6071e0], ebx
mov dword [0x6071e4], ebx
mov dword [0x6071e8], ebx
call fcn.00542439
pop ecx
mov ecx, dword [0x6071e4]
mov eax, dword [0x6071e0]
mov edx, ecx
sub edx, eax
sar edx, 2
test edx, edx
je 0x46dc54
cmp eax, ecx
je 0x46dc54
push ebx
push ecx
push eax
mov edi, eax
call fcn.00541b80
add esp, 0xc
mov dword [0x6071e4], edi
or dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x10]
call fcn.0046e113
push 2
pop edi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], edi
call fcn.0046e113
cmp dword [ebp + 8], ebx
jl 0x46dc7e
cmp dword [ebp + 8], 1
jle 0x46dc86
cmp dword [ebp + 8], edi
je 0x46dc95
mov eax, dword [ebp - 0x14]
jmp 0x46dd7a
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 3
call fcn.0046e113
mov ecx, dword [0x6071e4]
mov eax, dword [0x6071e0]
sub ecx, eax
sar ecx, 2
mov dword [ebp - 0x10], ebx
test ecx, ecx
je 0x46dd61
push 4
pop ebx
mov ecx, dword [ebp - 0x10]
mov eax, dword [eax + ecx*4]
cmp eax, 0xffffffff
je 0x46dd30
cmp eax, 2
je 0x46dcf0
cmp eax, 3
jne 0x46dc7e
push dword [esi + 8]
mov eax, dword [ebp + 0x14]
push ebx
lea edi, [esi + 0x30]
push 1
push edi
mov dword [edi], eax
call fcn.00543a60
push dword [esi + 8]
push dword [edi]
push 1
push dword [ebp + 0x10]
call fcn.00543a60
add esp, 0x20
jmp 0x46dd27
push dword [esi + 8]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x10]
push ebx
lea edi, [esi + 0x30]
add eax, eax
push 1
push edi
mov dword [edi], eax
call fcn.00543a60
mov eax, dword [ebp + 0xc]
add esp, 0x10
cmp dword [eax + 0x14], 8
jb 0x46dd17
mov eax, dword [eax]
push dword [esi + 8]
push dword [edi]
push 1
push eax
call fcn.00543a60
add esp, 0x10
mov eax, dword [edi]
add eax, ebx
add dword [esi + 4], eax
jmp 0x46dd45
push dword [esi + 8]
lea eax, [ebp + 8]
push ebx
push 1
push eax
call fcn.00543a60
add esp, 0x10
add dword [esi + 4], ebx
mov ecx, dword [0x6071e4]
mov eax, dword [0x6071e0]
inc dword [ebp - 0x10]
sub ecx, eax
sar ecx, 2
cmp dword [ebp - 0x10], ecx
jb 0x46dcb3
push dword [esi + 8]
inc dword [esi]
call fcn.00543613
mov eax, dword [ebp - 0x14]
pop ecx
call fcn.0042456a
mov al, 1
jmp 0x46dd81
mov eax, edi
call fcn.0042456a
xor al, al
call fcn.0054f2ab
ret 0x10
Function at 0x46e644
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x3c
mov eax, 0x580bf2
call fcn.0054f272
mov esi, edx
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x44], eax
cmp dword [ecx + 0x10], ebx
je 0x46e6a2
cmp dword [edi + 0x10], ebx
je 0x46e6a2
cmp eax, ebx
je 0x46e6a2
mov dword [ebp - 4], ebx
xor eax, eax
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x30], ax
lea eax, [ebp - 0x34]
push eax
lea edx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.0046e445
pop ecx
cmp al, bl
jne 0x46e6aa
push 1
xor edi, edi
lea esi, [ebp - 0x30]
call fcn.00401d98
xor al, al
call fcn.0054f2ce
ret
cmp dword [ebp - 0x1c], 8
mov eax, dword [ebp - 0x30]
jae 0x46e6b6
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0x40]
push ecx
or esi, 1
push esi
push ebx
push eax
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x46e696
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 2
cmp dword [edi + 0x14], 8
push 4
pop esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x3c], ebx
jb 0x46e6e8
mov edi, dword [edi]
lea ecx, [ebp - 0x48]
push ecx
push dword [ebp - 0x44]
lea ecx, [ebp - 0x3c]
push ecx
push ebx
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
je 0x46e722
mov byte [ebp - 4], 1
cmp dword [ebp - 0x34], ebx
je 0x46e712
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
xor edi, edi
lea esi, [ebp - 0x30]
call fcn.00401d98
mov al, bl
jmp 0x46e6a4
cmp dword [ebp - 0x3c], esi
mov byte [ebp - 4], 1
sete byte [ebp - 0x35]
cmp dword [ebp - 0x34], ebx
je 0x46e73b
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov bl, byte [ebp - 0x35]
jmp 0x46e712
Function at 0x46e935
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x40
mov eax, 0x580b80
call fcn.0054f272
mov edi, dword [ebp + 8]
xor ebx, ebx
mov esi, edx
mov dword [ebp - 0x48], esi
cmp dword [ecx + 0x10], ebx
je 0x46e98f
cmp dword [esi + 0x10], ebx
je 0x46e98f
mov dword [ebp - 4], ebx
xor eax, eax
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x30], ax
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 1
push eax
lea edx, [ebp - 0x30]
mov dword [ebp - 0x3c], ebx
call fcn.0046e445
pop ecx
cmp al, bl
jne 0x46e997
push 1
xor edi, edi
lea esi, [ebp - 0x30]
call fcn.00401d98
xor al, al
call fcn.0054f2ce
ret
cmp dword [ebp - 0x1c], 8
mov eax, dword [ebp - 0x30]
jae 0x46e9a3
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0x44]
push ecx
push 0x201
push ebx
push eax
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x46e983
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 2
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x40], ebx
jb 0x46e9d0
mov esi, dword [esi]
lea ecx, [ebp - 0x3c]
push ecx
push ebx
lea ecx, [ebp - 0x40]
push ecx
push ebx
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
je 0x46e9fa
mov byte [ebp - 4], 1
cmp dword [ebp - 0x34], ebx
je 0x46e983
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x46e983
cmp dword [ebp - 0x40], 3
jne 0x46e9e6
mov edx, dword [ebp - 0x3c]
cmp edx, ebx
je 0x46e9e6
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov esi, ecx
sub esi, eax
mov byte [ebp - 0x38], bl
cmp edx, esi
jbe 0x46ea29
lea esi, [ebp - 0x38]
push esi
sub eax, ecx
push ecx
add eax, edx
mov ecx, edi
call fcn.0046ee25
jmp 0x46ea38
jae 0x46ea38
add eax, edx
push ecx
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.0043399a
mov eax, dword [ebp - 0x48]
cmp dword [eax + 0x14], 8
mov edi, dword [edi]
jb 0x46ea45
mov eax, dword [eax]
lea ecx, [ebp - 0x3c]
push ecx
push edi
lea ecx, [ebp - 0x40]
push ecx
push ebx
push eax
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x46e9e6
cmp dword [ebp - 0x40], 3
jne 0x46e9e6
mov byte [ebp - 4], 1
cmp dword [ebp - 0x3c], ebx
jne 0x46ea8d
cmp dword [ebp - 0x34], ebx
je 0x46ea7a
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
xor edi, edi
lea esi, [ebp - 0x30]
call fcn.00401d98
mov al, bl
jmp 0x46e991
cmp dword [ebp - 0x34], ebx
je 0x46ea9b
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov bl, 1
jmp 0x46ea7a
Function at 0x46f58b
Capabilities:
Read http header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x58bd1e
mov eax, dword fs:[0]
push eax
sub esp, 0x180
mov eax, dword [0x5fe480]
xor eax, esp
mov dword [esp + 0x178], eax
push ebx
push esi
push edi
mov eax, dword [0x5fe480]
xor eax, esp
push eax
lea eax, [esp + 0x190]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
xor esi, esi
push esi
lea ecx, [esp + 0x14]
push ecx
push esi
push esi
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0xc]
push 0x16
push eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x28], esi
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x20], eax
call ebx
mov dword [esp + 0x18], eax
cmp dword [esp + 0x20], esi
jne 0x46f694
cmp eax, 0x7a
je 0x46f694
lea eax, [esp + 0x24]
push eax
call fcn.004044d0
mov ebx, eax
push str.WinHttpQueryHeaders_failed_with
push ebx
mov dword [esp + 0x1a0], esi
call fcn.0040511f
mov edi, dword [esp + 0x20]
pop ecx
pop ecx
push edi
push ebx
call fcn.00409937
lea eax, [esp + 0xbc]
push eax
mov eax, ebx
call fcn.0040453a
mov byte [esp + 0x198], 1
cmp edi, esi
jle 0x46f667
and edi, 0xffff
or edi, 0x80070000
push 0xc7
push edi
lea eax, [esp + 0xc4]
push eax
lea eax, [esp + 0x100]
push eax
call fcn.0046f13c
push 0x5db18c
lea eax, [esp + 0xf8]
push eax
call fcn.0054af69
mov eax, dword [esp + 0x10]
shr eax, 1
lea ecx, [esp + 0xbc]
mov dword [esp + 0xbc], esi
mov dword [esp + 0xc0], esi
mov dword [esp + 0xc4], esi
call fcn.0043b8a0
push esi
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x1a0], 2
push dword [esp + 0xc4]
push esi
push 0x16
push dword [esp + 0x30]
call edi
test eax, eax
jne 0x46f75f
call ebx
mov edi, eax
lea eax, [esp + 0x24]
push eax
call fcn.004044d0
mov ebx, eax
push str.WinHttpQueryHeaders_failed_with
push ebx
mov byte [esp + 0x1a0], 3
call fcn.0040511f
pop ecx
pop ecx
push edi
push ebx
call fcn.00409937
lea eax, [esp + 0xd8]
push eax
mov eax, ebx
call fcn.0040453a
mov byte [esp + 0x198], 4
cmp edi, esi
jle 0x46f733
and edi, 0xffff
or edi, 0x80070000
push 0xd8
push edi
lea eax, [esp + 0xe0]
push eax
lea eax, [esp + 0x100]
push eax
call fcn.0046f13c
push 0x5db18c
lea eax, [esp + 0xf8]
jmp 0x46f68e
push dword [esp + 0x14]
mov edi, dword [esp + 0x18]
push dword [esp + 0xc4]
xor eax, eax
push dword [esp + 0xc4]
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], esi
push edi
mov word [edi], ax
call fcn.00470b74
lea esi, [esp + 0xbc]
call fcn.004265f2
mov eax, edi
mov ecx, dword [esp + 0x190]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x178]
xor ecx, esp
call fcn.005413de
mov esp, ebp
pop ebp
ret
Function at 0x4ac646
Capabilities:
Get file version info

Disassembly:
push 0xe0
mov eax, 0x583fec
call fcn.0054f23c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x4c]
mov edi, ecx
push eax
push edi
mov ebx, edx
mov byte [ebp - 0x31], 1
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov esi, eax
test esi, esi
jne 0x4ac695
push str.updtDispDevEnumClass::GetBasicFileVersion_failed
push 2
pop ecx
call fcn.00463ba1
pop ecx
xor al, al
jmp 0x4ac7ff
push esi
call fcn.005421ac
pop ecx
push eax
push esi
push 0
push edi
mov dword [ebp - 0x38], eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
test eax, eax
jne 0x4ac737
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea eax, [ebp - 0xec]
push eax
call fcn.004044d0
mov esi, eax
and dword [ebp - 4], 0
push str.GetBasicFileVersion::GetFileVersionInfo_failedError_code_
push esi
call fcn.0040511f
pop ecx
pop ecx
push edi
push esi
call fcn.00409937
lea eax, [ebp - 0x30]
push eax
mov eax, esi
call fcn.0040453a
mov byte [ebp - 4], 1
cmp dword [ebp - 0x1c], 8
mov eax, dword [ebp - 0x30]
jae 0x4ac6fb
lea eax, [ebp - 0x30]
push eax
push 2
pop ecx
call fcn.00463ba1
pop ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00401ad1
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0xec]
call fcn.00403cb2
cmp dword [ebp - 0x38], 0
je 0x4ac68e
push dword [ebp - 0x38]
call fcn.00542293
jmp 0x4ac68d
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x48]
push eax
push 0x5a372c
push dword [ebp - 0x38]
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x4ac77b
mov eax, dword [ebp - 0x48]
mov cx, word [eax + 0xa]
mov edx, dword [ebp - 0x44]
mov word [ebx], cx
mov cx, word [eax + 8]
mov word [edx], cx
mov cx, word [eax + 0xe]
mov edx, dword [ebp - 0x3c]
mov word [edx], cx
mov ax, word [eax + 0xc]
mov ecx, dword [ebp - 0x40]
mov word [ecx], ax
jmp 0x4ac7ed
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea eax, [ebp - 0xec]
push eax
call fcn.004044d0
mov esi, eax
push 2
pop ebx
mov dword [ebp - 4], ebx
push str.GetBasicFileVersion::VerQueryValue_failedError_code__0x_x_n
push esi
call fcn.0040511f
pop ecx
pop ecx
push edi
push esi
call fcn.00409937
lea eax, [ebp - 0x30]
push eax
mov eax, esi
call fcn.0040453a
mov byte [ebp - 4], 3
cmp dword [ebp - 0x1c], 8
mov eax, dword [ebp - 0x30]
jae 0x4ac7c6
lea eax, [ebp - 0x30]
push eax
mov ecx, ebx
call fcn.00463ba1
pop ecx
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x30]
call fcn.00401ad1
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0xec]
call fcn.00403cb2
mov byte [ebp - 0x31], 0
cmp dword [ebp - 0x38], 0
je 0x4ac7fc
push dword [ebp - 0x38]
call fcn.00542293
pop ecx
mov al, byte [ebp - 0x31]
call fcn.0054f2bf
ret 0xc
Function at 0x4b0cae
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x5fe480]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x58]
push eax
push 0x20019
xor esi, esi
push esi
push str.SOFTWARENVIDIA_CorporationGlobalNvBackend
push reloc.WS2_32.dll_bind
mov dword [ebp - 0x58], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4b0ce6
xor al, al
jmp 0x4b0d23
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x54]
push eax
push esi
push esi
push str.Link
push dword [ebp - 0x58]
mov dword [ebp - 0x5c], 0x4e
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4b0ce2
cmp dword [ebp - 0x58], esi
je 0x4b0d17
push dword [ebp - 0x58]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x54]
push eax
push edi
call fcn.0040bb42
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.005413de
leave
ret
Function at 0x4cd768
Capabilities:
Read file on windows

Disassembly:
push 0x264
mov eax, 0x5800e9
call fcn.0054f23c
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], eax
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x270], ecx
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], ebx
mov word [ebp - 0x234], ax
mov dword [ebp - 4], ebx
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
call fcn.00543fe0
add esp, 0xc
push 0x103
lea eax, [ebp - 0x218]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.00404c23
mov eax, esi
cmp esi, ebx
jle 0x4cd813
cmp dword [ebp - 0x220], 8
mov ecx, dword [ebp - 0x234]
jae 0x4cd806
lea ecx, [ebp - 0x234]
cmp word [ecx + eax*2 - 2], 0x5c
je 0x4cd813
dec eax
cmp eax, ebx
jg 0x4cd7f1
cmp dword [ebp - 0x220], 8
mov ecx, dword [ebp - 0x234]
jae 0x4cd828
lea ecx, [ebp - 0x234]
xor edx, edx
mov word [ecx + eax*2], dx
lea ecx, [ebp - 0x234]
call fcn.0043b0e3
push str.crossdomain.xml
lea eax, [ebp - 0x234]
push eax
call fcn.0040bb42
mov dword [ebp - 0x23c], 0xf
mov dword [ebp - 0x240], ebx
mov byte [ebp - 0x250], bl
mov byte [ebp - 4], 1
cmp dword [ebp - 0x220], 8
mov eax, dword [ebp - 0x234]
jae 0x4cd879
lea eax, [ebp - 0x234]
push 0x5cdc80
push eax
call fcn.005441e8
mov esi, eax
pop ecx
pop ecx
cmp esi, ebx
je 0x4cd92a
push 2
push ebx
push esi
call fcn.0057b428
push esi
call fcn.0057b836
push esi
mov dword [ebp - 0x258], eax
call fcn.0057b5e4
add esp, 0x14
lea eax, [ebp - 0x251]
push eax
mov eax, dword [ebp - 0x258]
inc eax
lea ecx, [ebp - 0x26c]
mov byte [ebp - 0x251], bl
mov dword [ebp - 0x26c], ebx
mov dword [ebp - 0x268], ebx
mov dword [ebp - 0x264], ebx
call fcn.00449354
push esi
push dword [ebp - 0x258]
mov byte [ebp - 4], 2
push 1
push dword [ebp - 0x26c]
call fcn.00546cb7
add esp, 0x10
push dword [ebp - 0x26c]
lea ecx, [ebp - 0x250]
call fcn.00409e08
push esi
call fcn.00543b47
mov byte [ebp - 4], 1
pop ecx
cmp dword [ebp - 0x26c], ebx
je 0x4cd92a
push dword [ebp - 0x26c]
call fcn.00542025
pop ecx
mov eax, dword [edi]
cmp eax, ebx
je 0x4cd936
push eax
call fcn.0048cadc
push 0x24
call fcn.00542081
pop ecx
cmp eax, ebx
je 0x4cd949
call fcn.004c95e7
jmp 0x4cd94b
xor eax, eax
cmp dword [ebp - 0x23c], 0x10
mov ecx, dword [ebp - 0x250]
mov dword [edi], eax
jae 0x4cd962
lea ecx, [ebp - 0x250]
push ecx
mov ecx, eax
call fcn.00409e08
mov eax, dword [ebp - 0x270]
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
push ebx
push dword [ebp - 0x25c]
push edi
call dword [eax]
test al, al
jne 0x4cd9aa
push ebx
push 1
lea ecx, [ebp - 0x250]
call fcn.00404bdf
push 1
xor edi, edi
lea esi, [ebp - 0x234]
call fcn.00401d98
xor al, al
call fcn.0054f2bf
ret 0xc
mov eax, dword [edi]
cmp eax, ebx
je 0x4cd9e3
push eax
call fcn.0048cadc
mov dword [edi], ebx
mov byte [ebp - 0x251], bl
push ebx
push 1
lea ecx, [ebp - 0x250]
call fcn.00404bdf
push 1
xor edi, edi
lea esi, [ebp - 0x234]
call fcn.00401d98
mov al, byte [ebp - 0x251]
jmp 0x4cd9a2
mov byte [ebp - 0x251], 1
jmp 0x4cd9be
Function at 0x4d0e24
Capabilities:
Resolve dns

Disassembly:
push 0x40
mov eax, 0x581a1a
call fcn.0054f23c
mov ebx, ecx
xor edi, edi
xor eax, eax
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], edi
cmp byte [ebp + 8], al
je 0x4d0efb
cmp dword [ebx + 0xdc], edi
je 0x4d0e70
push 1
lea esi, [ebp - 0x2c]
call fcn.00401d98
lea eax, [ebx + 0xcc]
jmp 0x4d0f73
lea esi, [ebx + 0xac]
cmp dword [esi + 0x14], 0x10
jb 0x4d0e80
mov eax, dword [esi]
jmp 0x4d0e82
mov eax, esi
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
jne 0x4d0ea8
cmp dword [esi + 0x14], 0x10
jb 0x4d0e96
mov esi, dword [esi]
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
cmp eax, edi
je 0x4d0efb
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
cmp eax, edi
je 0x4d0efb
movzx ecx, word [ebx + 0xa8]
push ecx
mov ecx, eax
shr ecx, 0x18
push ecx
mov esi, eax
shr esi, 0x10
mov ecx, 0xff
and esi, ecx
push esi
mov esi, eax
shr esi, 8
and esi, ecx
movzx eax, al
push esi
push eax
lea edx, [ebx + 0xcc]
push str._d._d._d._d:_d
push edx
mov dword [ebp - 0x4c], edx
call fcn.00464f4b
add esp, 0x1c
push 1
xor edi, edi
lea esi, [ebp - 0x2c]
call fcn.00401d98
mov eax, dword [ebp - 0x4c]
jmp 0x4d0f73
cmp dword [ebx + 0x20], edi
jne 0x4d0f64
lea eax, [ebx + 0xac]
cmp dword [eax + 0x14], 0x10
jb 0x4d0f0e
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0046424a
pop ecx
pop ecx
mov ebx, eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00401c19
push 1
xor edi, edi
lea esi, [ebp - 0x48]
mov byte [ebp - 4], 0
call fcn.00401d98
cmp dword [ebp - 0x18], 8
mov ecx, dword [ebp - 0x2c]
jae 0x4d0f44
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x4c]
movzx edx, word [eax + 0xa8]
push edx
push ecx
add eax, 0x10
push str._s:_d
push eax
call fcn.00464f4b
mov ebx, dword [ebp - 0x4c]
add esp, 0x10
push 1
xor edi, edi
lea esi, [ebp - 0x2c]
call fcn.00401d98
lea eax, [ebx + 0x10]
call fcn.0054f2bf
ret 4