joyce8/EMBER2024-capa huggingface dataset:
Function at 0x472310
Capabilities:
Hide graphical window

Disassembly:
push 0
push dword [ecx + 0x10]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
ret 0x10

Function at 0x472320
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dc520
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push esi
push edi
mov eax, dword [0x51cca4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
lea esi, [ecx + 0x10]
push 0
mov ecx, esi
call fcn.004616e0
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push dword [esi]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edi, dword [sym.imp.USER32.dll_LoadImageA]
push 0
push 0x10
push 0x10
push 1
push 0x6b
push dword [0x5228b4]
call edi
push eax
push 0
push 0x80
push dword [esi]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
call esi
push 0
push 0x20
push 0x20
push 1
push 0x6b
push dword [0x5228b4]
call edi
mov edi, dword [ebp - 0x14]
push eax
push 1
push 0x80
push dword [edi + 0x10]
call esi
push str.Registration
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov ecx, edi
call fcn.00471300
lea eax, [ebp - 0x2c]
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x2c], xmm0
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, 0xa
mov word [ebp - 0x2c], ax
xor eax, eax
mov word [ebp - 0x3c], ax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0x80020004
call esi
test eax, eax
jns 0x47240f
push eax
call fcn.00461260
mov eax, 8
push str.res:__chrome.dll_register.htm
mov word [ebp - 0x3c], ax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x34], eax
test eax, eax
jne 0x472444
mov eax, 0xa
mov dword [ebp - 0x34], 0x8007000e
push 0x8007000e
mov word [ebp - 0x3c], ax
call fcn.00461260
mov eax, dword [edi + 0x30]
lea edx, [ebp - 0x2c]
push edx
push edx
push edx
mov ecx, dword [eax]
push edx
lea edx, [ebp - 0x3c]
mov byte [ebp - 4], 1
push edx
push eax
call dword [ecx + 0xd0]
mov eax, dword [edi + 0x3c]
push dword [eax + 0x2c]
call fcn.00461340
lea eax, [ebp - 0x3c]
push eax
call esi
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
push eax
call esi
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push str.SoftwarePdaNetAndroid
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4724cf
lea eax, [ebp - 0x18]
mov dword [ebp - 0x1c], 4
push eax
lea eax, [edi + 0x4c]
mov dword [ebp - 0x18], 4
push eax
lea eax, [ebp - 0x1c]
push eax
push 0
push str.Activated
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.00470d40
test eax, eax
je 0x4724e6
mov dword [edi + 0x48], 1
mov dword [edi + 0x44], 0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4728b0
Capabilities:
Create thread
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x51cca4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
lea eax, [ebp - 0x14]
push 0
push eax
push 0
push 0x20006
push 0
push 0
push 0
push str.SoftwarePdaNetAndroid
push closesocket
mov dword [ebp - 0x18], ecx
call edi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x47291f
push 0x4e0600
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push 0x4e0600
push 1
push 0
push 0x4e9ff4
push dword [ebp - 0x14]
call ebx
push dword [ebp - 0x14]
call esi
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push str.SoftwarePdaNetAndroid
push closesocket
call edi
test eax, eax
jne 0x472966
push 0x4e0600
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push 0x4e0600
push 1
push 0
push str.registration_code
push dword [ebp - 0x14]
call ebx
push dword [ebp - 0x14]
call esi
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push str.SoftwarePdaNetAndroid
push closesocket
call edi
test eax, eax
jne 0x47299c
push str.Activated
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push dword [ebp - 0x14]
call esi
push 0x4ea560
push str.ConnectionWM523
push str.Dialer
call dword [sym.imp.KERNEL32.dll_WriteProfileStringA]
lea eax, [ebp - 0x10]
push eax
call fcn.004a7b99
mov eax, 0xc22e4507
imul dword [ebp - 0x10]
push 0xa
add edx, dword [ebp - 0x10]
sar edx, 0x10
mov eax, edx
add edx, 7
shr eax, 0x1f
add eax, edx
push 0x51f760
push eax
call fcn.004c01fd
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov ecx, eax
cmp byte [eax], 0
je 0x4729fa
nop dword [eax]
inc byte [ecx]
lea ecx, [ecx + 1]
cmp byte [ecx], 0
jne 0x4729f0
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push str.SoftwarePdaNetAndroid
push closesocket
call edi
test eax, eax
jne 0x472a3c
mov edi, dword [ebp - 0x1c]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push edi
push 1
push 0
push str.data
push dword [ebp - 0x14]
call ebx
push dword [ebp - 0x14]
call esi
cmp dword [ebp + 8], 0
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x48], 0
mov dword [eax + 0x4c], 0
je 0x472aa7
cmp dword [0x51f2dc], 0
je 0x472aa7
push 0x10
call fcn.004897e6
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
test esi, esi
je 0x472a88
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 8], 0
mov byte [esi + 0xc], 1
mov dword [esi], vtable.CDeactivateThread.0
jmp 0x472a8a
xor esi, esi
lea eax, [esi + 4]
mov byte [esi + 0xc], 1
push eax
push 0
push esi
push 0x464130
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 8], eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00489c7b
mov esp, ebp
pop ebp
ret 4
Function at 0x475000
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
push 0xf00
xor ebx, ebx
mov dword [ebp - 4], 0xf00
call fcn.00489827
add esp, 4
mov edi, eax
lea eax, [ebp - 4]
push eax
push edi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x47504a
push edi
call fcn.00489830
push dword [ebp - 4]
call fcn.00489827
add esp, 8
mov edi, eax
lea eax, [ebp - 4]
push eax
push edi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x4750ae
push esi
mov esi, edi
test edi, edi
je 0x4750ad
nop word [eax + eax]
lea eax, [esi + 0x10c]
push str.PdaNet_Broadband_Adapter
push eax
call fcn.0048eb30
add esp, 8
test eax, eax
jne 0x475090
mov esi, dword [esi]
test esi, esi
jne 0x475060
pop esi
push edi
call fcn.00489830
add esp, 4
mov eax, ebx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x194]
mov ebx, 1
mov dword [0x5133fc], eax
mov ax, word [esi + 0x198]
mov word [0x513400], ax
pop esi
push edi
call fcn.00489830
add esp, 4
mov eax, ebx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x476940
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x51cca4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 6
jl 0x4769fb
cmp dword [0x520810], 0
jne 0x476971
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x520810], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, 0x51eb851f
sub ecx, dword [0x520810]
mul ecx
lea eax, [ebp - 0x404]
shr edx, 5
push edx
push 0x4eabe0
push eax
call fcn.004646a0
lea eax, [ebp - 0x404]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4769a7
lea ecx, [ebp + 0x10]
sub eax, edx
push ecx
push 0
push dword [ebp + 0xc]
mov ecx, 0x3ff
sub ecx, eax
push ecx
lea ecx, [ebp - 0x404]
add eax, ecx
push eax
call fcn.00464690
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 1
push ecx
call fcn.004a77b1
or ecx, 0xffffffff
add esp, 0x1c
test eax, eax
cmovs eax, ecx
test eax, eax
je 0x4769fb
lea eax, [ebp - 0x404]
push eax
call fcn.00476a90
add esp, 4
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
call fcn.00489c7b
mov esp, ebp
pop ebp
ret

Function at 0x477460
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0xffff
push esi
movzx edx, word [ecx + 4]
mov esi, dword [ecx]
test dx, dx
je 0x47749c
movzx ecx, byte [esi]
lea esi, [esi + 1]
xor ecx, eax
add edx, 0xffff
movzx ecx, cl
shr ax, 8
xor ax, word [ecx*2 + 0x513470]
movzx eax, ax
test dx, dx
jne 0x477477
not eax
pop esi
pop ebp
ret
Function at 0x479eb0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dcbcf
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
mov eax, dword [0x51cca4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebp + 8]
push dword [ebp + 8]
mov eax, dword [edx]
mov dword [ebp - 0x20], eax
mov eax, dword [edx + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push eax
push 0
lea eax, [ebp - 0x14]
push eax
call fcn.00479750
cmp dword [0x52081c], 0
jne 0x479f47
push 0x14
call fcn.004897e6
add esp, 4
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x479f28
mov ecx, eax
call fcn.004799a0
mov esi, eax
jmp 0x479f2a
xor esi, esi
lea eax, [esi + 4]
mov byte [esi + 0xc], 1
push eax
push 0
push esi
push 0x464130
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 8], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x47b530
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x51cca4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov ebx, ecx
push 0x4000
mov dword [ebp - 0x11c], ebx
call fcn.00489827
mov edx, dword [ebx + 0x14]
add ebx, 0x14
add esp, 4
mov edi, eax
test edx, edx
je 0x47b636
push esi
nop dword [eax + eax]
lea eax, [ebp - 0x118]
mov dword [ebp - 0x118], 0x10
push eax
lea eax, [ebp - 0x114]
push eax
push 0
push 0x4000
push edi
push edx
call dword [sym.imp.WS2_32.dll_recvfrom]
mov esi, eax
test esi, esi
jle 0x47b61b
push dword [ebp - 0x112]
call dword [sym.imp.WS2_32.dll_htons]
movzx ecx, ax
push ecx
push dword [ebp - 0x110]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
push esi
lea eax, [ebp - 0x104]
push str.udp_receive__d_bytes_from__s:_d
push eax
call fcn.004646a0
mov eax, dword [ebp - 0x11c]
xorps xmm0, xmm0
mov dword [ebp - 0x12c], edi
mov dword [ebp - 0x128], esi
movq qword [ebp - 0x124], xmm0
movzx eax, word [eax + 0x10]
push eax
push dword [0x51fff0]
lea eax, [ebp - 0x12c]
push dword [ebp - 0x112]
push dword [ebp - 0x110]
push eax
call fcn.00479110
mov edx, dword [ebx]
add esp, 0x28
test edx, edx
jne 0x47b570
jmp 0x47b635
call sub.WS2_32.dll_WSAGetLastError
push eax
lea eax, [ebp - 0x104]
push str.udp_receive_failed__err_d
push eax
call fcn.004646a0
add esp, 0xc
pop esi
push ebx
call fcn.004768a0
push edi
call fcn.00489830
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
pop edi
pop ebx
call fcn.00489c7b
mov esp, ebp
pop ebp
ret
Function at 0x47c7a0
Capabilities:
Access peb ldr_data
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dce20
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x51cca4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov edi, dword [0x5228b4]
mov esi, dword [sym.imp.USER32.dll_LoadImageA]
push 0
push 0x10
push 0x10
push 1
push 0x82
push edi
call esi
mov ecx, dword [ebp - 0x10]
push 0
push 0x10
push 0x10
push 1
push 0x81
push edi
mov dword [ecx + 0xd8], eax
call esi
mov ecx, dword [ebp - 0x10]
push 0
push 0x10
push 0x10
push 1
push 0x83
push edi
mov dword [ecx + 0xdc], eax
call esi
mov esi, dword [ebp - 0x10]
push 0
push 0x7d0
push 1
push dword [esi + 0x10]
mov dword [esi + 0xe0], eax
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, esi
call fcn.0047c600
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, 0xa
mov word [ebp - 0x20], ax
xor eax, eax
mov word [ebp - 0x30], ax
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0x80020004
call edi
test eax, eax
jns 0x47c87e
push eax
call fcn.00461260
mov eax, 8
push str.res:__chrome.dll_tray.htm
mov word [ebp - 0x30], ax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x28], eax
test eax, eax
jne 0x47c8b3
mov eax, 0xa
mov dword [ebp - 0x28], 0x8007000e
push 0x8007000e
mov word [ebp - 0x30], ax
call fcn.00461260
mov eax, dword [esi + 0x30]
lea edx, [ebp - 0x20]
push edx
push edx
push edx
mov ecx, dword [eax]
push edx
lea edx, [ebp - 0x30]
mov byte [ebp - 4], 1
push edx
push eax
call dword [ecx + 0xd0]
mov eax, dword [esi + 0x3c]
push dword [eax + 0x2c]
call fcn.00461340
lea eax, [ebp - 0x30]
push eax
call edi
lea eax, [ebp - 0x20]
push eax
call edi
add esi, 0x88
lea eax, [esi + 4]
mov byte [esi + 0xc], 0
push eax
push 0
push esi
push 0x464130
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 8], eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x47dea0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
push 0
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push str.SoftwarePdaNetAndroid
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x47def0
push 4
lea eax, [ebp - 4]
push eax
push 4
push 0
push dword [ebp + 8]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret

Function at 0x47e270
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x51cca4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0
push 1
push 2
mov esi, ecx
xor bl, bl
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi + 0x40], eax
xorps xmm0, xmm0
movups xmmword [ebp - 0x14], xmm0
mov eax, 2
mov dword [ebp - 0x10], 0x100007f
push 0x13ad
mov word [ebp - 0x14], ax
call dword [sym.imp.WS2_32.dll_ntohs]
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x14]
push 0x10
push eax
push dword [esi + 0x40]
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x47e2e1
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00489c7b
mov esp, ebp
pop ebp
ret
push dword [esi + 0x40]
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [ebp - 4]
mov al, bl
mov dword [esi + 0x40], 0
xor ecx, ebp
pop esi
pop ebx
call fcn.00489c7b
mov esp, ebp
pop ebp
ret
Function at 0x47ec30
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x51cca4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
cmp dword [esi + 0x40], 0
jne 0x47ecc0
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi + 0x40], eax
xorps xmm0, xmm0
movups xmmword [ebp - 0x14], xmm0
mov eax, 2
mov dword [ebp - 0x10], 0x100007f
push 0x13ad
mov word [ebp - 0x14], ax
call dword [sym.imp.WS2_32.dll_ntohs]
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x14]
push 0x10
push eax
push dword [esi + 0x40]
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x47ecc0
push dword [esi + 0x40]
call dword [sym.imp.WS2_32.dll_closesocket]
pop edi
mov dword [esi + 0x40], 0
or eax, 0xffffffff
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00489c7b
mov esp, ebp
pop ebp
ret 0xc
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x47ecc5
push 0
sub ecx, edx
push ecx
push edi
push dword [esi + 0x40]
call dword [sym.imp.WS2_32.dll_send]
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0x400
push ebx
push dword [esi + 0x40]
call dword [sym.imp.WS2_32.dll_recv]
cmp byte [ebp + 0x10], 0
mov edi, eax
jne 0x47ed0f
push dword [esi + 0x40]
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 0x40], 0
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00489c7b
mov esp, ebp
pop ebp
ret 0xc
Function at 0x47ed30
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dcfc6
mov eax, dword fs:[0]
push eax
sub esp, 0x1c0
mov eax, dword [0x51cca4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [ebp - 0x1c8]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
cmp eax, 0xffffffff
jne 0x47ed83
call dword [sym.imp.WS2_32.dll_WSACleanup]
xor al, al
jmp 0x47ee8a
push dword [ebp - 0x1cc]
mov eax, dword [ebp + 8]
movaps xmm0, xmmword [0x4ebf00]
mov dword [edi + 0x28], eax
lea eax, [edi + 0x20]
push eax
push 0x5137b8
push 0x51e8b0
push 0x5228b0
mov dword [edi + 0x2c], 0
movups xmmword [ebp - 0x38], xmm0
call fcn.004646e0
add esp, 0x14
movzx eax, ax
mov ecx, edi
push 0
push eax
push 0
push 0x40100
push 0x6cf0000
push 0
lea eax, [ebp - 0x38]
push eax
push 0
call fcn.0046d380
push 0
push 0x4e0600
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.004642f0
lea esi, [edi + 0x58]
lea eax, [ebp - 0x28]
cmp esi, eax
je 0x47ee43
mov eax, dword [esi + 0x14]
cmp eax, 0x10
jb 0x47ee1b
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00464490
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x47ee33
mov eax, dword [esi]
jmp 0x47ee35
mov eax, esi
mov byte [eax], 0
mov ecx, esi
lea eax, [ebp - 0x28]
push eax
call fcn.00463e40
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x47ee5f
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00464490
push dword [edi + 4]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.004805a0
add esp, 4
mov ecx, edi
push 0x5137a8
call fcn.0047eeb0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00489c7b
mov esp, ebp
pop ebp
ret 4
Function at 0x483bd0
Capabilities:
Create pipe
Create process on windows
Create two anonymous pipes
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreatePipe]
lea eax, [ebp - 0x20]
push 0
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 8], 0
push eax
lea eax, [ebp - 4]
mov dword [ebp - 0xc], 0
push eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x20], 0xc
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x1c], 0
call edi
test eax, eax
je 0x483d42
mov esi, dword [sym.imp.KERNEL32.dll_SetHandleInformation]
push 0
push 1
push dword [ebp - 4]
call esi
test eax, eax
je 0x483d42
push 0
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
call edi
test eax, eax
je 0x483d42
push 0
push 1
push dword [ebp - 0xc]
call esi
test eax, eax
je 0x483d42
push 0x44
lea eax, [ebp - 0x74]
xorps xmm0, xmm0
push 0
push eax
movups xmmword [ebp - 0x30], xmm0
call fcn.0048e7f0
mov eax, dword [ebp - 0x10]
add esp, 0xc
or dword [ebp - 0x48], 0x100
xor edi, edi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x74]
mov dword [ebp - 0x74], 0x44
push eax
push edi
push edi
push 0x8000000
push 1
push edi
push edi
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x483d20
push 0xfa0
push dword [ebp - 0x30]
xor esi, esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x483d20
mov edi, dword [ebp + 0x10]
add edi, 0xffffefff
push ebx
mov ebx, dword [ebp + 0xc]
test edi, edi
jle 0x483d16
push 0
lea eax, [ebp - 0x14]
push eax
push 0x1000
lea eax, [esi + ebx]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x483d16
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x483d16
add esi, eax
cmp eax, 0x1000
jb 0x483d16
cmp esi, edi
jl 0x483ce6
mov byte [esi + ebx], 0
mov edi, 1
pop ebx
push dword [ebp - 8]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xc]
call esi
push dword [ebp - 4]
call esi
push dword [ebp - 0x10]
call esi
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4878b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x51cca4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
test esi, esi
je 0x487919
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4878d0
sub ecx, edx
sar ecx, 1
lea ebx, [ecx + 1]
cmp ebx, 0x3fffffff
jg 0x487919
add ebx, ebx
mov eax, ebx
call fcn.00489c90
mov edi, esp
test edi, edi
je 0x487919
push 0
push 0
push ebx
push edi
push 0xffffffffffffffff
push esi
push 0
push 3
mov byte [edi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, eax
neg esi
sbb esi, esi
and esi, edi
jmp 0x48791b
xor esi, esi
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
push str.SoftwarePdaNetAndroid
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x487968
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], 4
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc], 4
push eax
push 0
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
lea esp, [ebp - 0x1c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00489c7b
mov esp, ebp
pop ebp
ret 0xc

Function at 0x487980
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x51cca4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 0x104]
push esi
mov esi, dword [ebp + 0xc]
push edi
push 0x100
push 0
push eax
mov dword [ebp - 0x108], ebx
call fcn.0048e7f0
add esp, 0xc
test esi, esi
je 0x487a12
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4879c1
sub ecx, edx
sar ecx, 1
lea ebx, [ecx + 1]
cmp ebx, 0x3fffffff
jg 0x487a0a
add ebx, ebx
mov eax, ebx
call fcn.00489c90
mov edi, esp
test edi, edi
je 0x487a0a
push 0
push 0
push ebx
push edi
push 0xffffffffffffffff
push esi
push 0
push 3
mov byte [edi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, eax
neg esi
sbb esi, esi
and esi, edi
jmp 0x487a0c
xor esi, esi
mov ebx, dword [ebp - 0x108]
lea eax, [ebp - 0x108]
push eax
push 0x20019
push 0
push str.SoftwarePdaNetAndroid
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x487a78
lea eax, [ebp - 0x110]
mov dword [ebp - 0x10c], 1
push eax
lea eax, [ebp - 0x104]
mov dword [ebp - 0x110], 0x1000
push eax
lea eax, [ebp - 0x10c]
push eax
push 0
push esi
push dword [ebp - 0x108]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x108]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebp - 0x10c]
call fcn.00460590
mov eax, dword [ebp - 0x10c]
push 0
mov dword [ebx], eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
xor eax, eax
lea esp, [ebp - 0x11c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00489c7b
mov esp, ebp
pop ebp
ret 0xc