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

Disassembly:
push 0x28
mov eax, 0x55b5ab
call fcn.0054f7e3
mov ebx, dword [ebp + 8]
mov esi, dword [sym.imp.WS2_32.dll_gethostbyname]
push str.login.kugou.net
call esi
mov edx, eax
test edx, edx
je 0x444095
push 6
pop ecx
xor eax, eax
lea edi, [ebp - 0x2c]
rep stosd dword es:[edi], eax
xor edi, edi
mov dword [ebp - 4], edi
mov eax, dword [edx + 0xc]
push 2
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x30], edi
mov eax, dword [eax]
mov dword [ebp - 0x20], 0x22612261
mov dword [ebp - 0x18], edi
mov ecx, dword [eax]
pop eax
mov word [ebp - 0x34], ax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x28], eax
xor eax, eax
mov word [ebp - 0x1c], ax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x24], ecx
mov ecx, ebx
push eax
call fcn.00445c88
or dword [ebp - 4], 0xffffffff
push str.login.kugou.com
call esi
mov edx, eax
test edx, edx
je 0x4440ed
push 6
pop ecx
xor eax, eax
lea edi, [ebp - 0x2c]
rep stosd dword es:[edi], eax
mov dword [ebp - 4], 1
xor esi, esi
push 2
pop eax
mov word [ebp - 0x34], ax
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x20], 0x22612261
mov eax, dword [eax]
mov dword [ebp - 0x18], esi
mov ecx, dword [eax]
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x28], eax
xor eax, eax
mov word [ebp - 0x1c], ax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x24], ecx
mov ecx, ebx
push eax
call fcn.00445c88
call fcn.0054f792
ret 4
Function at 0x445458
Capabilities:
Check if file exists
Set file attributes

Disassembly:
push 0x7c
mov eax, 0x55b7fe
call fcn.0054f84f
mov dword [ebp - 0x60], ecx
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x58], eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4455a8
xor ebx, ebx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push ebx
push 1
push esi
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], ebx
call fcn.0051ebd6
mov byte [ebp - 4], 1
cmp dword [ebp - 0x4c], 0xffffffff
je 0x445574
lea ecx, [ebp - 0x50]
call fcn.0051ecd6
mov edi, edx
mov esi, eax
cmp edi, ebx
jl 0x4454e0
jg 0x4454c0
cmp esi, 0x19000
jbe 0x4454e0
cmp esi, 0x19000
mov dword [ebp - 0x5c], esi
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x54], 0x19000
lea ecx, [ebp - 0x54]
cmovge eax, ecx
mov eax, dword [eax]
cdq
mov esi, eax
mov edi, edx
mov dword [ebp - 0x54], ebx
push 0x19000
mov byte [ebp - 4], 2
call fcn.0054e5c7
pop ecx
push edi
mov ebx, eax
lea ecx, [ebp - 0x50]
push esi
push ebx
mov dword [ebp - 0x54], ebx
call fcn.0051ecfd
push esi
push ebx
lea ecx, [ebp - 0x88]
call fcn.0051efa2
push 6
pop ecx
xor eax, eax
lea edi, [ebp - 0x2c]
rep stosd dword es:[edi], eax
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x88]
call fcn.00444356
mov esi, dword [ebp - 0x60]
lea ecx, [ebp - 0x88]
mov edx, esi
call fcn.00445743
cmp dword [esi + 4], 0
je 0x445580
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x445552
push 6
pop ecx
lea esi, [ebp - 0x2c]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
push 6
xor eax, eax
mov dword [ebp - 0x88], 0x57eae4
lea edi, [ebp - 0x2c]
pop ecx
rep stosd dword es:[edi], eax
test ebx, ebx
je 0x445572
push ebx
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete___void__]
pop ecx
mov bl, 1
lea ecx, [ebp - 0x50]
call fcn.0051ec85
mov al, bl
jmp 0x4455aa
push 6
xor eax, eax
mov dword [ebp - 0x88], 0x57eae4
lea edi, [ebp - 0x2c]
pop ecx
rep stosd dword es:[edi], eax
test ebx, ebx
je 0x4455a0
push ebx
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete___void__]
pop ecx
lea ecx, [ebp - 0x50]
call fcn.0051ec85
xor al, al
call fcn.0054f7a1
ret 8
Function at 0x447de1
Capabilities:
Send icmp echo request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x5b31c8]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ecx + 0x14], 0x10
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x40], eax
jb 0x447e05
mov ecx, dword [ecx]
push ecx
call dword [sym.imp.WS2_32.dll_inet_addr]
mov esi, eax
cmp esi, 0xffffffff
jne 0x447e1a
xor al, al
jmp 0x447ecb
call dword [sym.imp.IPHLPAPI.DLL_IcmpCreateFile]
mov dword [ebp - 0x44], eax
cmp eax, 0xffffffff
je 0x447e13
xor eax, eax
xor ecx, ecx
inc eax
push 0x1c
pop edx
mov dword [ebp - 0x30], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0054e5c7
and dword [ebp - 0x3c], 0
lea edi, [ebp - 0x24]
and dword [ebp - 0x38], 0
mov ebx, eax
pop ecx
push 8
pop ecx
mov eax, 0x30303030
mov byte [ebp - 0x3c], 1
push 0x1c
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x44]
pop edx
mov byte [ebp - 0x25], 1
mov dword [ebp - 0x2c], edx
mov ecx, dword [ebp - 0x34]
mov eax, ecx
dec ecx
mov dword [ebp - 0x34], ecx
test eax, eax
je 0x447eba
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0
je 0x447eba
push 0xbb8
push edx
push ebx
lea eax, [ebp - 0x3c]
push eax
push 0x20
lea eax, [ebp - 0x24]
push eax
push esi
push edi
call dword [sym.imp.IPHLPAPI.DLL_IcmpSendEcho]
test eax, eax
je 0x447edc
mov ecx, dword [ebp - 0x40]
push ebx
call fcn.0043ce33
cmp dword [ebx], esi
jne 0x447eae
mov byte [ebp - 0x25], 0
inc byte [ebp - 0x3c]
cmp byte [ebp - 0x25], 0
mov edx, dword [ebp - 0x2c]
jne 0x447e6b
push ebx
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete___void__]
pop ecx
push edi
call dword [sym.imp.IPHLPAPI.DLL_IcmpCloseHandle]
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0054e63c
mov esp, ebp
pop ebp
ret
cmp dword [ebx + 4], 0x2af9
jne 0x447eae
push ebx
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete___void__]
mov eax, dword [ebp - 0x30]
xor ecx, ecx
push 0x1c
inc eax
pop edx
add dword [ebp - 0x2c], edx
mov dword [ebp - 0x30], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0054e5c7
pop ecx
pop ecx
mov ebx, eax
jmp 0x447eb1

Function at 0x448595
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1a0
mov eax, dword [0x5b31c8]
xor eax, esp
mov dword [esp + 0x19c], eax
push esi
push edi
xor eax, eax
mov esi, ecx
push 0x18e
push eax
mov word [esp + 0x18], ax
lea eax, [esp + 0x1a]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [esp + 0x10]
mov edi, 0x202
push eax
push edi
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x448618
cmp word [esp + 0x10], di
je 0x448602
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov dword [esp + 0xc], str.WSAStartup___failed_with_wrong_version
lea eax, [esp + 0xc]
push 0x5ade18
jmp 0x448629
mov ecx, dword [esp + 0x1a4]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.0054e63c
mov esp, ebp
pop ebp
ret
mov dword [esp + 0xc], str.WSAStartup___failed
lea eax, [esp + 0xc]
push 0x5ade18
push eax
call sub.MSVCR120.dll__CxxThrowException
int3
Function at 0x448863
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ecx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov edi, eax
cmp edi, 0xffffffff
jne 0x448893
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [esp + 8], esi
call fcn.00550770
mov dword [esp + 0xc], eax
test esi, esi
jne 0x44889b
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, 0x57f0d8
lea ecx, [esp + 8]
call fcn.00448792
int3
Function at 0x449bc0
Capabilities:
Create thread

Disassembly:
push 4
mov eax, 0x55c39a
call fcn.0054f7b0
mov ebx, ecx
cmp dword [ebx + 0x1d8], 0
jne 0x449c55
lea ecx, [ebx + 0x5c]
mov byte [ebx + 0x238], 0
call fcn.0051f91d
xor eax, eax
push eax
push eax
push ebx
push 0x44f6e6
push eax
push eax
call dword [sym.imp.MSVCR120.dll__beginthreadex]
add esp, 0x18
test eax, eax
je 0x449c05
mov dword [ebx + 0x1d8], eax
cmp dword [ebx + 0x4a0], 0
je 0x449c55
lea esi, [ebx + 0x4a4]
mov ecx, esi
mov dword [ebp - 0x10], esi
call fcn.00529310
and dword [ebp - 4], 0
mov edi, dword [ebx + 0x4a0]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [edi + 4]
push eax
push str.time:_d
push str.start
push dword [ebx + 0x4a0]
call fcn.0051f43e
or dword [ebp - 4], 0xffffffff
add esp, 0x10
mov ecx, esi
call fcn.00529320
mov al, 1
call fcn.0054f77e
ret
Function at 0x44a7b6
Capabilities:
Check if file exists

Disassembly:
push 0x6c
mov eax, 0x55c5b4
call fcn.0054f7e3
mov edi, ecx
lea eax, [ebp - 0x40]
push eax
call fcn.0044854d
and dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
push str.network_logqualityLog.txt
mov edx, eax
call fcn.00452a07
pop ecx
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.00401c9b
xor esi, esi
mov dword [ebp - 0x44], esi
mov byte [ebp - 4], 3
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44a915
push 0x20
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
pop ecx
mov dword [ebp - 0x78], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x44a83a
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
push ecx
push ecx
mov ecx, eax
call fcn.0051f36a
jmp 0x44a83c
xor eax, eax
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
call fcn.00451d11
mov esi, dword [ebp - 0x44]
test esi, esi
je 0x44a915
mov eax, dword [edi + 0x4bc]
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x74], eax
mov eax, dword [edi + 0x4c0]
mov dword [ebp - 0x70], eax
mov eax, dword [edi + 0x4c4]
mov dword [ebp - 0x6c], eax
mov eax, dword [edi + 0x4c8]
mov dword [ebp - 0x68], eax
mov eax, dword [edi + 0x4cc]
mov dword [ebp - 0x64], eax
mov eax, dword [edi + 0x4d0]
mov dword [ebp - 0x60], eax
mov eax, dword [edi + 0x4d4]
mov dword [ebp - 0x5c], eax
mov eax, dword [edi + 0x4d8]
mov dword [ebp - 0x58], eax
mov eax, dword [edi + 0x4dc]
mov dword [ebp - 0x54], eax
lea eax, [edi + 0x4e0]
push eax
call fcn.004515f9
mov byte [ebp - 4], 5
mov ebx, dword [ebp - 0x74]
test ebx, ebx
je 0x44a8e4
imul eax, dword [ebp - 0x70], 0x3e8
cdq
idiv ebx
mov ecx, eax
mov eax, dword [ebp - 0x64]
cdq
idiv ebx
mov dword [ebp - 0x6c], ecx
mov edi, eax
mov eax, dword [ebp - 0x60]
cdq
idiv ebx
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x60], eax
jmp 0x44a8ed
mov eax, dword [ebp - 0x60]
mov edi, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x6c]
push dword [ebp - 0x5c]
push dword [ebp - 0x68]
push eax
push edi
push ecx
push dword [ebp - 0x70]
push ebx
push str.count:_dsuccess:_dpermillage:_dtime:_dtryNumber:_dtype:_dloadResult:_d
push str.quality
push esi
call fcn.0051f43e
add esp, 0x28
lea ecx, [ebp - 0x50]
call fcn.00408eb1
mov byte [ebp - 4], 2
test esi, esi
je 0x44a92c
mov ecx, esi
call fcn.0051f400
push esi
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
pop ecx
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00401c9b
call fcn.0054f792
ret
Function at 0x44ef8c
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x5b31c8]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x120], eax
mov esi, edx
push 0x100
lea eax, [ebp - 0x10c]
mov edi, ecx
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 0x124], eax
test eax, eax
jne 0x44efdf
xor al, al
jmp 0x44f103
mov eax, dword [eax + 0xc]
xor ebx, ebx
or dword [ebp - 0x11c], 0xffffffff
mov byte [ebp - 0x10d], 1
cmp dword [eax], ebx
je 0x44f101
xor ecx, ecx
mov eax, dword [eax + ecx]
push 2
pop edx
mov word [ebp - 0x118], dx
mov ecx, dword [eax]
mov dword [ebp - 0x114], ecx
test ecx, ecx
je 0x44f099
cmp ecx, 0xffffffff
je 0x44f099
mov dl, cl
cmp dl, 0x7f
jne 0x44f03f
mov eax, ecx
shr eax, 8
test al, al
jne 0x44f077
cmp byte [ebp - 0x112], al
jne 0x44f077
mov eax, ecx
shr eax, 0x18
cmp al, 1
je 0x44f099
cmp dl, 0xa9
jne 0x44f04d
mov eax, ecx
shr eax, 8
cmp al, 0xfe
je 0x44f099
cmp dl, 0xa
je 0x44f095
cmp dl, 0xac
jne 0x44f069
cmp byte [ebp - 0x113], 0x10
jb 0x44f077
mov eax, ecx
shr eax, 8
cmp al, 0x20
jb 0x44f095
cmp dl, 0xc0
jne 0x44f077
mov eax, ecx
shr eax, 8
cmp al, 0xa8
je 0x44f095
mov eax, dword [ebp - 0x118]
mov dword [esi], eax
mov eax, dword [ebp - 0x120]
mov dword [esi + 4], ecx
and dword [eax], 0
xor dl, dl
mov byte [ebp - 0x10d], dl
jmp 0x44f0d5
xor eax, eax
jmp 0x44f09c
or eax, 0xffffffff
cmp eax, dword [ebp - 0x11c]
jl 0x44f0cf
cmp byte [ebp - 0x10d], 0
mov edx, dword [ebp - 0x118]
mov dword [edi], edx
mov dword [edi + 4], ecx
je 0x44f0c9
mov dword [esi + 4], ecx
mov ecx, dword [ebp - 0x120]
mov dword [esi], edx
mov dword [ecx], 3
mov dword [ebp - 0x11c], eax
mov dl, byte [ebp - 0x10d]
mov eax, dword [ebp - 0x124]
inc ebx
mov ecx, ebx
shl ecx, 2
mov eax, dword [eax + 0xc]
cmp dword [eax + ecx], 0
jne 0x44effc
cmp ebx, 1
jne 0x44f101
test dl, dl
jne 0x44f101
mov ecx, dword [esi]
mov dword [edi], ecx
mov ecx, dword [esi + 4]
mov dword [edi + 4], ecx
mov al, 1
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0054e63c
mov esp, ebp
pop ebp
ret
Function at 0x450786
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0x11c
mov eax, 0x55cfa6
call fcn.0054f84f
mov edi, ecx
and dword [ebp - 4], 0
mov eax, dword [0x5bc6c8]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
test al, 1
jne 0x4507b9
or eax, 1
mov dword [0x5bc6c8], eax
call esi
mov dword [0x5bc6f8], eax
call esi
sub eax, dword [0x5bc6f8]
cmp eax, 0x1388
jb 0x450940
call esi
lea esi, [edi + 0x518]
mov dword [0x5bc6f8], eax
mov ecx, esi
mov dword [ebp - 0x64], esi
call fcn.00529310
mov byte [ebp - 4], 1
lea ebx, [edi + 0x530]
mov eax, dword [ebx]
mov ecx, edi
mov dword [ebx + 4], eax
lea eax, [ebp - 0x5c]
push eax
call fcn.0044854d
push str.network_logCommandIDPackgeList.txt
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.00452a07
pop ecx
push 0
push 1
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 4
call fcn.00401c9b
push ecx
lea ecx, [ebp - 0x128]
call fcn.00407af7
mov byte [ebp - 4], 5
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x30], 8
lea ecx, [ebp - 0x110]
push 0x40
cmovae eax, dword [ebp - 0x44]
push 1
push eax
call fcn.004525e0
test eax, eax
lea ecx, [ebp - 0x128]
mov eax, dword [ebp - 0x128]
push 0
mov eax, dword [eax + 4]
jne 0x45086d
push 2
add ecx, eax
call dword [sym.imp.MSVCP120.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
jmp 0x450877
push 0
add ecx, eax
call dword [sym.imp.MSVCP120.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool_]
cmp dword [ebp - 0xc0], 0
jne 0x4508ac
lea ecx, [ebp - 0xb0]
call fcn.00407b92
lea ecx, [ebp - 0xb0]
call dword [sym.imp.MSVCP120.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
push 0
push 1
lea ecx, [ebp - 0x44]
call fcn.00401c9b
mov byte [ebp - 4], 0
jmp 0x450939
and dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov byte [ebp - 4], 6
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x128]
call fcn.0040a079
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
jne 0x4508fc
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.MSVCR120.dll_atoi]
pop ecx
mov dword [ebp - 0x60], eax
mov ecx, ebx
lea eax, [ebp - 0x60]
push eax
call fcn.00451de1
jmp 0x4508bf
lea ecx, [ebp - 0x128]
call fcn.00407c4c
xor ebx, ebx
lea ecx, [ebp - 0x2c]
push ebx
push 1
call fcn.00401c56
lea ecx, [ebp - 0xb0]
call fcn.00407b92
lea ecx, [ebp - 0xb0]
call dword [sym.imp.MSVCP120.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
push ebx
push 1
lea ecx, [ebp - 0x44]
call fcn.00401c9b
mov byte [ebp - 4], bl
mov ecx, esi
call fcn.00529320
call fcn.0054f7a1
ret
Function at 0x451399
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
cmp dword [edx + 0x14], 0x10
push esi
mov esi, ecx
jb 0x4513ac
mov edx, dword [edx]
push edx
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x4513c5
and dword [esi + 0x10], eax
mov dword [esi + 0x14], 0xf
mov byte [esi], al
jmp 0x4513da
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
push dword [eax]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
mov ecx, esi
call fcn.00401b61
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x455ebf
Capabilities:
Create thread

Disassembly:
push ebx
push esi
push edi
xor eax, eax
mov esi, ecx
push eax
push eax
lea edi, [esi + 0x58]
push edi
push 0x466ec3
push eax
mov dword [edi + 0x3c], esi
mov dword [edi + 0x40], 0x4561d2
push eax
mov byte [edi], al
call dword [sym.imp.MSVCR120.dll__beginthreadex]
add esp, 0x18
test eax, eax
je 0x455f70
mov dword [edi + 4], eax
mov edx, 0xfffe
mov ecx, dword [esi + 0xa8]
lea eax, [ecx - 1]
cmp eax, edx
ja 0x455f08
mov dword [esi + 0x2c], ecx
mov ecx, dword [esi + 0xb4]
lea eax, [ecx - 1]
cmp eax, edx
ja 0x455f18
mov dword [esi + 0x48], ecx
lea eax, [esi + 0x20]
mov ecx, 0x456073
mov dword [eax + 0x18], ecx
mov dword [eax + 0x14], esi
mov dword [esi + 0x54], ecx
mov ecx, eax
mov dword [esi + 0x50], esi
call fcn.0046726e
test al, al
je 0x455f59
lea ecx, [esi + 0x3c]
call fcn.0046726e
test al, al
je 0x455f59
mov eax, dword [esi + 0x2c]
mov dword [esi + 0xa8], eax
mov eax, dword [esi + 0x48]
mov dword [esi + 0xb4], eax
mov al, 1
jmp 0x455f72
lea ecx, [esi + 0x20]
call fcn.004672a4
lea ecx, [esi + 0x3c]
call fcn.004672a4
mov ecx, edi
call fcn.00466e72
xor al, al
pop edi
pop esi
pop ebx
ret
Function at 0x457d56
Capabilities:
Receive data
Receive data on socket

Disassembly:
push 8
mov eax, 0x55dd39
call fcn.0054f7b0
mov ebx, ecx
push 0x4000
call fcn.0054e5c7
mov esi, eax
pop ecx
mov dword [ebp - 0x14], esi
and dword [ebp - 4], 0
and dword [ebp - 0x10], 0
mov edi, dword [ebx]
test esi, esi
je 0x457d9f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0
push 0x4000
push esi
push dword [edi]
mov dword [edi + 0x1c], eax
call dword [sym.imp.WS2_32.dll_recv]
mov edi, eax
jmp 0x457da2
or edi, 0xffffffff
test edi, edi
js 0x457dfb
je 0x457dee
jle 0x457dd5
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 0x108]
test ecx, ecx
je 0x457dc9
push dword [ebp + 8]
lea eax, [edi + esi]
push eax
push esi
push dword [ecx + 4]
call fcn.004665ce
jmp 0x457dd2
push edi
push esi
mov ecx, eax
call fcn.00463c03
add dword [ebp - 0x10], edi
cmp edi, 0x4000
jge 0x457d7c
mov eax, dword [ebx + 4]
cmp byte [eax + 0x3c], 0
je 0x457e26
cmp dword [eax + 0x6c], 0xffffffff
je 0x457d7c
jmp 0x457e26
mov ecx, dword [ebx]
and dword [ebp - 0x10], 0
call fcn.00466cf9
jmp 0x457e26
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x457e26
mov eax, dword [ebx]
mov dword [ebp - 0x10], edi
mov byte [eax + 0x23], 1
mov eax, dword [ebx + 4]
mov byte [ebx + 0x20], 1
mov eax, dword [eax + 0xf4]
test eax, eax
je 0x457e26
mov byte [eax + 0x27], 1
push dword [ebp + 8]
mov ecx, dword [ebx + 4]
push dword [ebp - 0x10]
call fcn.00465494
test al, al
setne bl
test esi, esi
je 0x457e45
push esi
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete___void__]
pop ecx
mov al, bl
call fcn.0054f77e
ret 4
Function at 0x457e4f
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push 0x10
mov edi, ecx
pop esi
mov ecx, dword [edi + 4]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
call fcn.00465bf8
test al, al
je 0x457ec2
xor ebx, ebx
cmp dword [ebp - 4], ebx
jle 0x457eb5
dec esi
mov dword [ebp - 0xc], esi
mov esi, dword [edi]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0
push dword [ebp - 4]
mov dword [esi + 0x1c], eax
push dword [ebp - 8]
push dword [esi]
call dword [sym.imp.WS2_32.dll_send]
mov ecx, eax
test ecx, ecx
js 0x457ede
mov eax, dword [ebp - 4]
add ebx, ecx
add dword [ebp - 8], ecx
sub eax, ecx
mov esi, dword [ebp - 0xc]
mov dword [ebp - 4], eax
test esi, esi
jle 0x457eb5
test eax, eax
jg 0x457e78
mov ecx, dword [edi + 4]
push ebx
call fcn.00465cf7
test esi, esi
jg 0x457e5d
test esi, esi
jg 0x457f04
mov ecx, dword [edi + 4]
mov ecx, dword [ecx + 0xf0]
call fcn.0046d4be
test al, al
je 0x457f3b
mov byte [edi + 0x28], 1
jmp 0x457f3b
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x457ef5
mov eax, dword [edi]
mov byte [eax + 0x23], 1
mov byte [edi + 0x20], 1
test ebx, ebx
jle 0x457f3b
mov ecx, dword [edi + 4]
push ebx
call fcn.00465cf7
jmp 0x457f3b
mov esi, dword [edi + 4]
mov ecx, dword [esi + 0xf0]
call fcn.0046d4be
test al, al
je 0x457f22
mov eax, dword [edi]
mov byte [eax + 0x23], 1
mov byte [edi + 0x20], 1
jmp 0x457f34
cmp dword [esi + 0xec], 3
jne 0x457f3b
cmp byte [esi + 0xe8], 0
je 0x457f3b
mov ecx, dword [edi]
call fcn.00466d16
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x457f46
Capabilities:
Encode data using base64

Disassembly:
push 0x18
mov eax, 0x55b190
call fcn.0054f7b0
mov edi, edx
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 0x18], ecx
test eax, eax
jne 0x457f76
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], ecx
mov byte [ebx], cl
jmp 0x458075
add eax, 2
push 3
pop ecx
cdq
idiv ecx
lea ecx, [ebp - 0x24]
shl eax, 2
push eax
call fcn.00445a3d
mov eax, dword [ebp + 8]
push 3
cdq
pop ecx
idiv ecx
and dword [ebp - 4], 0
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x14], edx
test eax, eax
jle 0x458002
push ecx
mov ebx, eax
pop edx
movzx ecx, byte [edi]
shr ecx, 2
mov al, byte [ecx + 0x576440]
mov byte [esi], al
movzx ecx, byte [edi]
movzx eax, byte [edi + 1]
and ecx, edx
shr eax, 4
add ecx, ecx
mov al, byte [eax + ecx*8 + 0x576440]
mov byte [esi + 1], al
movzx ecx, byte [edi + 1]
movzx eax, byte [edi + 2]
and ecx, 0xf
shr eax, 6
mov al, byte [eax + ecx*4 + 0x576440]
mov byte [esi + 2], al
movzx eax, byte [edi + 2]
add edi, edx
and eax, 0x3f
mov al, byte [eax + 0x576440]
mov byte [esi + 3], al
add esi, 4
dec ebx
jne 0x457fa6
mov ebx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
cmp edx, 1
jne 0x45801d
movzx eax, byte [edi]
shr eax, 2
mov word [esi + 1], 0x3d41
mov al, byte [eax + 0x576440]
mov byte [esi], al
jmp 0x45805c
cmp edx, 2
jne 0x458060
movzx eax, byte [edi]
shr eax, 2
push 3
mov al, byte [eax + 0x576440]
mov byte [esi], al
movzx ecx, byte [edi]
pop eax
and ecx, eax
movzx eax, byte [edi + 1]
shr eax, 4
add ecx, ecx
mov al, byte [eax + ecx*8 + 0x576440]
mov byte [esi + 1], al
movzx eax, byte [edi + 1]
and eax, 0xf
mov al, byte [eax*4 + 0x576440]
mov byte [esi + 2], al
mov byte [esi + 3], 0x3d
push dword [ebp - 0x20]
mov ecx, ebx
push dword [ebp - 0x24]
call fcn.00446b33
lea ecx, [ebp - 0x24]
call fcn.00408eb1
mov eax, ebx
call fcn.0054f77e
ret

Function at 0x458526
Capabilities:
Get common file path

Disassembly:
push 0x22c
mov eax, 0x55ddb6
call fcn.0054f7e3
mov dword [ebp - 0x234], edx
mov ebx, ecx
and dword [ebp - 0x238], 0
lea eax, [ebp - 0x1f0]
push 0xa
pop ecx
push 0x1e0
mov esi, str.C:WINDOWS_system32
lea edi, [ebp - 0x218]
push 0
rep movsd dword es:[edi], dword [esi]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00407674
and dword [ebp - 4], 0
mov ecx, dword [ebp - 0x220]
test ecx, ecx
je 0x4585c8
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push 0x5c
cmovae eax, dword [ebp - 0x230]
pop edx
cmp word [eax + ecx*2 - 2], dx
je 0x4585c8
push edx
push 1
lea ecx, [ebp - 0x230]
call fcn.00409760
push dword [ebp - 0x234]
lea edx, [ebp - 0x230]
mov ecx, ebx
call fcn.0040a00f
pop ecx
push 0
push 1
lea ecx, [ebp - 0x230]
call fcn.00401c9b
mov eax, ebx
call fcn.0054f792
ret