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

Disassembly:
mov eax, 0x4d976c
call fcn.00471450
sub esp, 0x9c
push esi
push edi
mov esi, 0x9c
xor edi, edi
push esi
lea eax, [ebp - 0xa8]
push edi
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0xa8]
mov dword [ebp - 0xa8], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push eax
call esi
cmp eax, edi
jne 0x413826
lea eax, [ebp - 0xa8]
mov dword [ebp - 0xa8], 0x94
push eax
call esi
test eax, eax
je 0x4139b5
mov esi, dword [ebp + 8]
mov ecx, esi
call sub.MFC42.DLL_CString::Empty
mov eax, dword [ebp - 0x98]
sub eax, edi
je 0x4138ff
dec eax
je 0x41388d
dec eax
jne 0x41390b
cmp dword [ebp - 0xa4], 4
ja 0x41385b
push str.Microsoft_Windows_NT
jmp 0x413904
cmp dword [ebp - 0xa4], 5
jne 0x413886
cmp dword [ebp - 0xa0], edi
jne 0x413876
push str.Microsoft_Windows_2000
jmp 0x413904
cmp dword [ebp - 0xa0], 1
jne 0x413886
push str.Microsoft_Windows_XP
jmp 0x413904
push str.Microsoft_Windows_XP_later
jmp 0x413904
cmp dword [ebp - 0xa4], 4
jne 0x4138f8
cmp dword [ebp - 0xa0], edi
jne 0x4138c3
push str.Microsoft_Windows_95
mov ecx, esi
call fcn.00470e84
cmp byte [ebp - 0x93], 0x43
je 0x4138bc
cmp byte [ebp - 0x93], 0x42
jne 0x41390b
push str.OSR2
jmp 0x413904
cmp dword [ebp - 0xa0], 0xa
jne 0x4138e8
push str.Microsoft_Windows_98
mov ecx, esi
call fcn.00470e84
cmp byte [ebp - 0x93], 0x41
jne 0x41390b
push 0x54cd54
jmp 0x413904
cmp dword [ebp - 0xa0], 0x5a
jne 0x4138f8
push str.Microsoft_Windows_Me
jmp 0x413904
push str.Microsoft_Windows_Me_later
jmp 0x413904
push str.Microsoft_Win32s
mov ecx, esi
call fcn.00470e84
cmp dword [ebp - 0xa4], 4
ja 0x41395c
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 4], edi
and eax, 0xffff
push eax
lea eax, [ebp + 8]
push dword [ebp - 0xa0]
push dword [ebp - 0xa4]
push str._Build__d._d._d__n
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x14
lea eax, [ebp + 8]
mov ecx, esi
push eax
call sub.MFC42.DLL_CString::operator
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
jmp 0x4139ad
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 4], 1
and eax, 0xffff
push eax
lea eax, [ebp - 0x94]
push dword [ebp - 0xa0]
push dword [ebp - 0xa4]
push eax
lea eax, [ebp + 8]
push str._s__Build__d._d._d__n
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x18
lea eax, [ebp + 8]
mov ecx, esi
push eax
call sub.MFC42.DLL_CString::operator
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x425f49
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4dbad4
call fcn.00471450
sub esp, 0x1cc
push ebx
push edi
mov edi, ecx
call sub.MFC42.DLL_AfxGetAppModuleState
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x1d8]
push 0x104
push ecx
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xac]
xor ebx, ebx
push 0x44
lea eax, [ebp - 0x70]
push ebx
push eax
call sub.MSVCRT.dll_memset
push 0x10
lea eax, [ebp - 0x2c]
push ebx
push eax
mov dword [ebp - 0x70], 0x44
call sub.MSVCRT.dll_memset
add esp, 0x18
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ebx
call sub.MFC42.DLL_AfxGetAppModuleState
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x10]
push ecx
mov eax, dword [eax + 0xd4]
push eax
call dword [sym.imp.BasicCtrlDll.dll_void___cdecl_GetCurrentSysTempData_struct_IQQCore___struct_IQQData___]
mov eax, dword [ebp - 0x10]
pop ecx
pop ecx
lea edx, [ebp - 0x1c]
mov ecx, dword [eax]
push edx
push str.QQMAINFRAME_PARENT
push eax
call dword [ecx + 0x34]
push dword [ebp - 0x1c]
lea eax, [ebp - 0xd4]
push 1
push str._SessionType:_d__EMB_HWND:_ld
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x70]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0xd4]
push ebx
push eax
lea eax, [ebp - 0x1d8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
cmp eax, ebx
jne 0x42602d
mov eax, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x426026
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, 0x80004005
jmp 0x42607b
mov eax, dword [edi + 0x38]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.00426174
cmp dword [ebp - 0x18], ebx
je 0x426058
lea ecx, [ebp - 0x18]
call fcn.00426174
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x426068
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x426079
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x42a99d
Capabilities:
Set socket configuration

Disassembly:
mov eax, 0x4dc5b9
call fcn.00471450
sub esp, 0x14
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 0xac], ebx
jne 0x42a9e1
cmp dword [esi + 0x60], ebx
jne 0x42a9e8
push 0x54da48
call fcn.0041247a
mov dword [esp], 0xb90
push esi
call fcn.0042cc46
pop ecx
mov dword [esi + 0xac], 1
pop ecx
xor eax, eax
jmp 0x42ab16
push 1
lea ecx, [ebp - 0x10]
pop edi
mov dword [esi + 0xbc], edi
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [esi + 0x5c]
lea ecx, [ebp - 0x10]
add eax, 0xc
mov dword [ebp - 4], ebx
push eax
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [esi + 0xc0]
lea edx, [ebp - 0x18]
push edx
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x1c]
test eax, eax
jne 0x42ab08
cmp dword [ebp - 0x14], edi
je 0x42aa4a
cmp dword [ebp - 0x14], 4
je 0x42aa4a
push dword [ebp - 0x10]
call sub.WSOCK32.dll_inet_addr
mov edi, eax
inc edi
neg edi
sbb edi, edi
inc edi
jmp 0x42aa4c
xor edi, edi
mov eax, dword [esi + 0x5c]
push dword [eax + 0x10]
push dword [ebp - 0x10]
push 0x54d9fc
call fcn.0041247a
add esp, 0xc
cmp edi, ebx
je 0x42aacd
push dword [ebp - 0x10]
push 0x54d9b4
call fcn.0041247a
mov eax, dword [esi + 0x5c]
pop ecx
pop ecx
push dword [eax + 0x10]
push dword [ebp - 0x10]
push 0xb91
push esi
call fcn.0042cc46
push 0x484
call sub.MFC42.DLL_operatornew
add esp, 0x14
mov dword [ebp - 0x1c], eax
cmp eax, ebx
mov byte [ebp - 4], 1
je 0x42aac8
push ebx
push 1
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [ebp - 0x1c]
push 0xb53
push dword [esi + 0x20]
mov byte [ebp - 4], 1
call dword [sym.imp.BasicCtrlDll.dll_public:_void___thiscall_CAsyncGetHostByName::constructor_struct_HWND_____unsigned_int__class_CString__int__int_]
mov byte [ebp - 4], bl
jmp 0x42ab05
mov eax, dword [esi + 0x5c]
push dword [eax + 0x10]
push dword [ebp - 0x10]
push 0xb92
push esi
call fcn.0042cc46
mov eax, dword [esi + 0x5c]
add esp, 0x10
push dword [eax + 0x10]
lea eax, [ebp - 0x10]
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call sub.MFC42.DLL_CString::CString_3
push 1
mov ecx, esi
mov byte [ebp - 4], bl
call fcn.0042b038
push 1
pop ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x43abec
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push dword [esi]
call sub.WSOCK32.dll_ntohl
push dword [esi + 4]
mov edi, eax
call sub.WSOCK32.dll_ntohl
mov ebx, eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
lea esi, [ebp - 0x10]
sub eax, ecx
mov dword [ebp + 8], 4
mov dword [ebp + 0xc], eax
jmp 0x43ac25
mov eax, dword [ebp + 0xc]
push dword [eax + esi]
call sub.WSOCK32.dll_ntohl
mov dword [esi], eax
add esi, 4
dec dword [ebp + 8]
jne 0x43ac22
push 0xd
xor eax, eax
pop ecx
mov edx, ebx
mov esi, ebx
shr edx, 5
add edx, dword [ebp - 0xc]
sub eax, 0x61c88647
shl esi, 4
add esi, dword [ebp - 0x10]
xor edx, esi
lea esi, [eax + ebx]
xor edx, esi
add edi, edx
mov edx, edi
mov esi, edi
shr edx, 5
add edx, dword [ebp - 4]
shl esi, 4
add esi, dword [ebp - 8]
xor edx, esi
lea esi, [eax + edi]
xor edx, esi
add ebx, edx
dec ecx
jne 0x43ac3c
push edi
call sub.WSOCK32.dll_htonl
mov esi, dword [ebp + 0x10]
push ebx
mov dword [esi], eax
call sub.WSOCK32.dll_htonl
mov dword [esi + 4], eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x43b04e
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
mov eax, dword [ecx]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
bswap eax
mov edx, eax
mov eax, dword [ecx + 4]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
bswap eax
mov edi, dword [ebp + 0xc]
mov esi, eax
lea eax, [ebp - 0x10]
push 4
lea ecx, [ebp - 0x10]
sub edi, eax
pop ebx
mov eax, dword [edi + ecx]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
bswap eax
mov dword [ecx], eax
add ecx, 4
dec ebx
jne 0x43b081
push 0x10
xor eax, eax
pop ecx
mov edi, esi
mov ebx, esi
shr edi, 5
add edi, dword [ebp - 0xc]
sub eax, 0x61c88647
shl ebx, 4
add ebx, dword [ebp - 0x10]
xor edi, ebx
lea ebx, [eax + esi]
xor edi, ebx
add edx, edi
mov edi, edx
mov ebx, edx
shr edi, 5
add edi, dword [ebp - 4]
shl ebx, 4
add ebx, dword [ebp - 8]
xor edi, ebx
lea ebx, [eax + edx]
xor edi, ebx
add esi, edi
dec ecx
jne 0x43b099
mov dword [ebp + 0xc], esi
mov dword [ebp + 8], edx
mov eax, dword [ebp + 8]
bswap eax
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov eax, dword [ebp + 0xc]
bswap eax
pop edi
pop esi
mov dword [ecx + 4], eax
pop ebx
leave
ret
Function at 0x43b0f0
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
mov eax, dword [ecx]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
bswap eax
mov esi, eax
mov eax, dword [ecx + 4]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
bswap eax
mov edi, dword [ebp + 0xc]
mov edx, eax
lea eax, [ebp - 0x10]
push 4
lea ecx, [ebp - 0x10]
sub edi, eax
pop ebx
mov eax, dword [edi + ecx]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
bswap eax
mov dword [ecx], eax
add ecx, 4
dec ebx
jne 0x43b123
push 0x10
mov eax, 0xe3779b90
pop ecx
mov edi, esi
mov ebx, esi
shr edi, 5
add edi, dword [ebp - 4]
shl ebx, 4
add ebx, dword [ebp - 8]
xor edi, ebx
lea ebx, [eax + esi]
xor edi, ebx
sub edx, edi
mov edi, edx
mov ebx, edx
shr edi, 5
add edi, dword [ebp - 0xc]
shl ebx, 4
add ebx, dword [ebp - 0x10]
xor edi, ebx
lea ebx, [eax + edx]
xor edi, ebx
add eax, 0x61c88647
sub esi, edi
dec ecx
jne 0x43b13e
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 8]
bswap eax
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov eax, dword [ebp + 0xc]
bswap eax
pop edi
pop esi
mov dword [ecx + 4], eax
pop ebx
leave
ret
Function at 0x43b195
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
push 8
add eax, 0xa
pop ebx
cdq
mov ecx, ebx
idiv ecx
test edx, edx
mov dword [ebp - 4], edx
je 0x43b1ba
mov eax, ebx
sub eax, edx
mov dword [ebp - 4], eax
mov esi, dword [sym.imp.MSVCRT.dll_rand]
call esi
mov ecx, eax
mov eax, dword [ebp - 4]
and cl, 0xf8
push 1
or cl, al
pop edi
mov byte [ebp - 0xc], cl
mov ecx, eax
dec eax
test ecx, ecx
je 0x43b1e9
inc eax
mov dword [ebp - 4], eax
call esi
mov byte [ebp + edi - 0xc], al
inc edi
dec dword [ebp - 4]
jne 0x43b1dd
push ebx
lea eax, [ebp - 0x14]
push 0
push eax
call sub.MSVCRT.dll_memset
mov esi, dword [ebp + 0x18]
lea eax, [ebp - 0x14]
add esp, 0xc
mov dword [ebp - 4], eax
and dword [esi], 0
mov dword [ebp + 0x18], 1
cmp edi, ebx
jge 0x43b21f
call dword [sym.imp.MSVCRT.dll_rand]
mov byte [ebp + edi - 0xc], al
inc edi
inc dword [ebp + 0x18]
cmp edi, ebx
jne 0x43b258
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0xc]
xor edi, edi
sub ecx, eax
lea eax, [ebp + edi - 0xc]
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc edi
cmp edi, ebx
jl 0x43b22b
push dword [ebp + 0x14]
lea eax, [ebp - 0xc]
push dword [ebp + 0x10]
push eax
call fcn.0043b04e
mov eax, dword [ebp + 0x14]
add dword [esi], ebx
add esp, 0xc
xor edi, edi
add dword [ebp + 0x14], ebx
mov dword [ebp - 4], eax
cmp dword [ebp + 0x18], 2
jle 0x43b20b
cmp dword [ebp + 0xc], 0
je 0x43b2b5
cmp edi, ebx
jge 0x43b27a
mov eax, dword [ebp + 8]
inc edi
inc dword [ebp + 8]
dec dword [ebp + 0xc]
mov al, byte [eax]
cmp edi, ebx
mov byte [ebp + edi - 0xd], al
jne 0x43b25e
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0xc]
xor edi, edi
sub ecx, eax
lea eax, [ebp + edi - 0xc]
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc edi
cmp edi, ebx
jl 0x43b286
push dword [ebp + 0x14]
lea eax, [ebp - 0xc]
push dword [ebp + 0x10]
push eax
call fcn.0043b04e
mov eax, dword [ebp + 0x14]
add dword [esi], ebx
add esp, 0xc
xor edi, edi
add dword [ebp + 0x14], ebx
mov dword [ebp - 4], eax
jmp 0x43b25e
mov dword [ebp + 0x18], 1
cmp edi, ebx
jge 0x43b2cb
and byte [ebp + edi - 0xc], 0
inc edi
inc dword [ebp + 0x18]
cmp edi, ebx
jne 0x43b304
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0xc]
xor edi, edi
sub ecx, eax
lea eax, [ebp + edi - 0xc]
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc edi
cmp edi, ebx
jl 0x43b2d7
push dword [ebp + 0x14]
lea eax, [ebp - 0xc]
push dword [ebp + 0x10]
push eax
call fcn.0043b04e
mov eax, dword [ebp + 0x14]
add dword [esi], ebx
add esp, 0xc
xor edi, edi
add dword [ebp + 0x14], ebx
mov dword [ebp - 4], eax
cmp dword [ebp + 0x18], 7
jle 0x43b2bc
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43b6eb
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push 0x5c
push 0
push esi
call sub.MSVCRT.dll_memset
and dword [esi + 0x10], 0
and dword [esi + 0x14], 0
add esp, 0xc
and dword [esi + 0x58], 0
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
pop esi
pop ebp
ret
Function at 0x43d368
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push dword [ebp + 0x10]
call sub.MSVCRT.dll_strlen
mov esi, dword [ebp + 8]
pop ecx
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push 1
push eax
mov ecx, esi
call fcn.0043d2f3
lea eax, [ebp - 4]
push 2
push eax
mov ecx, esi
call fcn.0043d2f3
movzx eax, word [ebp - 4]
push eax
mov ecx, esi
push dword [ebp + 0x10]
call fcn.0043d2f3
movzx edi, word [ebp - 4]
mov eax, dword [esi]
xor ecx, ecx
mov cl, byte [ebp - 3]
sub eax, edi
add eax, dword [esi + 4]
xor cl, byte [ebp - 4]
xor edx, edx
test edi, edi
jle 0x43d3d4
mov bl, byte [edx + eax]
not bl
xor bl, cl
mov byte [edx + eax], bl
inc edx
movzx edi, word [ebp - 4]
cmp edx, edi
jl 0x43d3c1
movzx eax, byte [ebp + 0xc]
dec eax
cmp eax, 9
ja case.0x43d3e2.8
jmp dword [eax*4 + 0x43d529]
push 4
lea ecx, [ebp + 0x14]
pop eax
push eax
push ecx
mov dword [ebp + 0x10], eax
push eax
lea eax, [ebp + 0x10]
jmp 0x43d43e
push 1
pop eax
mov dword [ebp + 0x10], eax
push eax
lea eax, [ebp + 0x14]
push eax
push 4
lea eax, [ebp + 0x10]
jmp 0x43d43e
push 2
pop eax
mov dword [ebp + 0x10], eax
push eax
lea eax, [ebp + 0x14]
push eax
push 4
lea eax, [ebp + 0x10]
jmp 0x43d43e
push 4
lea ecx, [ebp + 0x14]
pop eax
push eax
push ecx
mov dword [ebp + 0x10], eax
push eax
lea eax, [ebp + 0x10]
jmp 0x43d43e
push 4
lea ecx, [ebp + 0x14]
pop eax
push eax
push ecx
mov dword [ebp + 0x10], eax
push eax
lea eax, [ebp + 0x10]
push eax
mov ecx, esi
call fcn.0043d2f3
mov ecx, eax
call fcn.0043d2f3
jmp case.0x43d3e2.8
mov eax, dword [ebp + 0x14]
push 4
mov ecx, esi
mov ebx, dword [eax - 8]
lea eax, [ebp + 0x10]
push eax
mov dword [ebp + 0x10], ebx
call fcn.0043d2f3
mov edx, dword [ebp + 0x14]
mov ecx, eax
push dword [edx - 8]
push edx
call fcn.0043d2f3
mov eax, dword [esi]
xor ecx, ecx
sub eax, ebx
mov cl, bh
add eax, dword [esi + 4]
xor cl, bl
xor esi, esi
test ebx, ebx
jle case.0x43d3e2.8
mov dl, byte [esi + eax]
not dl
xor dl, cl
mov byte [esi + eax], dl
inc esi
cmp esi, ebx
jl 0x43d48d
jmp case.0x43d3e2.8
mov eax, dword [ebp + 0x14]
and dword [ebp + 8], 0
and dword [ebp + 0x10], 0
lea edx, [ebp + 8]
mov ecx, dword [eax]
push edx
lea edx, [ebp + 0x10]
push edx
push eax
call dword [ecx + 0x74]
mov eax, dword [ebp + 0x10]
push 4
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
mov ecx, esi
call fcn.0043d2f3
push dword [ebp + 0x10]
mov ecx, eax
push dword [ebp + 8]
call fcn.0043d2f3
push dword [ebp + 8]
jmp 0x43d51e
mov eax, dword [ebp + 0x14]
and dword [ebp + 8], 0
and dword [ebp + 0x10], 0
lea edx, [ebp + 8]
mov ecx, dword [eax]
push edx
lea edx, [ebp + 0x10]
push edx
push eax
call dword [ecx + 0xb8]
mov eax, dword [ebp + 0x10]
push 4
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
mov ecx, esi
call fcn.0043d2f3
push dword [ebp + 0x10]
mov ecx, eax
push dword [ebp + 8]
call fcn.0043d2f3
push dword [ebp + 8]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4477c9
Capabilities:
Set socket configuration

Disassembly:
mov eax, 0x4e00e9
call fcn.00471450
mov eax, 0x2008
call fcn.004714c0
push ebx
push edi
push dword [ebp + 0x14]
mov edi, ecx
lea ecx, [ebp + 0x14]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [ebp + 0xc]
xor ebx, ebx
add eax, 0xa
mov dword [ebp - 4], ebx
cmp eax, 0x2000
jle 0x447832
push 8
call sub.MFC42.DLL_operatornew
pop ecx
mov ecx, eax
mov dword [ebp + 0x10], ecx
cmp ecx, ebx
mov byte [ebp - 4], 1
je 0x44781c
push 1
call sub.MFC42.DLL_CException::CException_1
jmp 0x44781e
xor eax, eax
mov byte [ebp - 4], bl
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
push 0x52ac00
push eax
call sub.MSVCRT.dll__CxxThrowException
push esi
mov byte [ebp - 0x2014], bl
push dword [ebp + 0x14]
mov byte [ebp - 0x2013], bl
mov byte [ebp - 0x2012], bl
call sub.WSOCK32.dll_inet_addr
cmp eax, 0xffffffff
mov dword [ebp - 0x14], eax
jne 0x44787e
mov eax, dword [ebp + 0x14]
mov byte [ebp - 0x2011], 3
mov ebx, dword [eax - 8]
push ebx
push eax
lea eax, [ebp - 0x200f]
mov byte [ebp - 0x2010], bl
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
lea esi, [ebx + 5]
jmp 0x44789d
lea eax, [ebp - 0x14]
push 4
push eax
lea eax, [ebp - 0x2010]
push eax
mov byte [ebp - 0x2011], 1
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push 8
pop esi
push dword [ebp + 0x10]
call sub.WSOCK32.dll_htons
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push 2
push eax
lea eax, [ebp + esi - 0x2014]
push eax
call sub.MSVCRT.dll_memcpy
push dword [ebp + 0xc]
inc esi
inc esi
push dword [ebp + 8]
lea eax, [ebp + esi - 0x2014]
push eax
call sub.MSVCRT.dll_memcpy
mov eax, dword [edi + 0x58]
add esp, 0x18
add esi, dword [ebp + 0xc]
mov ecx, edi
push dword [ebp + 0x18]
push eax
lea eax, [ebp - 0x2014]
push dword [edi + 0x5c]
push esi
push eax
call sub.MFC42.DLL_CAsyncSocket::SendTo
cmp eax, esi
pop esi
je 0x447904
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x447913
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x14
Function at 0x44aaa0
Capabilities:
Resolve dns
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
push 0x40
lea edi, [esi + 0x1c]
push ebx
push edi
call sub.MSVCRT.dll_memset
lea eax, [esi + 0x9c]
push 0x40
push ebx
push eax
call sub.MSVCRT.dll_memset
lea eax, [esi + 0x5c]
push 0x40
push ebx
push eax
call sub.MSVCRT.dll_memset
mov eax, dword [ebp + 0x10]
add esp, 0x24
cmp eax, ebx
mov word [esi + 0xdc], bx
mov dword [esi + 0xe0], ebx
je 0x44aaf9
cmp byte [eax], bl
je 0x44aaf9
push 0x3f
push eax
push edi
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
mov eax, dword [ebp + 0x14]
cmp eax, ebx
je 0x44ab17
cmp byte [eax], bl
je 0x44ab17
push 0x3f
push eax
lea eax, [esi + 0x9c]
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
mov eax, dword [ebp + 0x18]
cmp eax, ebx
je 0x44ab32
cmp byte [eax], bl
je 0x44ab32
push 0x3f
push eax
lea eax, [esi + 0x5c]
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
mov edi, dword [ebp + 8]
cmp edi, ebx
je 0x44aba3
cmp byte [edi], bl
je 0x44aba3
push edi
call sub.MSVCRT.dll_strlen
pop ecx
xor ecx, ecx
cmp eax, ebx
jle 0x44ab61
mov dl, byte [ecx + edi]
cmp dl, 0x39
jg 0x44ab57
cmp dl, 0x30
jge 0x44ab5c
cmp dl, 0x2e
jne 0x44ab6f
inc ecx
cmp ecx, eax
jl 0x44ab4a
push edi
call sub.WSOCK32.dll_inet_addr
mov dword [esi + 0xe0], eax
jmp 0x44ab8f
push edi
call sub.WSOCK32.dll_gethostbyname
cmp eax, ebx
je 0x44aba3
mov eax, dword [eax + 0xc]
push 4
push dword [eax]
lea eax, [esi + 0xe0]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push dword [ebp + 0xc]
call sub.WSOCK32.dll_htons
push 1
mov word [esi + 0xdc], ax
pop eax
jmp 0x44aba5
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x14
Function at 0x44bc4a
Capabilities:
Get process heap force flags

