joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4313e0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
push 0
mov ebx, ecx
push 0
push 0x1009
push dword [ebx + 0xdc]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0xffffffffffffffff
push 0x28
push 2
push 0x6162cc
lea esi, [ebx + 0xbc]
push 0
mov ecx, esi
call fcn.0048c7ac
push 0xffffffffffffffff
push 0x3c
push 2
push 0x6164fc
push 1
mov ecx, esi
call fcn.0048c7ac
push 0xffffffffffffffff
push 0x64
push 2
push 0x616508
push 2
mov ecx, esi
call fcn.0048c7ac
push 0xffffffffffffffff
push 0x64
push 2
push str.:d
push 3
mov ecx, esi
call fcn.0048c7ac
push 0xffffffffffffffff
push 0x64
push 2
push 0x6162fc
push 4
mov ecx, esi
call fcn.0048c7ac
push 0xffffffffffffffff
push 0x8c
push 2
push 0x616c28
push 5
mov ecx, esi
call fcn.0048c7ac
push 0xffffffffffffffff
push 0x64
push 2
push 0x617050
push 6
mov ecx, esi
call fcn.0048c7ac
push 0xffffffffffffffff
push 0x50
push 2
push 0x619f6c
push 7
mov ecx, esi
call fcn.0048c7ac
push 0xffffffffffffffff
push 0x50
push 2
push 0x619f74
push 8
mov ecx, esi
call fcn.0048c7ac
push 0xffffffffffffffff
push 0x50
push 2
push 0x619f7c
push 9
mov ecx, esi
call fcn.0048c7ac
push 0xffffffffffffffff
push 0x50
push 2
push 0x619f84
push 0xa
mov ecx, esi
call fcn.0048c7ac
push 0xffffffffffffffff
push 0x50
push 2
push 0x619f8c
push 0xb
mov ecx, esi
call fcn.0048c7ac
push 0xffffffffffffffff
push 0x50
push 2
push 0x619f94
push 0xc
mov ecx, esi
call fcn.0048c7ac
push 0xffffffffffffffff
push 0x50
push 2
push 0x619f9c
push 0xd
mov ecx, esi
call fcn.0048c7ac
push 0xffffffffffffffff
push 0x50
push 2
push 0x619fa4
push 0xe
mov ecx, esi
call fcn.0048c7ac
push 0xffffffffffffffff
push 0x50
push 2
push 0x619fac
push 0xf
mov ecx, esi
call fcn.0048c7ac
push 0xffffffffffffffff
push 0x50
push 2
push 0x619fb4
push 0x10
mov ecx, esi
call fcn.0048c7ac
push 0xffffffffffffffff
push 0x50
push 2
push 0x619fbc
push 0x11
mov ecx, esi
call fcn.0048c7ac
push 0xfffffffffffffff0
push dword [ebx + 0xdc]
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xfffffdfc
or eax, 0x89
push eax
push 0xfffffffffffffff0
push dword [ebx + 0xdc]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x21
push 0x21
push 0x1036
push dword [ebx + 0xdc]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x616544
push 0x972
mov ecx, ebx
call fcn.00493f19
push 1
push 0
push dword [ebx + 0xdc]
call dword [sym.imp.USER32.dll_InvalidateRect]
pop esi
pop ebx
ret
Function at 0x433200
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
push 0
mov ebx, ecx
push 0
push 0x1009
push dword [ebx + 0xdc]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0xffffffffffffffff
push 0x28
push 2
push 0x6162cc
lea esi, [ebx + 0xbc]
push 0
mov ecx, esi
call fcn.0048c7ac
push 0xffffffffffffffff
push 0x3c
push 2
push 0x6164fc
push 1
mov ecx, esi
call fcn.0048c7ac
push 0xffffffffffffffff
push 0x64
push 2
push 0x616508
push 2
mov ecx, esi
call fcn.0048c7ac
push 0xffffffffffffffff
push 0x64
push 2
push str.:d
push 3
mov ecx, esi
call fcn.0048c7ac
push 0xffffffffffffffff
push 0x64
push 2
push 0x6162fc
push 4
mov ecx, esi
call fcn.0048c7ac
push 0xffffffffffffffff
push 0x8c
push 2
push 0x616c28
push 5
mov ecx, esi
call fcn.0048c7ac
push 0xffffffffffffffff
push 0x64
push 2
push 0x617050
push 6
mov ecx, esi
call fcn.0048c7ac
push 0xffffffffffffffff
push 0x50
push 2
push 0x61a290
push 7
mov ecx, esi
call fcn.0048c7ac
push 0xffffffffffffffff
push 0x50
push 2
push 0x61a29c
push 8
mov ecx, esi
call fcn.0048c7ac
push 0xffffffffffffffff
push 0x50
push 2
push 0x61a2a4
push 9
mov ecx, esi
call fcn.0048c7ac
push 0xffffffffffffffff
push 0x50
push 2
push 0x61a2b0
push 0xa
mov ecx, esi
call fcn.0048c7ac
push 0xffffffffffffffff
push 0x50
push 2
push 0x61a2b8
push 0xb
mov ecx, esi
call fcn.0048c7ac
push 0xffffffffffffffff
push 0x50
push 2
push 0x61a2c0
push 0xc
mov ecx, esi
call fcn.0048c7ac
push 0xffffffffffffffff
push 0x50
push 2
push 0x61a2c8
push 0xd
mov ecx, esi
call fcn.0048c7ac
push 0xffffffffffffffff
push 0x50
push 2
push 0x61a2d0
push 0xe
mov ecx, esi
call fcn.0048c7ac
push 0xfffffffffffffff0
push dword [ebx + 0xdc]
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xfffffdfc
or eax, 0x89
push eax
push 0xfffffffffffffff0
push dword [ebx + 0xdc]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x21
push 0x21
push 0x1036
push dword [ebx + 0xdc]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x616544
push 0xa54
mov ecx, ebx
call fcn.00493f19
push 1
push 0
push dword [ebx + 0xdc]
call dword [sym.imp.USER32.dll_InvalidateRect]
pop esi
pop ebx
ret
Function at 0x450d90
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d0887
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x64a040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
lea ecx, [ebx + 4]
mov dword [ebx], vtable.CServerListData.0
mov dword [ecx], vtable.CMap_unsigned_short_int__unsigned_short_int__class_CGameTypeItem___class_CGameTypeItem___.0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0x11
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0xa
mov dword [ebp - 4], 0
mov dword [ebx + 0x20], vtable.CMap_unsigned_short_int__unsigned_short_int__class_CGameKindItem___class_CGameKindItem___.0
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0x11
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x38], 0xa
mov dword [ebx + 0x3c], vtable.CMap_unsigned_short_int__unsigned_short_int__class_CGameServerItem___class_CGameServerItem___.0
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x44], 0x11
mov dword [ebx + 0x48], 0
mov dword [ebx + 0x4c], 0
mov dword [ebx + 0x50], 0
mov dword [ebx + 0x54], 0xa
mov dword [ebx + 0x58], vtable.CMap_unsigned_short_int__unsigned_short_int__class_CAgentGameKindItem___class_CAgentGameKindItem___.0
mov dword [ebx + 0x5c], 0
mov dword [ebx + 0x60], 0x11
mov dword [ebx + 0x64], 0
mov dword [ebx + 0x68], 0
mov dword [ebx + 0x6c], 0
mov dword [ebx + 0x70], 0xa
mov dword [ebx + 0x74], vtable.CWHArray_class_CGameListItem___class_CGameListItem__const_const__.0
mov dword [ebx + 0x78], 0
mov dword [ebx + 0x7c], 0
mov dword [ebx + 0x80], 0
mov dword [ebx + 0x84], 0
push ecx
mov byte [ebp - 4], 4
push 0xb
mov dword [ebx + 0x88], 0
call fcn.00425550
push ecx
push 0x35
lea ecx, [ebx + 0x20]
call fcn.00425550
push ecx
push 0x3f1
lea ecx, [ebx + 0x3c]
call fcn.00425550
mov eax, dword [0x6571c8]
test eax, eax
cmove eax, ebx
mov dword [0x6571c8], eax
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45ad10
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
push 0
mov ebx, ecx
push 0
push 0x1009
push dword [ebx + 0xdc]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0xffffffffffffffff
push 0x28
push 2
push 0x6162cc
lea esi, [ebx + 0xbc]
push 0
mov ecx, esi
call fcn.0048c7ac
push 0xffffffffffffffff
push 0x3c
push 2
push 0x6164fc
push 1
mov ecx, esi
call fcn.0048c7ac
push 0xffffffffffffffff
push 0x64
push 2
push 0x616508
push 2
mov ecx, esi
call fcn.0048c7ac
push 0xffffffffffffffff
push 0x64
push 2
push str.:d
push 3
mov ecx, esi
call fcn.0048c7ac
push 0xffffffffffffffff
push 0x64
push 2
push 0x6162fc
push 4
mov ecx, esi
call fcn.0048c7ac
push 0xffffffffffffffff
push 0x8c
push 2
push 0x616514
push 5
mov ecx, esi
call fcn.0048c7ac
push 0xffffffffffffffff
push 0x64
push 2
push 0x617050
push 6
mov ecx, esi
call fcn.0048c7ac
push 0xffffffffffffffff
push 0x50
push 2
push 0x61ff54
push 7
mov ecx, esi
call fcn.0048c7ac
push 0xffffffffffffffff
push 0x50
push 2
push 0x61ff5c
push 8
mov ecx, esi
call fcn.0048c7ac
push 0xffffffffffffffff
push 0x50
push 2
push 0x61ff64
push 9
mov ecx, esi
call fcn.0048c7ac
push 0xffffffffffffffff
push 0x50
push 2
push 0x61ff6c
push 0xa
mov ecx, esi
call fcn.0048c7ac
push 0xffffffffffffffff
push 0x50
push 2
push 0x61ff74
push 0xb
mov ecx, esi
call fcn.0048c7ac
push 0xffffffffffffffff
push 0x50
push 2
push 0x61ff7c
push 0xc
mov ecx, esi
call fcn.0048c7ac
push 0xffffffffffffffff
push 0x50
push 2
push 0x61ff84
push 0xd
mov ecx, esi
call fcn.0048c7ac
push 0xffffffffffffffff
push 0x50
push 2
push 0x61ff8c
push 0xe
mov ecx, esi
call fcn.0048c7ac
push 0xffffffffffffffff
push 0x50
push 2
push 0x61ff94
push 0xf
mov ecx, esi
call fcn.0048c7ac
push 0xffffffffffffffff
push 0x50
push 2
push 0x61ff9c
push 0x10
mov ecx, esi
call fcn.0048c7ac
push 0xffffffffffffffff
push 0x50
push 2
push 0x61ffa4
push 0x11
mov ecx, esi
call fcn.0048c7ac
push 0xffffffffffffffff
push 0x50
push 2
push 0x61ffac
push 0x12
mov ecx, esi
call fcn.0048c7ac
push 0xfffffffffffffff0
push dword [ebx + 0xdc]
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xfffffdfc
or eax, 0x89
push eax
push 0xfffffffffffffff0
push dword [ebx + 0xdc]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x21
push 0x21
push 0x1036
push dword [ebx + 0xdc]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x616544
push 0x1931
mov ecx, ebx
call fcn.00493f19
push 1
push 0
push dword [ebx + 0xdc]
call dword [sym.imp.USER32.dll_InvalidateRect]
pop esi
pop ebx
ret
Function at 0x461f80
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d13ae
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
mov eax, dword [0x64a040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp - 0x110]
push 3
cmovae eax, dword [ebp + 8]
mov dword [ebp - 0x114], ecx
lea ecx, [ebp - 0x114]
push eax
call fcn.00416630
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x118]
push dword [ebp - 0x114]
call fcn.00417040
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x110]
mov eax, dword [ebp - 0x114]
cmp eax, ecx
je 0x46200c
push eax
call fcn.005b1bd3
add esp, 4
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4620c4
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x4620c4
mov eax, dword [ebp - 0x118]
mov eax, dword [eax - 0xc]
lea edi, [eax*2 + 2]
push edi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x4620be
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [ebp - 0x118]
mov ebx, eax
add ecx, 0xfffffff0
cmp dword [ecx + 0xc], 1
jle 0x462078
push dword [ecx + 4]
lea ecx, [ebp - 0x118]
call fcn.00417200
mov ecx, dword [ebp - 0x118]
add ecx, 0xfffffff0
dec dword [ecx + 0xc]
jne 0x462084
mov dword [ecx + 0xc], 0xffffffff
push edi
push dword [ebp - 0x118]
push edi
push ebx
call fcn.005b1b54
mov ecx, dword [ebp - 0x118]
add esp, 0x10
mov eax, dword [ecx - 4]
test eax, eax
jns 0x4620ae
inc eax
mov edx, 1
cmove eax, edx
mov dword [ecx - 4], eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov byte [ebp - 4], 0
or ecx, 0xffffffff
mov edx, dword [ebp - 0x118]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4620e8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp + 0x1c], 0x10
jb 0x4620f9
push dword [ebp + 8]
call fcn.0048bb60
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005b144a
mov esp, ebp
pop ebp
ret 0x18

