Function at 0x410000
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x417770
push eax
mov dword fs:[0], esp
sub esp, 0x170
push ebx
push ebp
mov ebp, dword [esp + 0x188]
push esi
push edi
cmp dword [ebp], 0
je 0x410a23
mov eax, dword [0x41f474]
cmp eax, 1
jne 0x4100eb
mov eax, dword [0x41f478]
push str.SendEncryptedData
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x410097
push eax
push eax
push 0x41e800
call sub.MFC42.DLL_AfxMessageBox
call sub.MFC42.DLL_AfxGetThread
test eax, eax
je 0x410071
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x410073
xor eax, eax
mov eax, dword [eax + 0x20]
push 0
push 0
push 0x12
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov ecx, dword [0x41f478]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
jmp 0x410860
mov edx, dword [ebp]
push edx
push 0x41f428
push 0x41f408
call eax
test eax, eax
je 0x41085b
push 0
push 0
push 0x41e800
call sub.MFC42.DLL_AfxMessageBox
call sub.MFC42.DLL_AfxGetThread
test eax, eax
je 0x4100cf
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x4100d1
xor eax, eax
mov eax, dword [eax + 0x20]
push 0
push 0
push 0x10
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
call fcn.00410c70
jmp 0x41085b
cmp eax, 3
jne 0x4101ec
mov ecx, dword [0x41f470]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [esp + 0x40]
push ecx
push edx
call esi
mov eax, dword [0x41f46c]
lea ecx, [esp + 0x60]
push eax
push ecx
call esi
push str.PrxyAuth.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
jne 0x41013a
push eax
push 1
push 0x41e7d4
call sub.MFC42.DLL_AfxMessageBox
xor eax, eax
jmp 0x410860
push str.LookupUser
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea edx, [esp + 0x60]
mov dword [0x41f3fc], eax
push edx
mov edx, dword [ebp]
lea ecx, [esp + 0x44]
push ecx
push edx
call eax
dec eax
cmp eax, 0x1f
ja case.0x410169.1
xor ecx, ecx
mov cl, byte [eax + 0x410a44]
jmp dword [ecx*4 + 0x410a2c]
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x41085b
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0
push 0
push 0x41e7b4
call sub.MFC42.DLL_AfxMessageBox
xor eax, eax
jmp 0x410860
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0
push 0
push 0x41e79c
call sub.MFC42.DLL_AfxMessageBox
xor eax, eax
jmp 0x410860
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0
push 0
push 0x41e784
call sub.MFC42.DLL_AfxMessageBox
xor eax, eax
jmp 0x410860
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0
push 0
push 0x41e754
call sub.MFC42.DLL_AfxMessageBox
xor eax, eax
jmp 0x410860
cmp eax, 0x12
jne 0x410244
push str.cjconnector.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
jne 0x410216
push eax
push 1
push 0x41e7d4
call sub.MFC42.DLL_AfxMessageBox
xor eax, eax
jmp 0x410860
push str.ConnectorKey
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x41f400], eax
mov edx, dword [ebp]
push edx
call eax
cmp eax, 1
push esi
je 0x410171
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
jmp 0x410860
cmp eax, 6
jne 0x4102a5
mov eax, dword [0x41f470]
mov edi, dword [eax - 8]
mov esi, edi
and esi, 0xffff
lea ebx, [esi + 2]
push ebx
call sub.MFC42.DLL_operatornew
mov ebp, eax
mov ecx, esi
mov edx, ecx
mov eax, dword [esp + 0x194]
mov word [ebp], di
mov esi, dword [0x41f470]
lea edi, [ebp + 2]
add esp, 4
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push 4
and ecx, 3
push ebx
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [eax]
push ebp
push ecx
call sub.WSOCK32.dll_send
push ebp
call sub.MFC42.DLL_operatordelete
add esp, 4
jmp 0x41085b
cmp eax, 0xd
jne 0x4102de
push 0x41e730
lea edx, [esp + 0x18]
push 0x41f470
push edx
call sub.MFC42.DLL_operator
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp]
push 0
push 0xb
push eax
push ecx
call sub.WSOCK32.dll_send
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
jmp 0x41085b
cmp eax, 9
jne 0x4105bd
mov edx, dword [0x41f394]
lea ecx, [esp + 0x1c]
push edx
call fcn.00415a40
lea ecx, [esp + 0x1c]
mov dword [esp + 0x188], 0
call sub.MFC42.DLL_CString::MakeLower
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::TrimRight
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
mov eax, dword [eax - 8]
add eax, 0xfffffffb
push eax
push ecx
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::Right
lea edx, [esp + 0x14]
push 0x41e054
push edx
lea ecx, [esp + 0x20]
mov byte [esp + 0x190], 1
call sub.MFC42.DLL_CString::SpanExcluding
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x2c]
mov byte [esp + 0x188], 2
mov eax, dword [eax - 8]
mov esi, dword [ecx - 8]
sub eax, esi
lea ecx, [esp + 0x18]
dec eax
push eax
push edx
call sub.MFC42.DLL_CString::Right
lea eax, [esp + 0x30]
push 0x41e054
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x190], 3
call sub.MFC42.DLL_CString::SpanExcluding
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov byte [esp + 0x188], 4
mov eax, dword [ecx - 8]
mov esi, dword [edx - 8]
sub eax, esi
lea ecx, [esp + 0x18]
dec eax
push eax
lea eax, [esp + 0x38]
push eax
call sub.MFC42.DLL_CString::Right
lea ecx, [esp + 0x38]
push 0x41e054
mov bl, 5
push ecx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x190], bl
call sub.MFC42.DLL_CString::SpanExcluding
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov byte [esp + 0x188], 6
mov eax, dword [edx - 8]
mov edx, dword [ecx - 8]
sub eax, edx
lea edx, [esp + 0x20]
dec eax
lea ecx, [esp + 0x18]
push eax
push edx
call sub.MFC42.DLL_CString::Right
lea eax, [esp + 0x24]
push 0x41e054
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x190], 7
call sub.MFC42.DLL_CString::SpanExcluding
or ecx, 0xffffffff
mov edi, str.KwGwMGS
xor eax, eax
lea edx, [esp + 0x80]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, edx
lea edx, [esp + 0x88]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
mov edi, str.CONNECT
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, edx
lea edx, [esp + 0x90]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x14]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0xa0]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x30]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0xb0]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x38]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x24]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xc0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0
mov eax, ecx
mov esi, edi
mov edi, edx
mov edx, dword [ebp]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0x100
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x88]
push ecx
push edx
call sub.WSOCK32.dll_send
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x188], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov byte [esp + 0x188], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x188], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x188], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x188], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x188], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x188], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov dword [esp + 0x188], 0xffffffff
call sub.MFC42.DLL_CString::CString
jmp 0x41085b
cmp eax, 0xa
je 0x4105d0
cmp eax, 0xc
je 0x4105d0
cmp eax, 0x14
jne 0x41085b
xor ebp, ebp
push ebp
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [esp + 0x10], ebp
lea eax, [esp + 0x28]
mov ebx, 8
push eax
push 0x41e450
push 7
push ebp
push 0x41e440
mov dword [esp + 0x19c], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebp
jl 0x410639
mov ecx, dword [esp + 0x28]
push ecx
call dword [sym.imp.ole32.dll_OleRun]
mov esi, eax
cmp esi, ebp
jl 0x41062b
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x10]
push ecx
push 0x41e430
mov edx, dword [eax]
push eax
call dword [edx]
mov esi, eax
mov eax, dword [esp + 0x28]
push eax
mov edx, dword [eax]
call dword [edx + 8]
cmp esi, ebp
jge 0x41065b
push ebp
push ebp
push 0x41e40c
call sub.MFC42.DLL_AfxMessageBox
mov eax, dword [esp + 0x10]
mov dword [esp + 0x188], 0xffffffff
cmp eax, ebp
jmp 0x410a1b
mov edi, dword [0x41f394]
push 0xc
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
cmp esi, ebp
mov byte [esp + 0x188], 9
je 0x4106a3
push edi
mov dword [esi + 4], ebp
mov dword [esi + 8], 1
call fcn.0041629d
cmp eax, ebp
mov dword [esi], eax
jne 0x4106a5
cmp edi, ebp
je 0x4106a5
push 0x8007000e
call fcn.004161f0
jmp 0x4106a5
xor esi, esi
cmp esi, ebp
mov byte [esp + 0x188], bl
mov dword [esp + 0x20], esi
jne 0x4106be
push 0x8007000e
call fcn.004161f0
cmp esi, ebp
mov byte [esp + 0x188], 0xa
je 0x4106f3
mov eax, dword [esi]
cmp eax, ebp
je 0x4106f3
push eax
call dword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
mov edx, dword [esi]
push eax
push edx
call dword [sym.imp.OLEAUT32.dll_DllRegisterServer]
mov ebx, eax
cmp ebx, ebp
jne 0x4106f5
push 0x8007000e
call fcn.004161f0
jmp 0x4106f5
xor ebx, ebx
push ecx
mov dword [esp + 0x28], esp
mov ebp, esp
push 0xc
call sub.MFC42.DLL_operatornew
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
test edi, edi
mov byte [esp + 0x18c], 0xb
je 0x410743
push ebx
mov dword [edi + 4], 0
mov dword [edi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
test eax, eax
mov dword [edi], eax
jne 0x410745
test ebx, ebx
je 0x410745
push 0x8007000e
call fcn.004161f0
jmp 0x410745
xor edi, edi
test edi, edi
mov byte [esp + 0x18c], 0xa
mov dword [ebp], edi
jne 0x41075e
push 0x8007000e
call fcn.004161f0
lea ecx, [esp + 0x14]
mov byte [esp + 0x18c], 0xa
call fcn.00410ca0
mov ecx, eax
call fcn.0040fd80
lea eax, [esp + 0x3c]
push 0x2710
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
xor ebx, ebx
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x4c], ebx
call fcn.00410ca0
mov ecx, eax
call fcn.00410bd0
mov edi, dword [esp + 0x19c]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x194], 0xa
mov edx, dword [edi]
push edx
call fcn.00410ca0
mov ecx, eax
call fcn.00410b20
mov eax, dword [esp + 0x10]
cmp eax, ebx
jne 0x4107d6
push 0x80004003
call fcn.004161f0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x10], ebx
lea eax, [edx - 1]
cmp eax, 0xd
ja case.default.0x4107ec
jmp dword [eax*4 + 0x410a64]
mov eax, dword [esp + 0x194]
mov ecx, dword [edi]
push 0x31
push 0x464
push eax
push ecx
call sub.WSOCK32.dll_WSAAsyncSelect
cmp esi, ebx
je 0x410842
lea edx, [esi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x410842
mov eax, dword [esi]
cmp eax, ebx
je 0x410829
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x410839
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0x10]
mov dword [esp + 0x188], 0xffffffff
cmp eax, ebx
je 0x41085b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, 1
mov ecx, dword [esp + 0x180]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x17c
ret
push ebx
push ebx
push str.Logon_Fail
call sub.MFC42.DLL_AfxMessageBox
cmp esi, ebx
je 0x4108c2
jmp 0x4108bb
push ebx
push ebx
push str.PID_Not_Found
call sub.MFC42.DLL_AfxMessageBox
cmp esi, ebx
je 0x410a0a
mov ecx, esi
call fcn.00410aa0
jmp 0x410a0a
push ebx
push ebx
push str.LID_Not_Found
call sub.MFC42.DLL_AfxMessageBox
cmp esi, ebx
je 0x4108c2
mov ecx, esi
call fcn.00410aa0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x188], 0xffffffff
cmp eax, ebx
je 0x410a23
mov edx, dword [eax]
push eax
call dword [edx + 8]
xor eax, eax
jmp 0x410860
push ebx
push ebx
push 0x41e6e8
call sub.MFC42.DLL_AfxMessageBox
cmp esi, ebx
je 0x410a0a
lea eax, [esi + 8]
push eax
jmp 0x410933
push ebx
push ebx
push str.Server_Not_Found
jmp 0x410922
push ebx
push ebx
push str.Incorrect_Password
jmp 0x410922
push ebx
push ebx
push 0x41e6ac
jmp 0x410922
push ebx
push ebx
push 0x41e6a0
call sub.MFC42.DLL_AfxMessageBox
cmp esi, ebx
je 0x410a0a
lea edx, [esi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x410a0a
push 1
mov ecx, esi
call fcn.0040fc60
jmp 0x410a0a
push ebx
push ebx
push 0x41e694
call sub.MFC42.DLL_AfxMessageBox
cmp esi, ebx
je 0x4109a6
lea edx, [esi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4109a6
jmp 0x410996
push ebx
push ebx
push 0x41e684
jmp 0x410956
push ebx
push ebx
push 0x41e674
call sub.MFC42.DLL_AfxMessageBox
cmp esi, ebx
je 0x4109a6
lea edx, [esi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4109a6
mov ecx, esi
call fcn.00410af0
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0x10]
mov dword [esp + 0x188], 0xffffffff
cmp eax, ebx
je 0x410a23
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
jmp 0x410860
push ebx
push ebx
push 0x41e660
call sub.MFC42.DLL_AfxMessageBox
cmp esi, ebx
je 0x410a0a
lea edx, [esi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x410a0a
mov eax, dword [esi]
cmp eax, ebx
je 0x4109f1
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x410a01
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0x10]
mov dword [esp + 0x188], 0xffffffff
cmp eax, ebx
je 0x410a23
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
jmp 0x410860