Disassembly:
mov eax, 0x4e0a5b
call fcn.00471450
sub esp, 0x9c
push ebx
push esi
lea eax, [ebp - 0x24]
push edi
mov esi, ecx
push eax
call fcn.0044c076
lea eax, [ebp - 0x24]
push 0x10
push eax
lea eax, [esi + 0x94]
push eax
call sub.MSVCRT.dll_memcpy
mov eax, dword [esi + 0x88]
mov edi, dword [esi + 0x168]
mov dword [ebp - 0x14], eax
lea eax, [esi + 0x16c]
push 0x18
push eax
lea eax, [ebp - 0xa8]
push eax
call sub.MSVCRT.dll_memcpy
push 0x36
call sub.MFC42.DLL_operatornew
add esp, 0x1c
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x10], eax
push 0x400
call sub.MFC42.DLL_CMemFile::CMemFile
xor ebx, ebx
lea eax, [ebp - 0x4c]
push ebx
push 0x1000
push ebx
push eax
lea ecx, [ebp - 0x90]
mov dword [ebp - 4], ebx
call sub.MFC42.DLL_CArchive::CArchive
push 0x34
mov byte [ebp - 4], 1
call sub.WSOCK32.dll_htons
push eax
lea ecx, [ebp - 0x90]
call fcn.0044cf22
push 1
call sub.WSOCK32.dll_htons
push eax
lea ecx, [ebp - 0x90]
call fcn.0044cf22
push 1
call sub.WSOCK32.dll_htons
push eax
lea ecx, [ebp - 0x90]
call fcn.0044cf22
push edi
call sub.WSOCK32.dll_htonl
push eax
lea ecx, [ebp - 0x90]
call fcn.0044cf4c
lea eax, [ebp - 0xa8]
push 0x18
push eax
lea ecx, [ebp - 0x90]
call sub.MFC42.DLL_CArchive::Write
push dword [ebp - 0x14]
call sub.WSOCK32.dll_htonl
push eax
lea ecx, [ebp - 0x90]
call fcn.0044cf4c
lea eax, [ebp - 0x24]
push 0x10
push eax
lea ecx, [ebp - 0x90]
call sub.MFC42.DLL_CArchive::Write
lea ecx, [ebp - 0x90]
call sub.MFC42.DLL_CArchive::Close
push ebx
push ebx
lea ecx, [ebp - 0x4c]
mov eax, dword [ebp - 0x4c]
call dword [eax + 0x30]
push 0x36
lea ecx, [ebp - 0x4c]
push dword [ebp - 0x10]
call sub.MFC42.DLL_CMemFile::Read
lea ecx, [ebp - 0x4c]
call sub.MFC42.DLL_CMemFile::Close
mov eax, dword [esi + 0xcc]
lea ecx, [esi + 0xcc]
push ebx
push 0x36
push dword [ebp - 0x10]
call dword [eax + 0x20]
push dword [ebp - 0x10]
call sub.MFC42.DLL_operatordelete
pop ecx
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x90]
call fcn.004713d6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.004713d0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret