joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42d590
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x6ab0d4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x11c]
push esi
push edi
push 0x118
push 0
push eax
mov edi, edx
mov dword [ebp - 0x120], 0x11c
mov esi, ecx
call fcn.005d2630
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x42d5ef
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005697c8
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x11c]
mov eax, dword [ebp - 0x118]
mov dword [edi], ecx
mov dword [ebx], eax
cmp ecx, 5
jne 0x42d61e
cmp eax, 1
je 0x42d60e
cmp eax, 2
jne 0x42d657
push 0xd
push 0x69477c
mov ecx, esi
call fcn.00407e20
jmp 0x42d657
cmp ecx, 6
jne 0x42d657
test eax, eax
jne 0x42d62e
push 0x694798
jmp 0x42d650
cmp eax, 1
jne 0x42d63a
push 0x6947bc
jmp 0x42d650
cmp eax, 2
jne 0x42d646
push 0x6947d8
jmp 0x42d650
cmp eax, 3
jne 0x42d657
push str.OS:Windows
mov ecx, esi
call fcn.00430c80
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005697c8
mov esp, ebp
pop ebp
ret

Function at 0x42d670
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x6ab0d4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x44
lea eax, [ebp - 0x48]
mov esi, ecx
push 0
push eax
call fcn.005d2630
xor eax, eax
mov dword [ebp - 0x48], 0x44
add esp, 0xc
mov dword [ebp - 0x1c], 1
cmp dword [esi + 0x14], 8
xorps xmm0, xmm0
mov word [ebp - 0x18], ax
movups xmmword [ebp - 0x58], xmm0
jb 0x42d6b6
mov esi, dword [esi]
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x42d706
push 0xffffffffffffffff
push dword [ebp - 0x58]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x54]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x58]
call esi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005697c8
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.005697c8
mov esp, ebp
pop ebp
ret
Function at 0x42d720
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x6ab0d4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
jne 0x42d756
or eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005697c8
mov esp, ebp
pop ebp
ret
push 0x228
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x230], 0x22c
push 0
push eax
call fcn.005d2630
add esp, 0xc
mov dword [ebp - 0x234], 0xffffffff
lea eax, [ebp - 0x230]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x42d7ce
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_Process32NextW]
push str.xunyou.exe
lea eax, [ebp - 0x20c]
push eax
call ebx
test eax, eax
je 0x42d7c2
lea eax, [ebp - 0x230]
push eax
push esi
call edi
test eax, eax
jne 0x42d7a0
jmp 0x42d7cc
mov dword [ebp - 0x234], 0
pop edi
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x234]
xor ecx, ebp
pop esi
call fcn.005697c8
mov esp, ebp
pop ebp
ret

