joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41f94f
Capabilities:
Contain obfuscated stackstrings
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
mov byte [ebp - 0x5c], 0x53
mov byte [ebp - 0x5b], 0x4f
mov byte [ebp - 0x5a], 0x46
mov byte [ebp - 0x59], 0x54
mov byte [ebp - 0x58], 0x57
mov byte [ebp - 0x57], 0x41
mov byte [ebp - 0x56], 0x52
mov byte [ebp - 0x55], 0x45
mov byte [ebp - 0x54], 0x5c
mov byte [ebp - 0x53], 0x41
mov byte [ebp - 0x52], 0x70
mov byte [ebp - 0x51], 0x70
mov byte [ebp - 0x50], 0x44
mov byte [ebp - 0x4f], 0x61
mov byte [ebp - 0x4e], 0x74
mov byte [ebp - 0x4d], 0x61
mov byte [ebp - 0x4c], 0x4c
mov byte [ebp - 0x4b], 0x6f
mov byte [ebp - 0x4a], 0x77
mov byte [ebp - 0x49], 0x5c
mov byte [ebp - 0x48], 0x54
mov byte [ebp - 0x47], 0x65
mov byte [ebp - 0x46], 0x6e
mov byte [ebp - 0x45], 0x63
mov byte [ebp - 0x44], 0x65
mov byte [ebp - 0x43], 0x6e
mov byte [ebp - 0x42], 0x74
mov byte [ebp - 0x41], 0x5c
mov byte [ebp - 0x40], 0x50
mov byte [ebp - 0x3f], 0x52
mov byte [ebp - 0x3e], 0x49
mov byte [ebp - 0x3d], 0x53
mov byte [ebp - 0x3c], 0x4d
mov byte [ebp - 0x3b], 0x5c
mov byte [ebp - 0x3a], 0x7b
mov byte [ebp - 0x39], 0x43
mov byte [ebp - 0x38], 0x34
mov byte [ebp - 0x37], 0x42
mov byte [ebp - 0x36], 0x44
mov byte [ebp - 0x35], 0x34
mov byte [ebp - 0x34], 0x44
mov byte [ebp - 0x33], 0x43
mov byte [ebp - 0x32], 0x42
mov byte [ebp - 0x31], 0x2d
mov byte [ebp - 0x30], 0x36
mov byte [ebp - 0x2f], 0x32
mov byte [ebp - 0x2e], 0x33
mov byte [ebp - 0x2d], 0x43
mov byte [ebp - 0x2c], 0x2d
mov byte [ebp - 0x2b], 0x34
mov byte [ebp - 0x2a], 0x38
mov byte [ebp - 0x29], 0x35
mov byte [ebp - 0x28], 0x65
mov byte [ebp - 0x27], 0x2d
mov byte [ebp - 0x26], 0x38
mov byte [ebp - 0x25], 0x41
mov byte [ebp - 0x24], 0x35
mov byte [ebp - 0x23], 0x30
mov byte [ebp - 0x22], 0x2d
mov byte [ebp - 0x21], 0x34
mov byte [ebp - 0x20], 0x44
mov byte [ebp - 0x1f], 0x34
mov byte [ebp - 0x1e], 0x31
mov byte [ebp - 0x1d], 0x33
mov byte [ebp - 0x1c], 0x45
mov byte [ebp - 0x1b], 0x37
mov byte [ebp - 0x1a], 0x41
mov byte [ebp - 0x19], 0x44
mov byte [ebp - 0x18], 0x34
mov byte [ebp - 0x17], 0x36
mov byte [ebp - 0x16], 0x43
mov byte [ebp - 0x15], 0x7d
mov byte [ebp - 0x14], 0
mov byte [ebp - 0xc], 0x50
mov byte [ebp - 0xb], 0x61
mov byte [ebp - 0xa], 0x74
mov byte [ebp - 9], 0x68
mov byte [ebp - 8], 0
cmp dword [ebp + 8], 0
je 0x41faaa
cmp dword [ebp + 0xc], 0
jne 0x41faac
jmp 0x41fad5
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 3
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 0x5c]
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x10]
jmp 0x41fad7
jmp 0x41fad0
mov esp, ebp
pop ebp
ret 8
Function at 0x41fadd
Capabilities:
Contain obfuscated stackstrings
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 3
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x64], 0x53
mov byte [ebp - 0x63], 0x4f
mov byte [ebp - 0x62], 0x46
mov byte [ebp - 0x61], 0x54
mov byte [ebp - 0x60], 0x57
mov byte [ebp - 0x5f], 0x41
mov byte [ebp - 0x5e], 0x52
mov byte [ebp - 0x5d], 0x45
mov byte [ebp - 0x5c], 0x5c
mov byte [ebp - 0x5b], 0x41
mov byte [ebp - 0x5a], 0x70
mov byte [ebp - 0x59], 0x70
mov byte [ebp - 0x58], 0x44
mov byte [ebp - 0x57], 0x61
mov byte [ebp - 0x56], 0x74
mov byte [ebp - 0x55], 0x61
mov byte [ebp - 0x54], 0x4c
mov byte [ebp - 0x53], 0x6f
mov byte [ebp - 0x52], 0x77
mov byte [ebp - 0x51], 0x5c
mov byte [ebp - 0x50], 0x54
mov byte [ebp - 0x4f], 0x65
mov byte [ebp - 0x4e], 0x6e
mov byte [ebp - 0x4d], 0x63
mov byte [ebp - 0x4c], 0x65
mov byte [ebp - 0x4b], 0x6e
mov byte [ebp - 0x4a], 0x74
mov byte [ebp - 0x49], 0x5c
mov byte [ebp - 0x48], 0x50
mov byte [ebp - 0x47], 0x52
mov byte [ebp - 0x46], 0x49
mov byte [ebp - 0x45], 0x53
mov byte [ebp - 0x44], 0x4d
mov byte [ebp - 0x43], 0x5c
mov byte [ebp - 0x42], 0x7b
mov byte [ebp - 0x41], 0x43
mov byte [ebp - 0x40], 0x34
mov byte [ebp - 0x3f], 0x42
mov byte [ebp - 0x3e], 0x44
mov byte [ebp - 0x3d], 0x34
mov byte [ebp - 0x3c], 0x44
mov byte [ebp - 0x3b], 0x43
mov byte [ebp - 0x3a], 0x42
mov byte [ebp - 0x39], 0x2d
mov byte [ebp - 0x38], 0x36
mov byte [ebp - 0x37], 0x32
mov byte [ebp - 0x36], 0x33
mov byte [ebp - 0x35], 0x43
mov byte [ebp - 0x34], 0x2d
mov byte [ebp - 0x33], 0x34
mov byte [ebp - 0x32], 0x38
mov byte [ebp - 0x31], 0x35
mov byte [ebp - 0x30], 0x65
mov byte [ebp - 0x2f], 0x2d
mov byte [ebp - 0x2e], 0x38
mov byte [ebp - 0x2d], 0x41
mov byte [ebp - 0x2c], 0x35
mov byte [ebp - 0x2b], 0x30
mov byte [ebp - 0x2a], 0x2d
mov byte [ebp - 0x29], 0x34
mov byte [ebp - 0x28], 0x44
mov byte [ebp - 0x27], 0x34
mov byte [ebp - 0x26], 0x31
mov byte [ebp - 0x25], 0x33
mov byte [ebp - 0x24], 0x45
mov byte [ebp - 0x23], 0x37
mov byte [ebp - 0x22], 0x41
mov byte [ebp - 0x21], 0x44
mov byte [ebp - 0x20], 0x34
mov byte [ebp - 0x1f], 0x36
mov byte [ebp - 0x1e], 0x43
mov byte [ebp - 0x1d], 0x7d
mov byte [ebp - 0x1c], 0
mov byte [ebp - 0x10], 0x50
mov byte [ebp - 0xf], 0x61
mov byte [ebp - 0xe], 0x74
mov byte [ebp - 0xd], 0x68
mov byte [ebp - 0xc], 0
cmp dword [ebp + 8], 0
je 0x41fc45
cmp dword [ebp + 0xc], 0
jne 0x41fc47
jmp 0x41fc7f
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x64]
push edx
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x41fc71
jmp 0x41fc7d
mov dword [ebp - 0x18], 1
mov eax, dword [ebp - 0x18]
jmp 0x41fc81
jmp 0x41fc78
jmp 0x41fc78
mov esp, ebp
pop ebp
ret 8
Function at 0x421650
Capabilities:
Create udp socket
Send data
Send data on socket

Disassembly:
mov eax, dword [0x45f064]
test eax, eax
je 0x421662
mov eax, dword [0x45f074]
test eax, eax
jne 0x42166f
call fcn.004216d0
test eax, eax
je 0x42166f
or eax, 0xffffffff
ret
mov eax, dword [0x454ce4]
cmp eax, 0xffffffff
jne 0x421695
push 0
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
mov dword [0x454ce4], eax
jne 0x421695
mov eax, 0xfffffffe
ret
mov cl, byte [esp + 0xc]
test cl, cl
mov ecx, 0x45f060
jne 0x4216a7
mov ecx, 0x45f070
mov edx, dword [esp + 4]
push 0x10
push ecx
mov ecx, dword [esp + 0x10]
push 0
push ecx
push edx
push eax
call dword [sym.imp.WS2_32.dll_sendto]
cmp eax, 0xffffffff
jne 0x4216cd
call fcn.004217c0
mov eax, 0xfffffffd
ret
xor eax, eax
ret

Function at 0x4216d0
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
lea eax, [esp]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x4216f4
or eax, 0xffffffff
add esp, 0x190
ret
mov ecx, dword [str.tss_qos_stat.gamesafe.qq.com]
push 0x45f060
push ecx
call fcn.00421740
add esp, 8
test eax, eax
je 0x421718
mov eax, 0xfffffffe
add esp, 0x190
ret
mov edx, dword [str.tss_qos_alarm.gamesafe.qq.com]
push 0x45f070
push edx
call fcn.00421740
add esp, 8
neg eax
sbb eax, eax
and al, 0xfd
add esp, 0x190
ret

Function at 0x421740
Capabilities:
Resolve dns

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov edi, eax
test edi, edi
jne 0x421759
pop edi
or eax, 0xffffffff
pop esi
ret
mov eax, dword [edi + 0xc]
xor esi, esi
cmp dword [eax], 0
je 0x421772
mov ecx, dword [eax + 4]
add eax, 4
inc esi
test ecx, ecx
jne 0x421763
test esi, esi
jne 0x42177a
pop edi
mov eax, 0xfffffffe
pop esi
ret
push 0
call dword [sym.imp.MSVCRT.dll_time]
xor edx, edx
mov ecx, dword [edi + 0xc]
div esi
mov esi, dword [esp + 0x14]
add esp, 4
push 0x1f90
mov edx, dword [ecx + edx*4]
mov eax, dword [edx]
mov word [esi], 2
mov dword [esi + 4], eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [esi + 2], ax
pop edi
xor eax, eax
pop esi
ret

Function at 0x4220a0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
push 0
push 0
push esi
push 0x422490
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi], eax
pop esi
test eax, eax
jne 0x4220da
push str.m_MainCtrl_CreateThread_failed
push eax
push 0x3f7
push 0x3f3
call fcn.00421880
add esp, 0x10
or eax, 0xffffffff
ret
xor eax, eax
ret
Function at 0x422840
Capabilities:
Terminate thread

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x44ad58
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
mov esi, ecx
mov byte [esi + 5], 1
mov eax, dword [esi]
test eax, eax
jne 0x422877
xor eax, eax
pop esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret
push ebx
push edi
xor edi, edi
mov al, byte [esi + 4]
test al, al
je 0x4228b0
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
cmp edi, 0xa
jae 0x422899
push 0xa
call ebx
inc edi
mov al, byte [esi + 4]
test al, al
jne 0x422888
mov al, byte [esi + 4]
test al, al
je 0x4228b0
mov eax, dword [esi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
jmp 0x4229b1
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea edi, [esi + 0x10]
push ebp
push edi
mov dword [esp + 0x14], edi
call ebx
mov eax, dword [esi + 0x2c]
lea ecx, [esi + 0x28]
push eax
mov dword [esp + 0x34], 0
mov edx, dword [eax]
push edx
lea edx, [esp + 0x1c]
push edx
call fcn.00422c30
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ebp, [esi + 0x38]
push ebp
call ebx
mov eax, dword [esi + 0x7c]
test eax, eax
jbe 0x4229a9
lea eax, [esi + 0x54]
mov ecx, eax
mov edx, dword [ecx]
mov dword [esp + 0x18], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x1c], eax
mov eax, dword [ecx + 8]
mov edx, dword [eax]
mov ecx, dword [ecx + 0xc]
push edx
mov dword [esp + 0x28], ecx
call sub.MFC42.DLL_operatordelete
mov edx, dword [esi + 0x5c]
mov ecx, dword [esi + 0x7c]
add esp, 4
add edx, 4
dec ecx
mov dword [esi + 0x5c], edx
mov eax, edx
mov dword [esi + 0x7c], ecx
je 0x422935
cmp eax, dword [esi + 0x58]
jne 0x42299e
mov eax, dword [esi + 0x60]
lea ecx, [eax + 4]
mov dword [esi + 0x60], ecx
mov edx, dword [eax]
push edx
call sub.MFC42.DLL_operatordelete
mov eax, dword [esi + 0x7c]
add esp, 4
test eax, eax
jne 0x422983
lea ebx, [esi + 0x54]
xor eax, eax
xor ecx, ecx
xor edx, edx
mov dword [ebx], eax
xor edi, edi
mov dword [ebx + 4], ecx
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], edi
lea ebx, [esi + 0x64]
mov dword [esi + 0x64], eax
mov eax, dword [esi + 0x74]
push eax
mov dword [ebx + 4], ecx
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], edi
call sub.MFC42.DLL_operatordelete
add esp, 4
jmp 0x42299e
mov eax, dword [esi + 0x60]
lea ebx, [esi + 0x54]
mov ecx, dword [eax]
mov dword [ebx], ecx
mov edi, ecx
lea edx, [ecx + 0x1000]
mov dword [ebx + 4], edx
mov dword [ebx + 8], edi
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0x7c]
test eax, eax
ja 0x4228f5
push ebp
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop ebp
mov ecx, dword [esi]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x24]
pop edi
mov dword [esi], 0
pop ebx
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x423fc0
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [esp + 0xc]
push esi
mov esi, ecx
mov ecx, dword [esp + 0xc]
push edi
mov dword [esi + 0xb0], eax
mov dword [esi + 0xb4], ecx
mov dword [esi + 0x1ac], edx
mov edi, dword [eax + 8]
test edi, edi
jne 0x424021
mov edx, dword [str.dnf.conn.gamesafe.qq.com]
xor ecx, ecx
test edx, edx
je 0x42401b
mov dx, word [eax]
mov eax, 0x44f30c
cmp word [eax - 4], dx
je 0x424010
mov edi, dword [eax + 8]
add eax, 8
inc ecx
test edi, edi
jne 0x423ffd
jmp 0x42401b
mov edi, dword [ecx*8 + 0x44f30c]
test edi, edi
jne 0x424021
mov edi, dword [str.connunify.gamesafe.qq.com]
mov ecx, esi
call fcn.0042a440
test eax, eax
je 0x42404e
push str.pack_Init_Error_
push 0
push 0
push 0
push 0x138e
call fcn.00421950
add esp, 0x14
mov eax, 0xfffffffe
pop edi
pop esi
ret 0xc
push edi
lea ecx, [esi + 4]
call fcn.004298c0
test eax, eax
je 0x424085
push str.m_Socket.Init_Error
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 0x3ed
push 0
push 0x1389
call fcn.00421950
add esp, 0x14
mov eax, 0xfffffffd
pop edi
pop esi
ret 0xc
push 0
push 0
push esi
push 0x4240f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [esi + 0xa8], eax
jne 0x4240c5
push str._SECCLI:TCP__m_MainCtrl_CreateThread_failed
push eax
push 0x3f7
push 0x3f7
call fcn.00421880
add esp, 0x10
mov eax, 0xfffffffc
pop edi
pop esi
ret 0xc
pop edi
xor eax, eax
pop esi
ret 0xc
Function at 0x4298c0
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x294
lea eax, [esp + 0x104]
push ebx
push esi
push eax
mov ebx, ecx
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x42990f
push str.WSAStartup_failed_
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 0x3e9
push 0
push 0x1389
call fcn.00421950
add esp, 0x14
or eax, 0xffffffff
pop esi
pop ebx
add esp, 0x294
ret 4
push edi
mov ecx, 0x20
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov ecx, 0x40
lea edi, [esp + 0xd]
mov byte [esp + 0xc], al
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x10]
push ecx
push 0
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
pop edi
jne 0x429954
pop esi
mov eax, 0xfffffffe
pop ebx
add esp, 0x294
ret 4
lea edx, [esp + 8]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
test eax, eax
jne 0x429973
pop esi
mov eax, 0xfffffffd
pop ebx
add esp, 0x294
ret 4
lea eax, [esp + 8]
push str._Specify_Ip_
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
test eax, eax
jne 0x429997
pop esi
mov eax, 0xfffffffc
pop ebx
add esp, 0x294
ret 4
lea ecx, [esp + 8]
push 0x456304
push ecx
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x4299d1
push esi
push 0x7f
push ebx
call dword [sym.imp.MSVCRT.dll_fgets]
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 0x10
xor eax, eax
pop esi
pop ebx
add esp, 0x294
ret 4
mov eax, dword [esp + 0x2a0]
test eax, eax
jne 0x429a05
push str.pszSvrAddr_is_NULL_
push eax
push 0x3f7
push eax
push 0xbb8
call fcn.00421950
add esp, 0x14
mov eax, 0xfffffffb
pop esi
pop ebx
add esp, 0x294
ret 4
push eax
push 0x454d40
push 0x7f
push ebx
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x10
xor eax, eax
pop esi
pop ebx
add esp, 0x294
ret 4
Function at 0x429b20
Capabilities:
Resolve dns

Disassembly:
push ebp
push esi
mov esi, ecx
push edi
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov ebp, eax
test ebp, ebp
jne 0x429ba7
push esi
call dword [sym.imp.WS2_32.dll_inet_addr]
lea ecx, [esi + 0x80]
cmp eax, 0xffffffff
mov dword [ecx], eax
je 0x429b50
test eax, eax
je 0x429b50
pop edi
pop esi
xor eax, eax
pop ebp
ret
push ecx
push esi
mov dword [ecx], 0
call fcn.0042a550
add esp, 8
test eax, eax
jge 0x429b86
push str.gethostbyname_failed_and_GetIPFromIPList_Fail_
push 0
push 0x3ed
push 0
push 0xbb8
call fcn.00421950
add esp, 0x14
or eax, 0xffffffff
pop edi
pop esi
pop ebp
ret
push str.gethostbyname_failed_and_GetIPFromIPList_Success_
push 0
push 0x3ea
push 0
push 0xbb8
call fcn.00421950
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
ret
mov eax, dword [ebp + 0xc]
xor edi, edi
cmp dword [eax], 0
je 0x429bc0
mov ecx, dword [eax + 4]
add eax, 4
inc edi
test ecx, ecx
jne 0x429bb1
test edi, edi
jne 0x429be4
push str.no_ip_got_
push 0
push 0x3e9
push 0
push 0xbb8
call fcn.00421950
add esp, 0x14
mov eax, 0xfffffffe
pop edi
pop esi
pop ebp
ret
push ebx
push 0
lea ebx, [esi + 0x80]
call dword [sym.imp.MSVCRT.dll_time]
xor edx, edx
div edi
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + edx*4]
mov eax, dword [ecx]
push eax
push esi
mov dword [ebx], eax
call fcn.0042a690
add esp, 0xc
test eax, eax
je 0x429c36
mov edx, dword [ebx]
push edx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
push 0
push 0x3f6
push 0
push 0xbb8
call fcn.00421950
push ebx
push esi
call fcn.0042a550
add esp, 0x1c
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
ret
Function at 0x429fc0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
or eax, 0xffffffff
push ebx
push ebp
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x84], eax
je 0x42a1ae
cmp dword [esp + 0x124], 5
jae 0x429ffe
mov ecx, esi
call fcn.00429f80
pop edi
pop esi
pop ebp
mov eax, 0xfffffffe
pop ebx
add esp, 0x10c
ret 8
mov ebx, dword [esp + 0x120]
push 5
push ebx
mov ecx, esi
call fcn.0042a210
xor ebp, ebp
cmp eax, ebp
jge 0x42a02e
mov ecx, esi
call fcn.00429f80
pop edi
pop esi
pop ebp
mov eax, 0xfffffffd
pop ebx
add esp, 0x10c
ret 8
jne 0x42a042
pop edi
pop esi
pop ebp
mov eax, 0xfffffffc
pop ebx
add esp, 0x10c
ret 8
cmp eax, 5
mov edi, eax
jae 0x42a0aa
mov eax, 5
lea ecx, [edi + ebx]
sub eax, edi
push eax
push ecx
mov ecx, esi
call fcn.0042a210
cmp eax, ebp
jl 0x42a0de
jle 0x42a066
add edi, eax
jmp 0x42a0a5
mov eax, dword [esi + 0x84]
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x20], eax
push ebp
lea ecx, [esp + 0x20]
push ebp
inc eax
push ecx
push eax
mov dword [esp + 0x2c], 1
mov dword [esp + 0x24], 0x16
mov dword [esp + 0x28], ebp
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
je 0x42a0f7
cmp eax, ebp
je 0x42a12f
cmp edi, 5
jb 0x42a049
mov edx, dword [ebx + 1]
push edx
call dword [sym.imp.WS2_32.dll_ntohl]
mov ebx, eax
mov eax, dword [esp + 0x124]
cmp eax, ebx
jae 0x42a148
mov ecx, esi
call fcn.00429f80
pop edi
pop esi
pop ebp
mov eax, 0xfffffff8
pop ebx
add esp, 0x10c
ret 8
mov ecx, esi
call fcn.00429f80
pop edi
pop esi
pop ebp
mov eax, 0xfffffffb
pop ebx
add esp, 0x10c
ret 8
push str.select_error
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 0x3e9
push ebp
push 0x138a
call fcn.00421950
add esp, 0x14
mov ecx, esi
call fcn.00429f80
pop edi
pop esi
pop ebp
mov eax, 0xfffffffa
pop ebx
add esp, 0x10c
ret 8
mov ecx, esi
call fcn.00429f80
pop edi
pop esi
pop ebp
mov eax, 0xfffffff9
pop ebx
add esp, 0x10c
ret 8
cmp edi, ebx
jae 0x42a1ac
mov ecx, dword [esp + 0x120]
mov eax, ebx
sub eax, edi
lea edx, [edi + ecx]
push eax
push edx
mov ecx, esi
call fcn.0042a210
cmp eax, ebp
jl 0x42a1bb
jle 0x42a16d
add edi, eax
jmp 0x42a1a8
mov eax, dword [esi + 0x84]
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x20], eax
push ebp
lea edx, [esp + 0x20]
push ebp
inc eax
push edx
push eax
mov dword [esp + 0x2c], 1
mov dword [esp + 0x24], 0x16
mov dword [esp + 0x28], ebp
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
je 0x42a1d4
cmp eax, ebp
je 0x42a1ed
cmp edi, ebx
jb 0x42a14c
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret 8
mov ecx, esi
call fcn.00429f80
pop edi
pop esi
pop ebp
mov eax, 0xfffffff7
pop ebx
add esp, 0x10c
ret 8
mov ecx, esi
call fcn.00429f80
pop edi
pop esi
pop ebp
mov eax, 0xfffffff6
pop ebx
add esp, 0x10c
ret 8
mov ecx, esi
call fcn.00429f80
pop edi
pop esi
pop ebp
mov eax, 0xfffffff5
pop ebx
add esp, 0x10c
ret 8
Function at 0x42a210
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov eax, dword [esp + 8]
mov edx, dword [esp + 4]
push 0
push eax
mov eax, dword [ecx + 0x84]
push edx
push eax
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jg 0x42a261
jne 0x42a250
push str.server_close_connection_
push 0
push 0x3f7
push 0
push 0x138c
call fcn.00421950
add esp, 0x14
or eax, 0xffffffff
ret 8
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
sub eax, 0x2733
neg eax
sbb eax, eax
and al, 0xfe
ret 8

Function at 0x42a270
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
or eax, 0xffffffff
push ebx
push ebp
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x84], eax
je 0x42a318
mov ebx, dword [esp + 0x124]
test ebx, ebx
jne 0x42a2a8
pop edi
pop esi
pop ebp
mov eax, 0xfffffffe
pop ebx
add esp, 0x10c
ret 8
xor edi, edi
test ebx, ebx
jbe 0x42a316
mov ebp, dword [sym.imp.WS2_32.dll_select]
mov ecx, dword [esp + 0x120]
mov eax, ebx
sub eax, edi
lea edx, [edi + ecx]
push eax
push edx
mov ecx, esi
call fcn.0042a370
test eax, eax
jl 0x42a325
jle 0x42a2d5
add edi, eax
jmp 0x42a312
mov eax, dword [esi + 0x84]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
mov dword [esp + 0x20], eax
push 0
push edx
inc eax
push 0
push eax
mov dword [esp + 0x2c], 1
mov dword [esp + 0x24], 0x16
mov dword [esp + 0x28], 0
call ebp
cmp eax, 0xffffffff
je 0x42a33e
test eax, eax
je 0x42a357
cmp edi, ebx
jb 0x42a2b4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret 8
mov ecx, esi
call fcn.00429f80
pop edi
pop esi
pop ebp
mov eax, 0xfffffffd
pop ebx
add esp, 0x10c
ret 8
mov ecx, esi
call fcn.00429f80
pop edi
pop esi
pop ebp
mov eax, 0xfffffffc
pop ebx
add esp, 0x10c
ret 8
mov ecx, esi
call fcn.00429f80
pop edi
pop esi
pop ebp
mov eax, 0xfffffffb
pop ebx
add esp, 0x10c
ret 8

Function at 0x42a3d0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov eax, dword [ecx + 0x84]
sub esp, 0x14
cmp eax, 0xffffffff
jne 0x42a3e4
xor eax, eax
add esp, 0x14
ret
xor ecx, ecx
lea edx, [esp]
mov dword [esp + 4], ecx
push edx
mov dword [esp + 0xc], ecx
mov dword [esp + 4], 0x10
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
lea ecx, [esp + 8]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_getsockname]
mov ecx, dword [esp + 8]
inc eax
neg eax
sbb eax, eax
and eax, ecx
add esp, 0x14
ret
Function at 0x42a8f0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
mov ebp, ecx
xor esi, esi
push edi
mov dword [esp + 0x18], ebp
mov byte [esp + 0x1c], 0
mov byte [esp + 0x1d], 1
mov byte [esp + 0x1e], 2
mov byte [esp + 0x1f], 4
mov byte [esp + 0x20], 5
mov byte [esp + 0x21], 7
mov byte [esp + 0x22], 8
mov byte [esp + 0x23], 0xa
mov byte [esp + 0x24], 0xb
mov byte [esp + 0x25], 0xc
mov byte [esp + 0x26], 0x10
mov byte [esp + 0x27], 0x16
mov byte [esp + 0x28], 0x17
mov byte [esp + 0x29], 0x1a
xor eax, eax
mov dl, byte [esp + eax + 0x1c]
mov ecx, 0x1f
sub ecx, edx
mov edx, 1
shl edx, cl
or esi, edx
inc eax
cmp eax, 0xe
jb 0x42a947
xor ecx, ecx
mov edx, ebp
mov eax, ecx
mov edi, 8
test al, 1
je 0x42a976
shr eax, 1
xor eax, esi
jmp 0x42a978
shr eax, 1
dec edi
jne 0x42a96c
mov dword [edx], eax
inc ecx
add edx, 4
cmp ecx, 0x100
jl 0x42a965
lea edi, [ebp + 0x400]
mov dword [esp + 0x14], 0x100
mov dword [esp + 0x10], edi
mov ecx, dword [edi - 0x400]
mov edx, ecx
mov eax, ecx
and edx, 0xff
mov esi, ecx
mov ebx, edx
and eax, 0xff00
shl ebx, 0x10
shr esi, 8
add eax, ebx
mov ebx, esi
shl eax, 8
and ebx, 0xff00
add eax, ebx
mov ebx, 3
shr ecx, 0x18
add eax, ecx
mov dword [edi + 0xc00], eax
mov ecx, dword [esp + 0x18]
add edi, 0x400
mov ecx, dword [ecx + edx*4]
xor ecx, esi
mov edx, ecx
mov eax, ecx
and edx, 0xff
mov esi, ecx
mov ebp, edx
and eax, 0xff00
shl ebp, 0x10
shr esi, 8
add eax, ebp
mov ebp, esi
shl eax, 8
and ebp, 0xff00
mov dword [edi - 0x400], ecx
add eax, ebp
shr ecx, 0x18
add eax, ecx
dec ebx
mov dword [edi + 0xc00], eax
jne 0x42a9d9
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
add edi, 4
dec eax
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], eax
jne 0x42a99b
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret