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

Disassembly:
mov eax, dword [0x4ccb50]
push esi
mov esi, ecx
mov cl, byte [eax + 0x83e]
test cl, cl
je 0x46684b
cmp dword [esi + 0x840], 2
je 0x466851
xor eax, eax
pop esi
ret 8
push ebx
push edi
mov edi, dword [esp + 0x10]
test edi, edi
je 0x466868
push edi
call dword [sym.imp.WS2_32.dll_inet_addr]
mov ebx, dword [esp + 0x14]
jmp 0x466882
lea ecx, [esi + 0x684]
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov bx, word [esi + 0x6a0]
test bx, bx
jne 0x46688c
mov ebx, 0x2328
cmp eax, 0xffffffff
jne 0x4668b6
test edi, edi
je 0x466898
push edi
jmp 0x4668a5
lea ecx, [esi + 0x684]
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x4668e0
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
mov ecx, dword [esi + 0x364]
push ebx
push eax
mov dword [0x4ccbf8], ecx
call dword [sym.imp.WS2_32.dll_ntohl]
push eax
mov ecx, 0x4ccbf0
call fcn.0046d5b0
pop edi
pop ebx
mov eax, 1
pop esi
ret 8
push 0
push 1
push 0x720
mov ecx, esi
call fcn.004667a0
pop edi
pop ebx
mov eax, 1
pop esi
ret 8

Function at 0x4675a0
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x280]
test eax, eax
je 0x4675b4
mov dword [eax + 0x44], 1
call fcn.0047e630
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x68]
mov ecx, esi
call fcn.00466c50
mov ecx, 0x4ccbf0
call fcn.0046f980
mov ecx, dword [0x4ccb4c]
call fcn.00463030
mov ecx, 0x4cd0f0
call fcn.004794e0
call fcn.0046ab40
mov eax, dword [esi + 0x280]
test eax, eax
je 0x46760b
mov eax, dword [eax + 0x2c]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [esi + 0x280], 0
pop esi
jmp fcn.0048c820
Function at 0x469d60
Capabilities:
Connect socket
Resolve dns

Disassembly:
sub esp, 0x14
mov eax, dword [0x4cbba0]
xor eax, esp
push esi
mov esi, ecx
mov dword [esp + 0x14], eax
cmp dword [esi + 0x18], 4
push edi
mov edi, dword [esp + 0x20]
jne 0x469da3
cmp dword [esi + 0x14], 1
jne 0x469da3
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx]
push 1
call dword [eax]
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.004a17d1
add esp, 0x14
ret 0xc
mov cx, word [esp + 0x28]
mov edx, dword [esp + 0x24]
mov word [esi + 0xe], cx
lea ecx, [edi + 0x24]
mov dword [esi + 0x10], edx
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
lea ecx, [esi + 0x1c]
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
lea ecx, [edi + 0x40]
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
lea ecx, [esi + 0x38]
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
mov eax, dword [esi + 4]
test eax, eax
mov dword [esi + 0x18], 0
jl 0x469df0
push eax
call fcn.0046ada0
add esp, 4
push 0
push esi
push 1
call fcn.0046aff0
mov dword [esi + 4], eax
xor ecx, ecx
mov cx, word [edi + 0x20]
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
add esp, 0xc
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
push ecx
mov word [esp + 0xc], 2
call dword [sym.imp.WS2_32.dll_htons]
lea ecx, [edi + 4]
mov word [esp + 0xa], ax
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
mov edi, eax
push edi
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x469e5c
push edi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x469e8f
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [esp + 0xc], ecx
mov eax, dword [esi + 4]
push 0x10
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
jne 0x469e7f
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 4]
jmp 0x469d8b
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2733
je 0x469d8b
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx]
push 0
call dword [eax]
mov ecx, dword [esp + 0x18]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.004a17d1
add esp, 0x14
ret 0xc
Function at 0x46a3e0
Capabilities:
Connect socket
Resolve dns

Disassembly:
sub esp, 0x14
mov eax, dword [0x4cbba0]
xor eax, esp
push ebx
push esi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x20]
push edi
mov edi, dword [esp + 0x2c]
mov esi, ecx
push eax
lea ecx, [esi + 0x1048]
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
mov eax, dword [esp + 0x28]
mov dword [esi + 0x1064], eax
mov eax, dword [esi + 4]
test eax, eax
mov dword [esi + 0x100c], 0
jl 0x46a42c
push eax
call fcn.0046ada0
add esp, 4
push 0
push esi
push 1
call fcn.0046aff0
xor ecx, ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ecx
add esp, 0xc
lea edx, [edi + 0x24]
mov dword [esp + 0x18], ecx
push edx
lea ecx, [esi + 0x1010]
mov dword [esi + 4], eax
mov word [esp + 0x10], 2
call dword [0x4ab944]
lea eax, [edi + 0x40]
push eax
lea ecx, [esi + 0x102c]
call dword [0x4ab944]
lea ecx, [edi + 4]
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
mov ebx, eax
push ebx
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
jne 0x46a4a6
push ebx
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x46a505
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
mov dword [esp + 0x10], eax
xor ecx, ecx
mov cx, word [edi + 0x20]
push ecx
call dword [sym.imp.WS2_32.dll_htons]
push 0x10
lea edx, [esp + 0x10]
mov word [esp + 0x12], ax
mov eax, dword [esi + 4]
push edx
push eax
mov dword [esi + 0x1008], 0
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
jne 0x46a4f9
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 4]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.004a17d1
add esp, 0x14
ret 0xc
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2733
je 0x46a4e0
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [esi + 0x1068]
mov dword [esi + 4], 0xffffffff
mov edx, dword [ecx]
push 0
call dword [edx]
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.004a17d1
add esp, 0x14
ret 0xc
Function at 0x46c1d0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x18
mov eax, dword [0x4cbba0]
mov edx, dword [0x4ca3ac]
xor eax, esp
mov dword [esp + 0x14], eax
lea eax, [esp]
push eax
lea ecx, [esp + 8]
push ecx
push edx
mov dword [esp + 0xc], 0x10
call dword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
jne 0x46c212
xor eax, eax
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.004a17d1
add esp, 0x18
ret
mov eax, dword [esp + 6]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
mov ecx, dword [0x4ccb50]
mov word [0x4ccba8], ax
mov word [ecx + 0x500], ax
mov ecx, dword [esp + 0x14]
xor ecx, esp
mov eax, 1
call fcn.004a17d1
add esp, 0x18
ret

Function at 0x46c2d0
Capabilities:
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x4a83ef
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x140
mov eax, dword [0x4cbba0]
xor eax, esp
push ebx
push edi
xor ebx, ebx
push ebx
push 2
mov dword [esp + 0x14c], eax
mov dword [esp + 0x18], ebx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
test edi, edi
je 0x46c41d
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea eax, [esp + 0x1c]
push eax
push edi
mov dword [esp + 0x158], ebx
mov dword [esp + 0x24], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x46c40c
nop
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x10]
push 0x4ad12c
push edx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0xc
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::MakeLower]
push 0xa
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Right]
or ebx, 1
push str.sygate.exe
mov ecx, eax
mov byte [esp + 0x154], 1
mov dword [esp + 0x14], ebx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Compare]
test eax, eax
je 0x46c3bd
push 0xb
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Right]
push str.wingate.exe
mov ecx, eax
or ebx, 2
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Compare]
test eax, eax
mov byte [esp + 0xb], 0
jne 0x46c3c2
mov byte [esp + 0xb], 1
test bl, 2
je 0x46c3d4
lea ecx, [esp + 0x18]
and ebx, 0xfffffffd
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
test bl, 1
mov dword [esp + 0x150], 0
je 0x46c3f1
lea ecx, [esp + 0x14]
and ebx, 0xfffffffe
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov al, byte [esp + 0xb]
test al, al
jne 0x46c444
lea edx, [esp + 0x1c]
push edx
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x46c340
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
xor eax, eax
mov ecx, dword [esp + 0x148]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x140]
pop ebx
xor ecx, esp
call fcn.004a17d1
add esp, 0x14c
ret
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov eax, 1
jmp 0x46c41f
Function at 0x46d1b0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x81c
mov eax, dword [0x4cbba0]
mov ecx, dword [ebp + 0x14]
xor eax, ebp
mov dword [esp + 0x818], eax
xor eax, eax
push ebx
mov dword [esp + 8], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
push ecx
mov dword [esp + 0x20], eax
mov word [esp + 0x14], 2
call dword [sym.imp.WS2_32.dll_htons]
push edi
mov word [esp + 0x16], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov edx, dword [0x4ccb50]
mov edi, eax
mov dword [esp + 0x14], edi
mov ecx, dword [edx + 0x4f4]
cmp ecx, 4
je 0x46d24f
cmp ecx, 5
je 0x46d24f
mov edi, dword [ebp + 0xc]
mov eax, dword [0x4ca3ac]
push 0x10
lea edx, [esp + 0x14]
push edx
push 0
push edi
push esi
push eax
call dword [sym.imp.WS2_32.dll_sendto]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x818]
xor ecx, ebp
call fcn.004a17d1
mov esp, ebp
pop ebp
ret
mov ecx, dword [edx + 0x548]
shr ecx, 0xb
test cl, 1
je 0x46d2fd
mov ecx, dword [0x4ccbac]
xor eax, eax
cmp ecx, eax
je 0x46d2fd
cmp byte [edx + 0x744], al
jne 0x46d2fd
mov dx, word [esp + 0x12]
mov ebx, dword [ebp + 0xc]
mov word [esp + 0x28], dx
mov ecx, ebx
mov edx, ecx
shr ecx, 2
mov dword [esp + 0x24], edi
mov byte [esp + 0x20], al
mov byte [esp + 0x21], al
mov byte [esp + 0x22], al
mov byte [esp + 0x23], 1
lea edi, [esp + 0x2a]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [0x4ccb9c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov cx, word [0x4ccb9a]
push 0x10
mov word [esp + 0x16], cx
lea ecx, [esp + 0x14]
push ecx
push eax
mov eax, dword [0x4ca3ac]
add ebx, 0xa
mov dword [esp + 0x20], edx
push ebx
lea edx, [esp + 0x30]
push edx
push eax
call dword [sym.imp.WS2_32.dll_sendto]
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x818]
xor ecx, ebp
call fcn.004a17d1
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x824]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a17d1
mov esp, ebp
pop ebp
ret
Function at 0x46f420
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a8572
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push ebp
push esi
push edi
mov esi, ecx
mov ecx, dword [esp + 0x20]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x14], esi
call fcn.00484320
mov dword [esi + 0xc], 0x4afe24
xor ebp, ebp
lea ecx, [esi + 0x10]
mov dword [esp + 0x18], ebp
mov dword [esi], 0x4b7650
mov dword [esi + 0xc], 0x4b763c
call fcn.00487c70
mov dword [esi + 0x30], ebp
mov dword [esi + 0x34], ebp
mov dword [esi + 0x38], ebp
lea edi, [esi + 0x3c]
mov ecx, edi
mov byte [esp + 0x18], 2
call fcn.0046caf0
mov dword [edi + 4], eax
mov byte [eax + 0x15], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebp
mov dword [esi + 0x4c], ebp
mov dword [esi + 0x50], ebp
mov dword [esi + 0x54], ebp
lea edi, [esi + 0x88]
mov ecx, edi
mov byte [esp + 0x18], 4
call fcn.0044c250
mov dword [edi + 4], eax
mov dword [edi + 8], ebp
lea edx, [esi + 0x60]
push edx
mov byte [esp + 0x1c], 5
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov edi, dword [sym.imp.MSVCR71.dll_rand]
xor eax, eax
lea ecx, [esi + 0x94]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [esi + 0x98], 0xffffffff
call edi
inc eax
cmp ax, 0xfff0
mov word [esi + 0x78], ax
jbe 0x46f50b
mov word [esi + 0x78], 0xfff0
call edi
and eax, 0x3fff
inc eax
mov ecx, esi
mov dword [esi + 0x7c], eax
mov dword [esi + 0x80], ebp
mov dword [esi + 0x84], ebp
mov dword [esi + 0x5c], ebp
call fcn.0046d440
mov ecx, esi
call fcn.0046efd0
mov ecx, dword [esp + 0x10]
mov dword [esi + 0xa4], ebp
pop edi
mov dword [esi + 0xa8], 1
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 8

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

Disassembly:
sub esp, 0x67c
mov eax, dword [0x4cbba0]
xor eax, esp
mov dword [esp + 0x678], eax
mov eax, dword [0x4ccb50]
mov eax, dword [eax + 0x4f4]
cmp eax, 1
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0xc8]
jl 0x46fb26
cmp eax, 3
jg 0x46fb26
add edi, edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
sub eax, dword [esi + 0xc0]
cmp eax, edi
jb 0x46fb69
lea ecx, [esp + 0xc]
call fcn.00482250
push 0
push 0
push 2
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.0046d320
mov edx, dword [esi]
push 1
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call dword [edx + 0x24]
call ebx
mov dword [esi + 0xc0], eax
mov ecx, dword [esp + 0x684]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004a17d1
add esp, 0x67c
ret
Function at 0x47d810
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4a8e25
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push 0x4acbb2
mov dword [esp + 8], esi
call dword [0x4ab700]
push 0x4acbb2
lea ecx, [esi + 4]
mov dword [esp + 0x14], 0
call dword [0x4ab700]
push 0x4acbb2
lea ecx, [esi + 8]
mov byte [esp + 0x14], 1
call dword [0x4ab700]
push 0x4acbb2
lea ecx, [esi + 0xc]
mov byte [esp + 0x14], 2
call dword [0x4ab700]
push 0x4acbb2
lea ecx, [esi + 0x10]
mov byte [esp + 0x14], 3
call dword [0x4ab700]
push 0x4acbb2
lea ecx, [esi + 0x14]
mov byte [esp + 0x14], 4
call dword [0x4ab700]
push 0x4acbb2
lea ecx, [esi + 0x18]
mov byte [esp + 0x14], 5
call dword [0x4ab700]
push 0x4acbb2
lea ecx, [esi + 0x1c]
mov byte [esp + 0x14], 6
call dword [0x4ab700]
push 0x4acbb2
lea ecx, [esi + 0x20]
mov byte [esp + 0x14], 7
call dword [0x4ab700]
push 0x4acbb2
lea ecx, [esi + 0x24]
mov byte [esp + 0x14], 8
call dword [0x4ab700]
push 0x4acbb2
lea ecx, [esi + 0x28]
mov byte [esp + 0x14], 9
call dword [0x4ab700]
push 0x4acbb2
lea ecx, [esi + 0x2c]
mov byte [esp + 0x14], 0xa
call dword [0x4ab700]
push 0x4acbb2
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 0xb
call dword [0x4ab700]
push 0x4acbb2
lea ecx, [esi + 0x34]
mov byte [esp + 0x14], 0xc
call dword [0x4ab700]
push 0x4acbb2
lea ecx, [esi + 0x38]
mov byte [esp + 0x14], 0xd
call dword [0x4ab700]
push 0x4acbb2
lea ecx, [esi + 0x3c]
mov byte [esp + 0x14], 0xe
call dword [0x4ab700]
push 0x4acbb2
lea ecx, [esi + 0x40]
mov byte [esp + 0x14], 0xf
call dword [0x4ab700]
push 0x4acbb2
lea ecx, [esi + 0x44]
mov byte [esp + 0x14], 0x10
call dword [0x4ab700]
push 0x4acbb2
lea ecx, [esi + 0x48]
mov byte [esp + 0x14], 0x11
call dword [0x4ab700]
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4803b0
Capabilities:
Resolve dns

Disassembly:
mov eax, dword [0x4ccb50]
test eax, eax
push esi
mov esi, ecx
je 0x4803fa
cmp dword [esi + 0x98], 0xffffffff
jne 0x4803fa
add eax, 0x50
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x4803fa
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov eax, dword [ecx]
push eax
mov dword [esi + 0x98], eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov edx, dword [0x4ccb50]
add edx, 0x50
mov cl, byte [eax]
inc eax
mov byte [edx], cl
inc edx
test cl, cl
jne 0x4803f0
pop esi
ret

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

Disassembly:
sub esp, 0x67c
mov eax, dword [0x4cbba0]
xor eax, esp
push esi
mov esi, ecx
mov dword [esp + 0x67c], eax
mov eax, dword [esi + 0xb0]
test eax, eax
je 0x480478
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov edx, dword [esi + 0xac]
mov ecx, dword [esi + 0xb4]
sub eax, edx
cmp eax, ecx
jb 0x480477
mov ecx, esi
call fcn.004803b0
lea ecx, [esp + 8]
call fcn.00482250
push 0
push 0
push 0x1d53
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.0046d320
mov edx, dword [esi]
push 1
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call dword [edx + 0x24]
call edi
mov dword [esi + 0xac], eax
pop edi
mov ecx, dword [esp + 0x67c]
pop esi
xor ecx, esp
call fcn.004a17d1
add esp, 0x67c
ret

Function at 0x480920
Capabilities:
Resolve dns

Disassembly:
mov eax, dword [0x4ccb50]
test eax, eax
push esi
mov esi, ecx
je 0x48096f
cmp dword [esi + 0x98], 0xffffffff
jne 0x48096f
add eax, 0x8c
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x48096f
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov eax, dword [ecx]
push eax
mov dword [esi + 0x98], eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov edx, dword [0x4ccb50]
add edx, 0x8c
mov cl, byte [eax]
inc eax
mov byte [edx], cl
inc edx
test cl, cl
jne 0x480965
pop esi
ret

Function at 0x480927
Capabilities:
Resolve dns

Disassembly:
mov eax, dword [0x4ccb50]
test eax, eax
push esi
mov esi, ecx
je 0x48096f
cmp dword [esi + 0x98], 0xffffffff
jne 0x48096f
add eax, 0x8c
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x48096f
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov eax, dword [ecx]
push eax
mov dword [esi + 0x98], eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov edx, dword [0x4ccb50]
add edx, 0x8c
mov cl, byte [eax]
inc eax
mov byte [edx], cl
inc edx
test cl, cl
jne 0x480965
pop esi
ret
Function at 0x48098d
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x67c
mov eax, dword [0x4cbba0]
xor eax, esp
push esi
mov esi, ecx
mov dword [esp + 0x67c], eax
mov eax, dword [esi + 0xb0]
test eax, eax
je 0x480a4d
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov edx, dword [esi + 0xac]
mov ecx, dword [esi + 0xb4]
sub eax, edx
cmp eax, ecx
jb 0x480a4c
mov ecx, esi
call fcn.00480920
lea ecx, [esp + 8]
call fcn.00482250
push 0
push 0
push 2
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.0046d320
mov ecx, dword [0x4ccb50]
cmp dword [ecx + 0x840], 4
push 0x2c
lea ecx, [esp + 0xc]
push 0
jne 0x480a04
push 0x4ad3b0
jmp 0x480a09
push 0x4add00
call fcn.00481e60
push 0x2c
push 1
lea edx, [esi + 0xb8]
push edx
lea ecx, [esp + 0x14]
call fcn.00482070
push 0x2c
push 1
lea eax, [esi + 0xbc]
push eax
lea ecx, [esp + 0x14]
call fcn.00482070
mov edx, dword [esi]
push 1
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call dword [edx + 0x24]
call edi
mov dword [esi + 0xac], eax
pop edi
mov ecx, dword [esp + 0x67c]
pop esi
xor ecx, esp
call fcn.004a17d1
add esp, 0x67c
ret
Function at 0x4817f0
Capabilities:
Encode data using base64

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x4817fb
pop ecx
ret
push esi
mov esi, dword [esp + 0xc]
push edi
lea edi, [esi + eax - 3]
lea ecx, [eax + 2]
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
lea edx, [edx*4 + 1]
push edx
call dword [sym.imp.MSVCR71.dll_malloc]
add esp, 4
test eax, eax
jne 0x48182d
pop edi
or eax, 0xffffffff
pop esi
pop ecx
ret
push ebp
xor ebp, ebp
cmp esi, edi
jae 0x481898
movzx ecx, byte [esi]
movzx edx, byte [esi + 1]
shl ecx, 0x18
shl edx, 0x10
or ecx, edx
inc esi
xor edx, edx
mov dh, byte [esi + 1]
inc esi
add ebp, 4
or ecx, edx
mov edx, ecx
shr edx, 0x1a
mov dl, byte [edx*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax], dl
shl ecx, 6
mov edx, ecx
shr edx, 0x1a
mov dl, byte [edx*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + 1], dl
inc esi
shl ecx, 6
inc eax
mov edx, ecx
shr edx, 0x1a
mov dl, byte [edx*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
shr ecx, 0x14
inc eax
mov byte [eax], dl
and ecx, 0x3f
mov cl, byte [ecx*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc eax
mov byte [eax], cl
inc eax
cmp esi, edi
jb 0x481834
add edi, 3
xor edx, edx
xor ecx, ecx
cmp esi, edi
jae 0x4818d1
push ebx
mov ebx, edi
mov ecx, 0x18
sub ebx, esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], ebx
movzx ebx, byte [esi]
shl ebx, cl
mov ecx, dword [esp + 0x1c]
sub ecx, 8
mov dword [esp + 0x1c], ecx
or edx, ebx
inc esi
cmp esi, edi
jb 0x4818b5
mov ecx, dword [esp + 0x10]
pop ebx
lea esi, [ecx*8]
test esi, esi
jl 0x4818ef
mov ecx, edx
shr ecx, 0x1a
mov cl, byte [ecx*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax], cl
shl edx, 6
jmp 0x4818f2
mov byte [eax], 0x3d
inc eax
inc ebp
cmp esi, 6
jl 0x48190c
mov ecx, edx
shr ecx, 0x1a
mov cl, byte [ecx*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax], cl
shl edx, 6
jmp 0x48190f
mov byte [eax], 0x3d
inc eax
inc ebp
cmp esi, 0xc
jl 0x481929
mov ecx, edx
shr ecx, 0x1a
mov cl, byte [ecx*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax], cl
shl edx, 6
jmp 0x48192c
mov byte [eax], 0x3d
inc eax
inc ebp
cmp esi, 0x12
jl 0x481953
mov ecx, dword [esp + 0x1c]
shr edx, 0x1a
mov dl, byte [edx*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax], dl
inc eax
inc ebp
mov byte [eax], 0
sub eax, ebp
mov dword [ecx], eax
mov eax, ebp
pop ebp
pop edi
pop esi
pop ecx
ret
mov ecx, dword [esp + 0x1c]
mov byte [eax], 0x3d
inc eax
inc ebp
mov byte [eax], 0
sub eax, ebp
mov dword [ecx], eax
mov eax, ebp
pop ebp
pop edi
pop esi
pop ecx
ret