Function at 0x466e70
Capabilities:
Create tcp socket

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 8], 0xffffffff
je 0x466e7d
mov al, 2
pop esi
ret
cmp byte [esi + 0x4018], 0
je 0x466e79
cmp byte [esi + 6], 0
jne 0x466e79
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi + 8], eax
cmp eax, 0xffffffff
je 0x466e79
push ebx
lea ecx, [esi - 0x74]
call fcn.004678a0
push dword [esi + 8]
mov bl, al
call dword [sym.imp.WS2_32.dll_closesocket]
mov al, bl
mov dword [esi + 8], 0xffffffff
pop ebx
pop esi
ret
Function at 0x4677e0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, ecx
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [ebp + 0xc]
mov edx, eax
mov eax, 0x10624dd3
mul edx
shr edx, 6
cmp byte [ebx + 0x24154], 0
mov dword [ebx + 0x24164], edx
jne 0x467857
mov edi, edi
cmp si, di
jae 0x467842
movzx ecx, si
push 0
movzx eax, di
sub eax, ecx
push eax
mov eax, dword [ebp + 8]
add eax, ecx
push eax
push dword [ebx + 0x7c]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x467861
add esi, eax
cmp byte [ebx + 0x24154], 0
je 0x467810
cmp si, di
jbe 0x467857
mov eax, edi
mov ecx, ebx
sub eax, esi
push eax
movzx eax, si
add eax, dword [ebp + 8]
push eax
call fcn.004676c0
mov ax, di
pop edi
pop esi
pop ebx
pop ebp
ret 8
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x46788b
mov ecx, edi
sub ecx, esi
push ecx
movzx ecx, si
add ecx, dword [ebp + 8]
push ecx
mov ecx, ebx
call fcn.004676c0
mov ax, di
pop edi
pop esi
pop ebx
pop ebp
ret 8
push 4
mov ecx, ebx
call fcn.004675b0
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 8
Function at 0x469dd0
Capabilities:
Encrypt data using rc4 prga
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x64a040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor edx, edx
push edi
mov edi, dword [ebp + 8]
lea eax, [esi + 2]
lea ecx, [ecx]
movzx ecx, byte [eax - 2]
lea eax, [eax + 4]
mov byte [ebp + edx - 0xc], cl
movzx ecx, byte [eax - 5]
mov byte [ebp + edx - 0xb], cl
movzx ecx, byte [eax - 4]
mov byte [ebp + edx - 0xa], cl
movzx ecx, byte [eax - 3]
mov byte [ebp + edx - 9], cl
add edx, 4
cmp edx, 8
jb 0x469df0
mov eax, dword [esi]
mov ecx, 0x38
shr eax, 3
and eax, 0x3f
cmp eax, 0x38
jb 0x469e32
mov ecx, 0x78
sub ecx, eax
lea ebx, [esi + 0x58]
push ecx
push ebx
mov ecx, esi
call fcn.00469d00
push 8
lea eax, [ebp - 0xc]
mov ecx, esi
push eax
call fcn.00469d00
lea ecx, [edi + 1]
mov edi, 4
lea edx, [esi + 0xa]
jmp 0x469e60
movzx eax, byte [edx - 2]
lea edx, [edx + 4]
mov byte [ecx - 1], al
lea ecx, [ecx + 4]
movzx eax, byte [edx - 5]
mov byte [ecx - 4], al
movzx eax, byte [edx - 4]
mov byte [ecx - 3], al
movzx eax, byte [edx - 3]
mov byte [ecx - 2], al
dec edi
jne 0x469e60
mov ecx, dword [ebp - 4]
xorps xmm0, xmm0
movdqu xmmword [esi], xmm0
xor ecx, ebp
movdqu xmmword [esi + 0x10], xmm0
movdqu xmmword [esi + 0x20], xmm0
movdqu xmmword [esi + 0x30], xmm0
movdqu xmmword [esi + 0x40], xmm0
movdqu xmmword [esi + 0x50], xmm0
movdqu xmmword [esi + 0x60], xmm0
movdqu xmmword [esi + 0x70], xmm0
movdqu xmmword [esi + 0x80], xmm0
movq qword [esi + 0x90], xmm0
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], 0x67452301
mov dword [esi + 0xc], 0xefcdab89
mov dword [esi + 0x10], 0x98badcfe
mov dword [esi + 0x14], 0x10325476
movdqu xmmword [ebx], xmm0
pop edi
movdqu xmmword [ebx + 0x10], xmm0
pop esi
movdqu xmmword [ebx + 0x20], xmm0
movdqu xmmword [ebx + 0x30], xmm0
mov byte [ebx], 0x80
pop ebx
call fcn.005b144a
mov esp, ebp
pop ebp
ret 4
Function at 0x46a620
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x64a040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xorps xmm0, xmm0
mov dword [ebp - 0xb0], 0
push 3
lea eax, [ebp - 0x134]
mov dword [ebp - 0xac], 0
push ecx
movdqu xmmword [ebp - 0x58], xmm0
lea ecx, [ebp - 0x138]
mov dword [ebp - 0xa8], 0x67452301
mov edi, edx
mov dword [ebp - 0xa4], 0xefcdab89
mov dword [ebp - 0xa0], 0x98badcfe
mov dword [ebp - 0x9c], 0x10325476
movdqu xmmword [ebp - 0x48], xmm0
mov byte [ebp - 0x58], 0x80
movdqu xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x138], eax
movdqu xmmword [ebp - 0x28], xmm0
call fcn.004622e0
mov esi, dword [ebp - 0x138]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push esi
lea ecx, [ebp - 0xb0]
call fcn.00469d00
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0xb0]
call fcn.00469dd0
xor eax, eax
xor esi, esi
mov word [edi], ax
jmp 0x46a6e0
movzx eax, byte [ebp + esi - 0x14]
push eax
push 0x621f48
push edi
call fcn.005b3749
inc esi
add esp, 0xc
add edi, 4
cmp esi, 0x10
jl 0x46a6e0
mov eax, dword [ebp - 0x138]
lea ecx, [ebp - 0x134]
cmp eax, ecx
je 0x46a716
push eax
call fcn.005b1bd3
add esp, 4
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.005b144a
mov esp, ebp
pop ebp
ret

Function at 0x46a760
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x64a040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x84]
push esi
push 3
mov dword [ebp - 0x88], ecx
lea ecx, [ebp - 0x88]
push eax
call fcn.004622e0
push dword [ebp - 0x88]
call dword [sym.imp.WS2_32.dll_inet_addr]
mov esi, eax
cmp esi, 0xffffffff
jne 0x46a7bb
push dword [ebp - 0x88]
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x46a7bb
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov esi, dword [eax]
mov eax, dword [ebp - 0x88]
lea ecx, [ebp - 0x84]
cmp eax, ecx
je 0x46a7d4
push eax
call fcn.005b1bd3
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.005b144a
mov esp, ebp
pop ebp
ret 4

Function at 0x46a7f0
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x64a040]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x44]
push 0x40
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov edx, dword [eax + 0xc]
xor eax, eax
mov ecx, dword [edx]
test ecx, ecx
je 0x46a844
push esi
mov esi, dword [ebp + 0xc]
lea esp, [esp]
cmp eax, esi
jae 0x46a843
mov ecx, dword [ecx]
add edx, 4
mov dword [edi + eax*4], ecx
inc eax
mov ecx, dword [edx]
test ecx, ecx
jne 0x46a830
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.005b144a
mov esp, ebp
pop ebp
ret 8
Function at 0x46a9b0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x64a040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xorps xmm0, xmm0
mov dword [ebp - 0x30], ecx
push esi
xor eax, eax
movq qword [ebp - 0xe], xmm0
push edi
lea ecx, [ebp - 0x20]
mov word [ebp - 0x20], ax
movdqu xmmword [ebp - 0x1e], xmm0
call fcn.0046aa60
movzx eax, al
add eax, 3
mov dword [ebp - 0x2c], 0x621fb8
shr eax, 2
movzx ecx, ax
mov dword [ebp - 0x28], 0x621fb0
mov dword [ebp - 0x24], 0x621fdc
cmp ecx, 3
jae 0x46aa3e
mov eax, ecx
lea esi, [ebp - 0x20]
lea edi, [ebp - 0x2c]
lea esi, [esi + eax*4]
mov eax, 3
sub eax, ecx
movzx ebx, ax
lea esp, [esp]
push 0
push 0
push 0
push 0
push esi
push 0
push 0
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
add esi, 4
lea edi, [edi + 4]
dec ebx
jne 0x46aa20
mov edx, dword [ebp - 0x30]
lea ecx, [ebp - 0x20]
call fcn.0046a620
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005b144a
mov esp, ebp
pop ebp
ret
Function at 0x47a0e0
Capabilities:
Access peb ldr_data
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d1b25
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
mov eax, dword [0x64a040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
lea ebx, [edi + 4]
mov dword [ebx], vtable.IServerListDataSink.0
mov dword [edi], vtable.XToolLogic.1.0
mov dword [ebx], vtable.XToolLogic.0
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], 0
mov dword [ebp - 0x1a8], edi
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
call fcn.0047d160
mov dword [edi + 0x14], eax
mov dword [ebp - 4], 0
call fcn.0049632e
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x47a171
push 0x80004005
call fcn.00417380
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 0x1c], eax
mov byte [ebp - 4], 1
call fcn.0049632e
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x47a19c
push 0x80004005
call fcn.00417380
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 0x24], eax
mov byte [ebp - 4], 2
call fcn.0049632e
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x47a1c7
push 0x80004005
call fcn.00417380
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 0x28], eax
mov byte [ebp - 4], 3
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
call fcn.0047d190
mov dword [edi + 0x2c], eax
mov eax, dword [0x6571c4]
lea esi, [edi + 0x38]
test eax, eax
mov dword [esi], vtable.CGlobalUserInfo.0
push 0x2630
cmove eax, esi
mov dword [0x6571c4], eax
lea eax, [esi + 8]
push 0
push eax
call fcn.005b41f0
push 0x408
lea eax, [esi + 0x2638]
push 0
push eax
call fcn.005b41f0
add esp, 0x18
lea ecx, [edi + 0x2a78]
mov byte [ebp - 4], 5
call fcn.00450d90
lea eax, [ebp - 0x1a4]
mov byte [ebp - 4], 6
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0xd
push str.115.223.43.7
lea ecx, [edi + 0x1c]
mov dword [edi + 8], 0
call fcn.00416ef0
mov dword [edi + 0x20], 0x271b
mov eax, edi
mov dword [edi + 0x2b00], ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005b144a
mov esp, ebp
pop ebp
ret 4
Function at 0x47aa10
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5d1c58
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x64a040]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [esp + 0x10]
call fcn.00479f70
mov dword [esp + 0x28], 0
push dword [eax]
push str.__s__OnSocketCloseEvent_Begin_n
call fcn.00479e10
mov dword [esp + 0x30], 0xffffffff
or esi, 0xffffffff
mov edx, dword [esp + 0x18]
add esp, 8
add edx, 0xfffffff0
mov eax, esi
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x47aa85
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.Socket_Close_n
call fcn.00479e10
add esp, 4
lea ecx, [esp + 0x14]
call fcn.00479f70
mov dword [esp + 0x28], 1
push dword [eax]
push str.__s__OnSocketCloseEvent_End_n
call fcn.00479e10
mov dword [esp + 0x30], 0xffffffff
add esp, 8
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x47aad5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp + 0xc], 1
je 0x47ab2a
mov ecx, dword [edi + 0xc]
push 2
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov eax, dword [edi + 0x28]
push ecx
sub eax, 0x10
mov dword [esp + 0x14], esp
mov esi, esp
push eax
call fcn.00425de0
add eax, 0x10
mov dword [esi], eax
mov dword [esp + 0x30], 2
mov esi, esp
mov eax, dword [edi + 0x24]
sub eax, 0x10
push eax
call fcn.00425de0
add esp, 4
add eax, 0x10
mov dword [esi], eax
mov ecx, edi
mov dword [esp + 0x30], 0xffffffff
call fcn.0047ac20
mov al, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8