Function at 0x42d830
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x19c
mov eax, dword [0x6ab0d4]
xor eax, esp
mov dword [esp + 0x198], eax
push esi
push 0x190
lea eax, [esp + 0xc]
mov esi, ecx
push 0
push eax
call fcn.005d2630
add esp, 0xc
lea eax, [esp + 8]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [esi], eax
test eax, eax
je 0x42d886
push eax
call fcn.005e10a7
push eax
call fcn.005e0eee
add esp, 8
mov eax, dword [esp + 8]
cmp al, 2
jne 0x42d895
shr eax, 8
cmp al, 2
je 0x42d89b
mov dword [esi], 0xa
mov ecx, dword [esp + 0x19c]
pop esi
xor ecx, esp
call fcn.005697c8
mov esp, ebp
pop ebp
ret
Function at 0x42da00
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x609648
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x6ab0d4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x128], 0xffffffff
jne 0x42dab0
call fcn.004155f0
test al, al
jne 0x42dab0
cmp byte [0x6b2b20], al
je 0x42da9a
lea edx, [esi + 0xa8]
lea ecx, [ebp - 0x40]
call fcn.0040ee90
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
jb 0x42da61
mov eax, dword [eax]
push eax
movzx eax, word [esi + 0x2a]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
push eax
push str.xunyou_report__socket___d___ssend_data_failed__sock_INVALID_SOCKET
push 3
push 0x6b2b20
call fcn.00403570
mov eax, dword [ebp - 0x2c]
add esp, 0x14
cmp eax, 8
jb 0x42da9a
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00408960
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ebx, dword [ebp + 0x10]
mov ecx, 0x10
mov eax, 0x1c
cmp word [ebx], 2
cmove eax, ecx
push eax
push ebx
push 0
push ecx
push dword [ebp + 8]
push dword [esi + 0x128]
call dword [sym.imp.WS2_32.dll_sendto]
cmp eax, 0xffffffff
jne 0x42dbc9
cmp byte [0x6b2b20], 0
mov eax, dword [sym.imp.WS2_32.dll_WSAGetLastError]
je 0x42db8e
call eax
mov edx, eax
lea ecx, [ebp - 0x58]
call fcn.004029b0
mov edi, eax
mov edx, ebx
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0040ee90
mov byte [ebp - 4], 2
cmp dword [edi + 0x14], 8
jb 0x42db1e
mov edi, dword [edi]
cmp dword [eax + 0x14], 8
jb 0x42db26
mov eax, dword [eax]
push edi
push eax
movzx eax, word [esi + 0x2a]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
push eax
push str.xunyou_report__socket___d___s:__s_send_to_failed
push 3
push 0x6b2b20
call fcn.00403570
mov eax, dword [ebp - 0x14]
add esp, 0x18
cmp eax, 8
jb 0x42db60
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00408960
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x18], 0
cmp eax, 8
jb 0x42db89
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00408960
mov eax, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call eax
cmp eax, 0x2738
je 0x42dbb3
mov eax, dword [esi + 0x128]
cmp eax, 0xffffffff
je 0x42dbb3
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 0x128], 0xffffffff
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x42dbe0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6096c8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x6ab0d4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
mov dword [edi], 0xffffffff
xorps xmm0, xmm0
mov dword [edi + 4], 0xffffffff
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
movsd qword [edi + 0x10], xmm0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0xffffffff
mov byte [edi + 0x2c], 0
mov dword [ebp - 0x18], edi
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov ebx, dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
lea esi, [edi + 0x48]
push 0
push esi
mov byte [esi + 0x18], 0
call ebx
test eax, eax
setne al
mov byte [esi + 0x18], al
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x74], 0
mov dword [edi + 0x78], 0
lea esi, [edi + 0x7c]
mov byte [esi + 0x18], 0
push 0
push esi
call ebx
test eax, eax
setne al
mov byte [esi + 0x18], al
add edi, 0x98
mov byte [ebp - 4], 5
mov dword [ebp - 0x14], edi
lea esi, [edi + 4]
push 0
push 0
mov dword [edi], 0
mov dword [ebp - 0x1c], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0041f6d0
mov dword [esi], eax
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov byte [ebp - 4], 7
mov ecx, edi
push 8
mov dword [edi], 0x3f800000
call fcn.00419a50
mov edi, dword [ebp - 0x10]
lea esi, [edi + 0xb8]
mov byte [esi + 0x18], 0
push 0
push esi
call ebx
test eax, eax
setne al
mov byte [esi + 0x18], al
mov eax, dword [ebp + 8]
push 0x80
lea esi, [edi + 0xd8]
mov dword [edi + 0xd4], eax
push 0
push esi
call fcn.005d2630
mov ecx, dword [ebp + 0xc]
mov eax, 2
mov dword [esi + 4], ecx
add esp, 0xc
mov cx, word [ebp + 0x10]
mov word [esi], ax
mov eax, edi
mov word [esi + 2], cx
mov dword [edi + 0x158], 0
mov dword [edi + 0x15c], 0x1b58
mov dword [edi + 0x158], 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x42df30
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x606428
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
mov eax, dword [0x6ab0d4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0
push 0
push esi
push 0x42dff0
push 0
push 0
call fcn.005df4bd
add esp, 0x18
mov dword [esi + 0x28], eax
cmp eax, 0xffffffff
jne 0x42dfda
cmp byte [0x6b2b20], 0
je 0x42dfc8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x24]
call fcn.004029b0
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
jb 0x42df9e
mov eax, dword [eax]
push eax
push str.traffic_statistics__create_thread_failed__s_
push 3
push 0x6b2b20
call fcn.00403570
mov eax, dword [ebp - 0x10]
add esp, 0x10
cmp eax, 8
jb 0x42dfc8
inc eax
lea ecx, [ebp - 0x24]
push eax
push dword [ebp - 0x24]
call fcn.00408960
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x42eec0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x6ab0d4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
mov dword [ebp - 0x20], 0
push 0xffffffffffffffff
push eax
push ecx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 8], 7
mov dword [ebp - 0xc], 0
mov word [ebp - 0x1c], ax
call fcn.00407f20
lea eax, [ebp - 0x20]
push eax
push 0x42ef40
call dword [sym.imp.USER32.dll_EnumWindows]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [ebp - 0x20]
xor ecx, ecx
test eax, eax
cmovne esi, ecx
mov ecx, dword [ebp - 8]
cmp ecx, 8
jb 0x42ef2c
inc ecx
push ecx
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x1c]
call fcn.00408960
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.005697c8
mov esp, ebp
pop ebp
ret
Function at 0x4308c0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x609b66
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x6ab0d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14c], esi
lea ecx, [ebp - 0x148]
mov dword [ebp - 0x150], 0
call fcn.00430a90
push str.dialConfig.ini
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x130]
call fcn.0040b440
add esp, 4
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x134]
cmp eax, 0x10
jb 0x430947
inc eax
lea ecx, [ebp - 0x148]
push eax
push dword [ebp - 0x148]
call fcn.00408cd0
push 0x105
lea eax, [ebp - 0x118]
mov dword [ebp - 0x134], 0xf
push 0
push eax
mov dword [ebp - 0x138], 0
mov byte [ebp - 0x148], 0
call fcn.005d2630
add esp, 0xc
lea eax, [ebp - 0x130]
cmp dword [ebp - 0x11c], 0x10
cmovae eax, dword [ebp - 0x130]
push eax
push 0x105
lea eax, [ebp - 0x118]
push eax
push 0
push str.userid
push str.userinfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp byte [ebp - 0x118], 0
jne 0x4309c9
xor ecx, ecx
jmp 0x4309db
lea ecx, [ebp - 0x118]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4309d2
sub ecx, edx
push ecx
lea eax, [ebp - 0x118]
mov ecx, esi
push eax
call fcn.00408390
cmp dword [esi + 0x10], 0
je 0x4309f7
mov ecx, esi
call fcn.00430a40
mov ecx, dword [ebp - 0x11c]
cmp ecx, 0x10
jb 0x430a15
inc ecx
push ecx
push dword [ebp - 0x130]
lea ecx, [ebp - 0x130]
call fcn.00408cd0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005697c8
mov esp, ebp
pop ebp
ret

Function at 0x432830
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
push 0
mov dword [esp + 0x18], edi
call fcn.005df7dd
add esp, 4
mov dword [edi + 0x58], eax
mov edx, 1
lea esi, [edi + 0x5c]
mov ecx, eax
lea esi, [esi + 4]
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
inc edx
mov dword [esi - 4], eax
cmp edx, 0x270
jl 0x432857
lea eax, [edi + 0x3c]
mov dword [edi + 0x54], 0x270
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0
push 0x6900f1
lea ecx, [edi + 0x10]
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
call fcn.00408390
lea eax, [edi + 0x30]
mov edi, eax
nop
mov esi, dword [edi]
mov eax, esi
mov ecx, dword [edi + 4]
mov edx, ecx
mov dword [esp + 0x10], ecx
xor ebx, ebx
xor ecx, ecx
lock cmpxchg8b qword [edi]
cmp esi, eax
jne 0x4328b0
cmp dword [esp + 0x10], edx
jne 0x4328b0
mov eax, dword [esp + 0x14]
xor cl, cl
add eax, 0x38
xchg byte [eax], cl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x432cc0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
lea eax, [ecx + 8]
mov esi, 0x270
nop dword [eax]
mov edx, dword [eax - 4]
lea eax, [eax + 4]
xor edx, dword [eax - 4]
and edx, 0x7fffffff
xor edx, dword [eax - 8]
mov ecx, edx
and cl, 1
movzx ecx, cl
neg ecx
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [eax + 0x62c]
xor ecx, edx
mov dword [eax + 0x9b8], ecx
sub esi, 1
jne 0x432cd0
pop esi
ret

Function at 0x432d10
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
mov ebx, ecx
mov ecx, 0xe3
push esi
push edi
lea edi, [ebx + 0x9c4]
mov edx, dword [edi + 4]
lea edi, [edi + 4]
xor edx, dword [edi - 4]
and edx, 0x7fffffff
xor edx, dword [edi - 4]
mov eax, edx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr edx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x630]
xor eax, edx
mov dword [edi - 0x9c4], eax
sub ecx, 1
jne 0x432d20
lea esi, [ebx + 0xd50]
mov edi, 0x18c
mov ecx, dword [esi + 4]
lea esi, [esi + 4]
xor ecx, dword [esi - 4]
and ecx, 0x7fffffff
xor ecx, dword [esi - 4]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi - 0xd50]
xor eax, ecx
mov dword [esi - 0x9c4], eax
sub edi, 1
jne 0x432d62
mov ecx, dword [ebx + 0x1380]
xor ecx, dword [ebx + 4]
and ecx, 0x7fffffff
xor ecx, dword [ebx + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx + 0x634]
xor eax, ecx
mov dword [ebx + 0x9c0], eax
mov dword [ebx], edi
pop edi
pop esi
pop ebx
ret

Function at 0x432de0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
push edi
mov edi, ecx
mov edx, 0x1571
mov eax, 1
mov dword [edi + 0x1384], 0xffffffff
lea esi, [edi + 8]
mov dword [edi + 4], 0x1571
mov ecx, edx
lea esi, [esi + 4]
shr ecx, 0x1e
xor ecx, edx
imul edx, ecx, 0x6c078965
add edx, eax
inc eax
mov dword [esi - 4], edx
cmp eax, 0x270
jl 0x432e02
mov dword [edi], 0x270
mov eax, edi
pop edi
pop esi
ret 0xc
Function at 0x4346a0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60a2be
mov eax, dword fs:[0]
push eax
sub esp, 0x1ac
mov eax, dword [0x6ab0d4]
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
mov dword [ebp - 0x1a4], edi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1b8], edi
mov dword [edi + 4], eax
mov dword [ebp - 4], 0
mov dword [edi], vtable.DefaultSender.0
mov byte [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov byte [ebp - 4], 1
lea esi, [edi + 0x14]
push 0
mov dword [ebp - 0x1a4], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004366c0
mov dword [esi], eax
lea eax, [edi + 0x1c]
push 2
push eax
call fcn.00567940
lea eax, [edi + 0x4c]
push eax
call fcn.005674cf
add esp, 0xc
lea ecx, [edi + 0x74]
mov byte [ebp - 4], 4
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x43475b
mov eax, dword [ecx]
jmp 0x43475d
mov eax, ecx
push 0x1e
push str.open_data_router_api.wyjsq.com
mov byte [eax], 0
call fcn.00408390
lea eax, [edi + 0x8c]
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 0x10
jb 0x434788
mov eax, dword [eax]
mov byte [eax], 0
mov byte [ebp - 4], 6
lea esi, [edi + 0xa4]
mov dword [ebp - 0x1a4], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00436610
mov dword [esi], eax
mov ecx, edi
mov byte [ebp - 4], 7
call fcn.00435a50
push 0x190
lea eax, [ebp - 0x1a0]
push 0
push eax
call fcn.005d2630
add esp, 0xc
lea eax, [ebp - 0x1a0]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 3
call fcn.0056b150
lea eax, [ebp - 0x1a8]
mov dword [ebp - 0x1a8], edi
push eax
lea edx, [ebp - 0x1ac]
mov dword [ebp - 0x1ac], 0x435b10
lea ecx, [ebp - 0x1a4]
call fcn.00419e70
add esp, 8
mov edx, eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1b4]
call fcn.00436930
mov eax, dword [ebp - 0x1a4]
test eax, eax
je 0x43483a
push 8
push eax
call fcn.00569dc5
add esp, 8
cmp dword [edi + 0x10], 0
je 0x434845
call fcn.005df32d
mov ecx, dword [ebp - 0x1b4]
mov eax, edi
mov dword [edi + 0xc], ecx
mov ecx, dword [ebp - 0x1b0]
mov dword [edi + 0x10], ecx
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.005697c8
mov esp, ebp
pop ebp
ret 4
Function at 0x447ea0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0x10]
xor dl, dl
test esi, esi
je 0x447ec7
mov eax, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
sub edi, eax
mov cl, byte [edi + eax]
lea eax, [eax + 1]
xor cl, byte [eax - 1]
or dl, cl
sub esi, 1
jne 0x447eb6
pop edi
movzx eax, dl
pop esi
ret

Function at 0x454040
Capabilities:
Generate random numbers via winapi

Disassembly:
mov eax, 4
call fcn.0056a050
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
push 1
push esi
xor edi, edi
call fcn.004492c0
mov ebx, eax
push ebx
push esi
call fcn.004491a0
mov ebp, eax
add esp, 0x10
test ebp, ebp
je 0x4540c9
push 0xf0000040
push 1
push edi
push edi
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x4540a3
push ebp
push ebx
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
push 0
push dword [esp + 0x14]
test eax, eax
cmovne edi, ebx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
lea eax, [edi*8]
push eax
push edi
push esi
call fcn.00449210
push esi
call fcn.00449360
mov edi, eax
add esp, 0x10
test edi, edi
je 0x4540c9
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 1
push esi
call fcn.004492c0
mov ebx, eax
push ebx
push esi
call fcn.004491a0
mov ebp, eax
add esp, 0x10
test ebp, ebp
je 0x454138
push 0xf0000040
push 0x16
push str.Intel_Hardware_Cryptographic_Service_Provider
xor edi, edi
lea eax, [esp + 0x1c]
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x45411e
push ebp
push ebx
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
push 0
push dword [esp + 0x14]
test eax, eax
cmovne edi, ebx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
lea eax, [edi*8]
push eax
push edi
push esi
call fcn.00449210
push esi
call fcn.00449360
add esp, 0x10
mov edi, eax
test edi, edi
jne 0x4540c1
push esi
call fcn.00449360
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x454700
Capabilities:
Encode data using xor

Disassembly:
mov eax, 4
call fcn.0056a050
mov edx, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x10]
mov dword [esp + 4], 0x10
lea eax, [edx + 0xf]
lea ecx, [esi + 0xf]
cmp esi, eax
ja 0x454744
cmp ecx, edx
jb 0x454744
push edi
mov ecx, esi
sub edx, esi
mov edi, 0x10
mov al, byte [edx + ecx]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub edi, 1
jne 0x454733
pop edi
jmp 0x454751
movups xmm1, xmmword [esi]
movups xmm0, xmmword [edx]
pxor xmm1, xmm0
movups xmmword [esi], xmm1
push 0x10
push esi
lea eax, [esp + 0xc]
push eax
mov eax, dword [esp + 0x18]
push esi
push dword [eax + 4]
call fcn.004702c0
add esp, 0x14
pop esi
test eax, eax
je 0x45477b
cmp dword [esp], 0x10
jne 0x45477b
mov eax, 1
pop ecx
ret
xor eax, eax
pop ecx
ret
Function at 0x4549a0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x454a03
mov edx, dword [esp + 0x10]
test edx, edx
je 0x454a03
push ebx
push edi
mov edi, dword [esp + 0x10]
mov ebx, dword [edi + 0xc]
cmp edx, ebx
cmovb ebx, edx
xor ecx, ecx
test ebx, ebx
je 0x4549d1
mov al, byte [ecx + esi]
xor byte [edi + ecx + 0x10], al
inc ecx
cmp ecx, ebx
jb 0x4549c5
mov eax, dword [edi + 0xc]
cmp edx, eax
jbe 0x454a01
sub edx, eax
mov eax, 0x10
cmp edx, eax
cmova edx, eax
xor eax, eax
test edx, edx
je 0x454a01
nop word [eax + eax]
mov ecx, dword [edi + 0xc]
add ecx, eax
mov cl, byte [ecx + esi]
xor byte [edi + eax + 0x30], cl
inc eax
cmp eax, edx
jb 0x4549f0
pop edi
pop ebx
pop esi
ret

Function at 0x4550d0
Capabilities:
Resolve dns

Disassembly:
mov eax, 0x20
call fcn.0056a050
push ebx
push esi
mov esi, dword [esp + 0x38]
xor ebx, ebx
mov eax, esi
sub eax, ebx
je 0x455118
sub eax, 2
je 0x455118
sub eax, 0x15
je 0x455118
push 0x293
push str.crypto_bio_b_addr.c
push 0x83
push 0x8f
push 0x20
call fcn.00443d70
add esp, 0x14
pop esi
xor eax, eax
pop ebx
add esp, 0x20
ret
call fcn.00454eb0
cmp eax, 1
jne 0x455110
mov eax, dword [esp + 0x3c]
xorps xmm0, xmm0
movups xmmword [esp + 8], xmm0
push ebp
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x44]
push edi
xor edi, edi
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], esi
movups xmmword [esp + 0x20], xmm0
test esi, esi
jne 0x455158
or eax, 0x400
mov dword [esp + 0x10], eax
cmp dword [esp + 0x3c], 1
jne 0x455166
or eax, 1
mov dword [esp + 0x10], eax
mov ebp, dword [esp + 0x4c]
lea eax, [esp + 0x10]
push ebp
push eax
push dword [esp + 0x40]
push dword [esp + 0x40]
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov esi, eax
test esi, esi
je 0x4551bc
cmp esi, 8
je 0x455203
mov eax, dword [esp + 0x10]
test eax, 0x400
je 0x4551cb
and eax, 0xfffffbff
mov edi, esi
or eax, 4
push ebp
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x40]
push dword [esp + 0x40]
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov esi, eax
test esi, esi
jne 0x455184
mov ebx, 1
pop edi
pop ebp
pop esi
mov eax, ebx
pop ebx
add esp, 0x20
ret
push 0x2d6
push str.crypto_bio_b_addr.c
push 2
push 0x8f
push 0x20
call fcn.00443d70
test edi, edi
cmovne esi, edi
push esi
call fcn.00455660
push eax
push 1
call fcn.00443530
add esp, 0x20
pop edi
pop ebp
pop esi
mov eax, ebx
pop ebx
add esp, 0x20
ret
push 0x2c7
push str.crypto_bio_b_addr.c
push 0x41
push 0x8f
push 0x20
call fcn.00443d70
add esp, 0x14
pop edi
pop ebp
pop esi
mov eax, ebx
pop ebx
add esp, 0x20
ret