Function at 0x11c9e250
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x11d1bc26
push eax
mov dword fs:[0], esp
sub esp, 0xcc
push ebx
push ebp
push esi
mov esi, dword [esp + 0xf4]
push edi
mov edi, dword [esp + 0xf4]
xor ebp, ebp
cmp edi, ebp
je 0x11c9faf1
cmp esi, ebp
jle 0x11c9faf1
mov eax, dword [0x11d49ee0]
cmp eax, ebp
je 0x11c9e2ac
push str.New_connecttion_come_connectEx___
push str.TMailHook_DBG
push 4
call fcn.11c854f0
add esp, 0xc
push 0xfff7
lea ecx, [esp + 0x4c]
call fcn.11cb0040
push esi
lea eax, [esp + 0x18]
push edi
lea ecx, [esp + 0x18]
push eax
push ecx
mov dword [esp + 0xf4], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], ebp
call fcn.11c9e0a0
add esp, 0x10
cmp eax, ebp
mov dword [esp + 0x54], ebp
jne 0x11c9e42c
lea ecx, [esp + 0x48]
call fcn.11cb0100
mov esi, dword [esp + 0xec]
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x20], ebp
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x24]
mov ebx, dword [esi + 0x1c]
mov dword [esp + 0x38], edx
mov dword [esp + 0x1c], eax
lea edx, [esp + 0x3c]
lea eax, [esp + 0x20]
push edx
push eax
push ebx
mov dword [esp + 0x48], ebp
mov dword [esp + 0x3c], ebp
call fcn.11cafc20
mov eax, dword [esp + 0x48]
add esp, 0x10
cmp eax, ebp
je 0x11c9e396
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x2c]
mov dword [esi + 0x1c], ecx
mov ecx, dword [esp + 0x108]
mov dword [esi + 0x24], edx
mov edx, dword [esp + 0x104]
push ecx
mov ecx, dword [esp + 0x104]
mov ebp, dword [esi + 0xc]
push edx
mov edx, dword [esp + 0x104]
push ecx
mov ecx, dword [esp + 0x104]
push edx
mov edx, dword [esp + 0x100]
push ecx
push edi
push edx
push esi
mov dword [esi + 0x20], eax
call eax
mov dword [esi + 0xc], ebp
mov dword [esi + 0x1c], ebx
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x18]
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], ecx
xor ebp, ebp
jmp 0x11c9e3f9
mov ebx, dword [esi + 0x18]
cmp ebx, ebp
je 0x11c9e3f9
mov eax, dword [esi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edx, dword [esp + 0x108]
mov eax, dword [esp + 0x104]
mov ecx, dword [esp + 0x100]
push edx
mov edx, dword [esp + 0x100]
push eax
mov eax, dword [esp + 0x100]
push ecx
mov ecx, dword [esp + 0xfc]
push edx
push eax
push edi
push ecx
call ebx
mov dword [esi + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 8]
test eax, 0x800000
je 0x11c9e3f9
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esi + 0x28], eax
cmp dword [0x11d49ee0], ebp
je 0x11c9fad3
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
xor edx, edx
push eax
mov dx, word [edi]
push ecx
push edx
push str.TMAILHOOK::connectFunc_1...addr_family__d___bRet__d___errno__d__connectEx_
push str.connectExFunc
push 4
call fcn.11c854f0
add esp, 0x18
jmp 0x11c9fad3
call fcn.11ca5490
push esi
mov dword [esp + 0x24], ebp
call fcn.11cc6630
add esp, 4
cmp eax, ebp
mov dword [esp + 0x24], eax
jne 0x11c9e58d
lea ecx, [esp + 0x48]
call fcn.11cb0100
mov esi, dword [esp + 0xec]
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x20], ebp
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
mov ebx, dword [esi + 0x1c]
mov dword [esp + 0x38], eax
mov dword [esp + 0x1c], ecx
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x20]
push eax
push ecx
push ebx
mov dword [esp + 0x48], ebp
mov dword [esp + 0x3c], ebp
call fcn.11cafc20
mov eax, dword [esp + 0x48]
add esp, 0x10
cmp eax, ebp
je 0x11c9e4f7
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
mov dword [esi + 0x1c], edx
mov edx, dword [esp + 0x108]
mov dword [esi + 0x24], ecx
mov ecx, dword [esp + 0x104]
push edx
mov edx, dword [esp + 0x104]
mov ebp, dword [esi + 0xc]
push ecx
mov ecx, dword [esp + 0x104]
push edx
mov edx, dword [esp + 0x104]
push ecx
mov ecx, dword [esp + 0x100]
push edx
push edi
push ecx
push esi
mov dword [esi + 0x20], eax
call eax
mov dword [esi + 0xc], ebp
mov dword [esi + 0x1c], ebx
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x18]
mov dword [esi + 0x20], edx
mov dword [esi + 0x24], eax
xor ebp, ebp
jmp 0x11c9e55a
mov ebx, dword [esi + 0x18]
cmp ebx, ebp
je 0x11c9e55a
mov eax, dword [esi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [esp + 0x108]
mov edx, dword [esp + 0x104]
mov eax, dword [esp + 0x100]
push ecx
mov ecx, dword [esp + 0x100]
push edx
mov edx, dword [esp + 0x100]
push eax
mov eax, dword [esp + 0xfc]
push ecx
push edx
push edi
push eax
call ebx
mov dword [esi + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 8]
test eax, 0x800000
je 0x11c9e55a
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esi + 0x28], eax
cmp dword [0x11d49ee0], ebp
je 0x11c9fad3
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
push eax
push ecx
xor ecx, ecx
mov cx, word [edi]
push ecx
push str.TMAILHOOK::connectFunc_2...addr_family__d___bRet__d___errno__d__connectEx_
push str.connectExFunc
push 4
call fcn.11c854f0
add esp, 0x18
jmp 0x11c9fad3
mov ecx, esi
mov esi, edi
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x64]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0xf4]
mov dword [esp + 0x68], ebp
push ecx
call fcn.11c9be90
mov esi, dword [sym.imp.WS2_32.dll_ntohs]
mov dword [esp + 0x30], eax
mov eax, dword [0x11d49ee0]
add esp, 8
cmp eax, ebp
je 0x11c9e5f3
mov edx, dword [esp + 0x14]
push edx
call esi
and eax, 0xffff
push eax
mov eax, dword [esp + 0x14]
push eax
push str.TMAILHOOK::IP:_0x_lx__Port:__d_connectEx_
push str.TMailHook_DBG
push 4
call fcn.11c854f0
add esp, 0x14
mov ebx, dword [sym.imp.WS2_32.dll_ntohl]
mov ecx, 9
xor eax, eax
lea edi, [esp + 0xb8]
mov dword [esp + 0xb4], ebp
mov dword [esp + 0x58], ebp
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x38], ebp
push ecx
mov dword [esp + 0x38], ebp
call ebx
push eax
mov ecx, 0x11d443a8
call fcn.11c96dc0
mov edi, eax
mov eax, dword [0x11d445f4]
cmp eax, ebp
mov dword [esp + 0x2c], edi
mov dword [esp + 0x3c], ebp
jne 0x11c9e651
cmp dword [0x11d445e4], ebp
jne 0x11c9e651
cmp dword [0x11d445f8], ebp
je 0x11c9e696
mov edx, dword [esp + 0x14]
push edx
call esi
push eax
mov eax, dword [esp + 0x14]
push eax
call ebx
push eax
mov ecx, 0x11d442d0
call fcn.11c900b0
test eax, eax
je 0x11c9e696
mov eax, dword [0x11d49ee0]
mov dword [esp + 0x3c], 1
cmp eax, ebp
je 0x11c9e696
push 1
push str.IsInTAccCtrllist___d
push str.TAccCtrl
push 4
call fcn.11c854f0
add esp, 0x10
cmp dword [0x11d44600], ebp
je 0x11c9e70e
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
lea edx, [esp + 0x20]
push ecx
push edx
push ebp
push eax
mov dword [esp + 0x28], ebp
call esi
push eax
mov ecx, dword [esp + 0x20]
push ecx
call ebx
push eax
mov ecx, 0x11d44418
mov edx, dword [esp + 0x104]
push edx
call fcn.11c977c0
test eax, eax
je 0x11c9eb47
cmp dword [0x11d49ee0], ebp
je 0x11c9ef90
mov eax, dword [esp + 0x14]
push eax
call esi
and eax, 0xffff
mov ecx, dword [esp + 0x10]
push eax
push ecx
push str.CCallback::connectEx_NetSecurityCtrl_fobidden_IP:_0x_lx__Port:__d
push str.NetSecurityCtrl
push 4
call fcn.11c854f0
add esp, 0x14
jmp 0x11c9ef90
cmp dword [0x11d445f4], ebp
je 0x11c9ea78
mov eax, dword [0x11d441b4]
cmp eax, ebp
mov eax, dword [0x11d443f8]
je 0x11c9e90f
mov edx, eax
and edx, 1
cmp dl, 1
je 0x11c9e90f
cmp edi, ebp
jne 0x11c9e86a
mov eax, dword [esp + 0x14]
push eax
call esi
push eax
mov ecx, dword [esp + 0x14]
push ecx
call ebx
push eax
mov ecx, 0x11d441e8
call fcn.11c8c050
test eax, eax
jne 0x11c9e86a
mov edx, dword [esp + 0x14]
push edx
call esi
push eax
mov eax, dword [esp + 0x14]
push eax
call ebx
push eax
mov ecx, 0x11d443a8
call fcn.11c95f00
test eax, eax
jne 0x11c9e86a
push str.127.0.0.1
call dword [sym.imp.WS2_32.dll_inet_addr]
mov ecx, dword [esp + 0x10]
cmp eax, ecx
je 0x11c9e86a
push ecx
call ebx
push eax
call fcn.11ca5570
add esp, 4
test eax, eax
jne 0x11c9e86a
cmp dword [esp + 0x3c], ebp
jne 0x11c9e86a
cmp dword [0x11d49ee0], ebp
je 0x11c9ef90
mov ecx, dword [esp + 0x14]
push ecx
call esi
push eax
mov edx, dword [esp + 0x14]
push edx
call ebx
push eax
mov ecx, 0x11d441e8
call fcn.11c8c050
push eax
push str.IsInBlacklist___d
push str.Security_Proxy
push 4
call fcn.11c854f0
mov eax, dword [0x11d49ee0]
add esp, 0x10
cmp eax, ebp
je 0x11c9ef90
mov eax, dword [esp + 0x14]
push eax
call esi
push eax
mov ecx, dword [esp + 0x14]
push ecx
call ebx
push eax
mov ecx, 0x11d443a8
call fcn.11c95f00
push eax
push str.IsInWhiteList___d
push str.Security_Proxy
push 4
call fcn.11c854f0
mov eax, dword [0x11d49ee0]
add esp, 0x10
cmp eax, ebp
je 0x11c9ef90
mov edx, dword [esp + 0x14]
push edx
call esi
and eax, 0xffff
push eax
mov eax, dword [esp + 0x14]
push eax
push str.Security_Proxy_003_IP:_0x_lx__Port:__d
push str.Security_Proxy
push 4
call fcn.11c854f0
add esp, 0x14
jmp 0x11c9ef90
cmp dword [0x11d49ee0], ebp
je 0x11c9eb47
mov ecx, dword [esp + 0x14]
push ecx
call esi
push eax
mov edx, dword [esp + 0x14]
push edx
call ebx
push eax
mov ecx, 0x11d441e8
call fcn.11c8c050
push eax
push str.IsInBlacklist___d
push str.Security_Proxy
push 4
call fcn.11c854f0
mov eax, dword [0x11d49ee0]
add esp, 0x10
cmp eax, ebp
je 0x11c9eb47
mov eax, dword [esp + 0x14]
push eax
call esi
push eax
mov ecx, dword [esp + 0x14]
push ecx
call ebx
push eax
mov ecx, 0x11d443a8
call fcn.11c95f00
push eax
push str.IsInWhiteList___d
push str.Security_Proxy
push 4
call fcn.11c854f0
mov eax, dword [0x11d49ee0]
add esp, 0x10
cmp eax, ebp
je 0x11c9eb47
mov edx, dword [esp + 0x14]
push edx
call esi
and eax, 0xffff
push eax
mov eax, dword [esp + 0x14]
push eax
push str.Security_Proxy_004_IP:_0x_lx__Port:__d
push str.Security_Proxy
jmp 0x11c9eb3d
cmp dword [0x11d441ec], ebp
je 0x11c9e982
and eax, 1
cmp al, 1
je 0x11c9e982
mov ecx, dword [esp + 0x14]
push ecx
call esi
push eax
mov edx, dword [esp + 0x14]
push edx
call ebx
push eax
mov ecx, 0x11d441e8
call fcn.11c8c050
test eax, eax
je 0x11c9eb47
cmp edi, ebp
jne 0x11c9eb47
cmp dword [0x11d49ee0], ebp
je 0x11c9e969
push 0x576
push str.CCallback::connectExCallback:_line__lu__SetEncryption_
push 0x11d2e2f8
push 4
call fcn.11c854f0
add esp, 0x10
push 1
call fcn.11c850b0
add esp, 4
mov dword [0x11d445e8], eax
call fcn.11ca9a30
jmp 0x11c9eb47
cmp dword [0x11d443fc], ebp
je 0x11c9ea3e
cmp edi, ebp
jne 0x11c9ea32
mov eax, dword [esp + 0x14]
push eax
call esi
push eax
mov ecx, dword [esp + 0x14]
push ecx
call ebx
push eax
mov ecx, 0x11d441e8
call fcn.11c8c050
test eax, eax
je 0x11c9ea32
mov edx, dword [esp + 0x14]
push edx
call esi
push eax
mov eax, dword [esp + 0x14]
push eax
call ebx
push eax
mov ecx, 0x11d443a8
call fcn.11c95f00
test eax, eax
jne 0x11c9ea32
push str.127.0.0.1
call dword [sym.imp.WS2_32.dll_inet_addr]
mov ecx, dword [esp + 0x10]
cmp eax, ecx
je 0x11c9ea32
push ecx
call ebx
push eax
call fcn.11ca5570
add esp, 4
test eax, eax
jne 0x11c9ea32
cmp dword [esp + 0x3c], ebp
jne 0x11c9ea32
cmp dword [0x11d49ee0], ebp
je 0x11c9ef90
mov ecx, dword [esp + 0x14]
push ecx
call esi
and eax, 0xffff
mov edx, dword [esp + 0x10]
push eax
push edx
push str.Security_Proxy_005_IP:_0x_lx__Port:__d
push str.Security_Proxy
push 4
call fcn.11c854f0
add esp, 0x14
jmp 0x11c9ef90
cmp dword [0x11d443fc], ebp
jne 0x11c9eb47
cmp edi, ebp
je 0x11c9eb47
mov eax, dword [0x11d49ee0]
mov dword [esp + 0x2c], ebp
cmp eax, ebp
je 0x11c9eb47
mov eax, dword [esp + 0x14]
push eax
call esi
and eax, 0xffff
mov ecx, dword [esp + 0x10]
push eax
push ecx
push str.Security_Proxy_005_IP:_0x_lx__Port:__d_Set_bProtocolAnalysisIP_FALSE
push str.Security_Proxy
jmp 0x11c9eb3d
cmp dword [0x11d445e4], ebp
je 0x11c9eb47
mov eax, dword [0x11d441b4]
cmp eax, ebp
mov eax, dword [0x11d443f8]
je 0x11c9eaa0
mov edx, eax
and edx, 1
cmp dl, 1
jne 0x11c9eb47
cmp dword [0x11d441ec], ebp
je 0x11c9eb08
and eax, 1
cmp al, 1
je 0x11c9eb08
mov eax, dword [esp + 0x14]
push eax
call esi
push eax
mov ecx, dword [esp + 0x14]
push ecx
call ebx
push eax
mov ecx, 0x11d441e8
call fcn.11c8c050
test eax, eax
je 0x11c9eb47
cmp edi, ebp
jne 0x11c9eb47
cmp dword [0x11d49ee0], ebp
je 0x11c9eaf2
push 0x5aa
push str.CCallback::connectExCallback:_line__lu__SetEncryption_
push 0x11d2e2f8
push 4
call fcn.11c854f0
add esp, 0x10
push 1
call fcn.11c850b0
add esp, 4
mov dword [0x11d445e8], eax
call fcn.11ca9a30
jmp 0x11c9eb47
cmp dword [0x11d443fc], ebp
jne 0x11c9eb47
cmp edi, ebp
je 0x11c9eb47
mov eax, dword [0x11d49ee0]
mov dword [esp + 0x2c], ebp
cmp eax, ebp
je 0x11c9eb47
mov edx, dword [esp + 0x14]
push edx
call esi
and eax, 0xffff
push eax
mov eax, dword [esp + 0x14]
push eax
push str.CCallback::connectCallback_IP:_0x_lx__Port:__d_Set_bProtocolAnalysisIP_FALSE
push 0x11d2e2f8
push 4
call fcn.11c854f0
add esp, 0x14
push str.GlobalTEC_OCULAR__AGENT_V3_MUTEX_TMAILGATEWAY
push ebp
push 0x20000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov edi, dword [sym.imp.WS2_32.dll_htons]
cmp eax, ebp
je 0x11c9ef1d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x18]
lea edx, [esp + 0x1c]
mov eax, dword [esp + 0xf0]
push ecx
push edx
push 0x1008
push 0xffff
push eax
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], 4
call dword [sym.imp.WS2_32.dll_getsockopt]
cmp dword [0x11d49ee0], ebp
je 0x11c9ebd6
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
push ecx
push edx
call esi
and eax, 0xffff
mov ecx, dword [esp + 0xf4]
push eax
mov eax, dword [esp + 0x18]
push eax
push ecx
push str.TMAILHOOK::connectFunc:_New_Connect_come__SOCKET__d___IP_0x_lx___PORT__d___SOCKTYPE__d___TCP:1__UDP:2__connectEx_
push str.TMailHook_DBG
push 4
call fcn.11c854f0
add esp, 0x1c
cmp dword [esp + 0x1c], 1
jne 0x11c9f156
cmp dword [0x11d44600], ebp
jne 0x11c9efc0
cmp dword [0x11d441b4], ebp
jne 0x11c9ec0d
cmp dword [0x11d441ec], ebp
je 0x11c9ec92
cmp dword [0x11d445e8], ebp
je 0x11c9ec92
mov edx, dword [esp + 0x14]
push edx
call esi
push eax
mov eax, dword [esp + 0x14]
push eax
call ebx
push eax
mov ecx, 0x11d44310
call fcn.11c91350
test eax, eax
je 0x11c9ec92
push str.127.0.0.1
call dword [sym.imp.WS2_32.dll_inet_addr]
mov ecx, dword [esp + 0x10]
cmp eax, ecx
je 0x11c9ec4e
push ecx
call ebx
push eax
call fcn.11ca5570
add esp, 4
test eax, eax
je 0x11c9ec92
mov dword [esp + 0x34], 1
call fcn.11ca9a30
mov eax, dword [0x11d49ee0]
mov dword [esp + 0x38], 1
cmp eax, ebp
je 0x11c9ec92
mov ecx, dword [esp + 0x14]
push ecx
call esi
and eax, 0xffff
mov edx, dword [esp + 0x10]
push eax
push edx
push str.connectExFunc::IsInProxylist_IP:_0x_lx__Port:__d_Limit_Upload
push str.Proxy
push 4
call fcn.11c854f0
add esp, 0x14
mov eax, dword [esp + 0x14]
push eax
call esi
push eax
mov ecx, dword [esp + 0x14]
push ecx
call ebx
push eax
mov ecx, 0x11d44288
call fcn.11c8e8c0
push str.127.0.0.1
mov dword [esp + 0x5c], eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov ecx, dword [esp + 0x10]
cmp eax, ecx
je 0x11c9f0c0
push ecx
call ebx
push eax
call fcn.11ca5570
add esp, 4
test eax, eax
jne 0x11c9f0c0
cmp dword [0x11d441ec], ebp
je 0x11c9edd4
mov edx, dword [esp + 0x14]
push edx
call esi
and eax, 0xffff
push eax
call fcn.11ca4530
add esp, 4
test eax, eax
je 0x11c9ed0c
cmp dword [0x11d445e0], ebp
jne 0x11c9edcc
cmp dword [0x11d49ee0], ebp
je 0x11c9ed2e
mov eax, dword [0x11d441b4]
push eax
push str.g_GWGatewayProcess.m_bIsGatewayProcess__d_...._connectEx__r_n
push 0x11d2e2f8
push 1
call fcn.11c854f0
add esp, 0x10
cmp dword [0x11d441b4], ebp
jne 0x11c9ed66
mov ecx, dword [esp + 0x14]
push ecx
call esi
push eax
mov edx, dword [esp + 0x14]
push edx
call ebx
push eax
mov ecx, 0x11d441e8
call fcn.11c8c050
test eax, eax
jne 0x11c9ed5e
cmp dword [esp + 0x3c], ebp
je 0x11c9f052
cmp dword [0x11d441b4], ebp
je 0x11c9eda4
mov eax, dword [esp + 0x14]
push eax
call esi
push eax
mov ecx, dword [esp + 0x14]
push ecx
call ebx
push eax
mov ecx, 0x11d441e8
call fcn.11c8c050
test eax, eax
jne 0x11c9eda4
mov edx, dword [esp + 0x14]
push edx
call esi
push eax
mov ecx, 0x11d44408
call fcn.11c97560
test eax, eax
je 0x11c9eda4
cmp dword [esp + 0x3c], ebp
je 0x11c9f089
cmp dword [0x11d445e4], ebp
je 0x11c9ede6
mov eax, dword [esp + 0x14]
push eax
call esi
push eax
mov ecx, dword [esp + 0x14]
push ecx
call ebx
push eax
mov ecx, 0x11d441e8
call fcn.11c8c050
test eax, eax
je 0x11c9ede6
jmp 0x11c9eddc
cmp dword [0x11d441ec], ebp
jne 0x11c9ede6
cmp dword [0x11d445e4], ebp
je 0x11c9ede6
mov dword [0x11d445ec], 1
mov edx, dword [esp + 0x14]
push edx
call esi
and eax, 0xffff
push eax
call fcn.11ca4530
add esp, 4
test eax, eax
je 0x11c9ee5c
cmp dword [0x11d445e0], ebp
je 0x11c9ee5c
call fcn.11c9bc90
push eax
call edi
push eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0xfc]
mov edx, dword [esp + 0x28]
push eax
push ecx
push edx
call fcn.11c9e200
mov eax, 1
add esp, 0x10
mov dword [esp + 0x20], eax
mov dword [esp + 0x54], eax
cmp dword [0x11d49ee0], ebp
je 0x11c9f1b5
push str.connectFunc_SMTP_Redirect
push 0x11d2e2f8
push 4
call fcn.11c854f0
add esp, 0xc
jmp 0x11c9f156
cmp dword [esp + 0x3c], ebp
jne 0x11c9eee6
cmp dword [0x11d445e4], ebp
je 0x11c9f156
cmp dword [0x11d445f4], ebp
je 0x11c9ee9c
mov eax, dword [esp + 0x14]
push eax
call esi
push eax
mov ecx, dword [esp + 0x14]
push ecx
call ebx
push eax
mov ecx, 0x11d441e8
call fcn.11c8c3f0
test eax, eax
je 0x11c9f156
mov ecx, 0x11d441b0
call fcn.11c8a9b0
test eax, eax
jne 0x11c9eee6
mov ecx, 0x11d441b0
call fcn.11c8a9f0
test eax, eax
jne 0x11c9eee6
cmp dword [0x11d441ec], ebp
je 0x11c9f156
mov edx, dword [esp + 0x14]
push edx
call esi
push eax
mov eax, dword [esp + 0x14]
push eax
call ebx
push eax
mov ecx, 0x11d441e8
call fcn.11c8c050
test eax, eax
je 0x11c9f156
mov ecx, dword [esp + 0x64]
push ecx
call edi
push eax
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0xfc]
mov ecx, dword [esp + 0x28]
push edx
push eax
push ecx
call fcn.11c9e200
mov eax, 1
add esp, 0x10
mov dword [esp + 0x20], eax
mov dword [esp + 0xc8], eax
jmp 0x11c9f1b5
cmp dword [0x11d49ee0], ebp
je 0x11c9ef6c
push str.GlobalTEC_OCULAR__AGENT_V3_MUTEX_TMAILGATEWAY
lea ecx, [esp + 0x34]
call fcn.11cb5ba0
mov edi, eax
mov byte [esp + 0xe4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [edi]
push eax
push edx
push str.CCallback::connectCallback:_can_not_open_the_mutex__s_errno:__d_connectEx__r_n
push 0x11d2e2f8
push 4
call fcn.11c854f0
add esp, 0x14
lea ecx, [esp + 0x30]
mov byte [esp + 0xe4], 0
call fcn.11cb6340
cmp dword [0x11d445e4], ebp
jne 0x11c9ef90
cmp dword [esp + 0x3c], ebp
jne 0x11c9ef90
cmp dword [0x11d44600], ebp
je 0x11c9f1b5
cmp dword [esp + 0x20], ebp
je 0x11c9f1b5
mov ecx, dword [esp + 0xec]
mov eax, 0x274d
mov dword [esp + 0xe4], 0xffffffff
mov dword [ecx + 0x14], ebp
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x28], eax
lea ecx, [esp + 0x48]
call fcn.11cb0070
xor eax, eax
jmp 0x11c9fc25
mov eax, dword [esp + 0x14]
push eax
call esi
and eax, 0xffff
push eax
call fcn.11ca4530
add esp, 4
test eax, eax
je 0x11c9f016
cmp dword [0x11d445e0], ebp
je 0x11c9f016
call fcn.11c9bc90
push eax
call edi
push eax
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0xfc]
mov eax, dword [esp + 0x28]
push ecx
push edx
push eax
call fcn.11c9e200
mov eax, 1
add esp, 0x10
mov dword [esp + 0x20], eax
mov dword [esp + 0x54], eax
jmp 0x11c9f1b5
cmp dword [esp + 0x20], ebp
je 0x11c9f15c
mov ecx, dword [esp + 0x64]
push ecx
call edi
push eax
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0xfc]
mov ecx, dword [esp + 0x28]
push edx
push eax
push ecx
call fcn.11c9e200
add esp, 0x10
mov dword [esp + 0xc8], 1
jmp 0x11c9f156
cmp dword [0x11d49ee0], ebp
je 0x11c9f156
mov edx, dword [esp + 0x14]
push edx
call esi
and eax, 0xffff
push eax
mov eax, dword [esp + 0x14]
push eax
push str.it_is_not_in_the_blacklist__d___d_connectEx_
push 0x11d2e2f8
push 1
call fcn.11c854f0
add esp, 0x14
jmp 0x11c9f156
cmp dword [0x11d49ee0], ebp
je 0x11c9f156
mov ecx, dword [esp + 0x14]
push ecx
call esi
and eax, 0xffff
mov edx, dword [esp + 0x10]
push eax
push edx
push str.connectExFunc_It_is_in_WhiteListProcessPort_IP__lu__Port__lu__r_n
push 0x11d2e2f8
push 1
call fcn.11c854f0
add esp, 0x14
jmp 0x11c9f156
cmp dword [0x11d49ee0], ebp
je 0x11c9f0dc
push str.It_is_local_connecttion__connectEx_
push str.TMailHook_DBG
push 4
call fcn.11c854f0
add esp, 0xc
call fcn.11ca5bd0
test eax, eax
jne 0x11c9f12d
cmp dword [0x11d49ee0], ebp
je 0x11c9f101
push str.Disable_Local_connecttion______connectEx_
push str.TMailHook_DBG
push 4
call fcn.11c854f0
add esp, 0xc
mov eax, dword [0x11d445e4]
mov dword [esp + 0x38], 1
cmp eax, ebp
je 0x11c9f135
cmp dword [0x11d441b4], ebp
je 0x11c9f135
mov eax, dword [0x11d443f8]
and eax, 1
cmp al, 1
je 0x11c9f135
call fcn.11ca9a30
jmp 0x11c9f135
mov dword [esp + 0x58], 1
cmp dword [0x11d49ee0], ebp
je 0x11c9f156
mov ecx, dword [esp + 0x10]
push ecx
push str.TMAILHOOK::It_is_Local_Addr._addr_0x_lx__n
push 0x11d2e2f8
push 4
call fcn.11c854f0
add esp, 0x10
cmp dword [esp + 0x20], ebp
jne 0x11c9f1b5
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x54]
lea eax, [esp + 0x1c]
push edx
push eax
push ecx
mov dword [esp + 0x28], ebp
call esi
push eax
mov edx, dword [esp + 0x1c]
push edx
call ebx
push eax
call fcn.11ca26e0
add esp, 0x10
test eax, eax
je 0x11c9f1b5
mov eax, dword [esp + 0x1c]
cmp ax, bp
je 0x11c9f1b5
push eax
mov dword [esp + 0x24], 1
call edi
push eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0xfc]
mov edx, dword [esp + 0x28]
push eax
push ecx
push edx
call fcn.11c9e200
add esp, 0x10
mov edx, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 0xa8], eax
lea ecx, [esp + 0xa4]
xor edi, edi
mov dword [esp + 0xac], eax
push ecx
push edx
xor ebp, ebp
xor ebx, ebx
mov dword [esp + 0xac], edi
mov dword [esp + 0xb8], eax
call esi
push eax
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.WS2_32.dll_ntohl]
push eax
mov ecx, 0x11d43d60
call fcn.11c82600
test eax, eax
je 0x11c9f29f
mov ecx, dword [esp + 0xa4]
push ecx
call dword [sym.imp.WS2_32.dll_htonl]
mov ebx, eax
mov eax, dword [esp + 0xac]
cmp eax, 0xffffffff
je 0x11c9f22e
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov edi, eax
jmp 0x11c9f232
mov edi, dword [esp + 0x14]
mov eax, dword [0x11d49ee0]
test eax, eax
je 0x11c9f279
push edi
call esi
and eax, 0xffff
push eax
push ebx
call dword [sym.imp.WS2_32.dll_ntohl]
push eax
mov edx, dword [esp + 0x1c]
push edx
call esi
and eax, 0xffff
push eax
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.WS2_32.dll_ntohl]
push eax
push str.connectExFunc_ConnRediPolicy__0x_08X__0x_08X________0x_08X__0x_08X__r_n
push str.IPG_16656
push 1
call fcn.11c854f0
add esp, 0x1c
mov eax, dword [esp + 0x20]
test eax, eax
je 0x11c9f288
mov ebp, 1
jmp 0x11c9f29f
mov ecx, dword [esp + 0xf8]
mov edx, dword [esp + 0x24]
push edi
push ebx
push ecx
push edx
call fcn.11c9e200
add esp, 0x10
mov eax, dword [esp + 0xf0]
mov ecx, 0x11d440c0
push eax
call fcn.11c895c0
mov ecx, dword [esp + 0xf0]
push ecx
mov ecx, 0x11d44170
call fcn.11c88c40
test eax, eax
je 0x11c9f3d1
mov eax, dword [0x11d49ee0]
test eax, eax
je 0x11c9f2f0
mov edx, dword [esp + 0xf0]
push edx
push str.CCallback::connectCallback:_socket__u__IsSocketConnected_r_n
push 0x11d2e2f8
push 4
call fcn.11c854f0
add esp, 0x10
mov dword [esp + 0x20], 0
mov ecx, 0x11d440c0
call fcn.11c898e0
mov eax, dword [0x11d49ee0]
test eax, eax
je 0x11c9f31f
push str.before_ConnectEx
push str.TMailHook_DBG
push 4
call fcn.11c854f0
add esp, 0xc
lea ecx, [esp + 0x48]
call fcn.11cb0100
mov esi, dword [esp + 0xec]
lea edx, [esp + 0x40]
lea eax, [esp + 0x18]
push edx
mov ecx, dword [esi + 0x24]
mov edi, dword [esi + 0x1c]
mov ebp, dword [esi + 0x20]
mov dword [esp + 0x48], ecx
lea ecx, [esp + 0x34]
push eax
xor ebx, ebx
push ecx
push edi
mov dword [esp + 0x40], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x50], ebx
call fcn.11cafc20
mov eax, dword [esp + 0x28]
add esp, 0x10
cmp eax, ebx
je 0x11c9f8fe
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x40]
mov dword [esi + 0x1c], edx
mov edx, dword [esp + 0x108]
mov dword [esi + 0x24], ecx
mov ecx, dword [esp + 0x104]
push edx
mov edx, dword [esp + 0x104]
push ecx
mov ecx, dword [esp + 0x104]
mov ebx, dword [esi + 0xc]
push edx
mov edx, dword [esp + 0x104]
push ecx
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x104]
push ecx
push edx
push esi
mov dword [esi + 0x20], eax
call eax
mov dword [esi + 0xc], ebx
mov dword [esi + 0x1c], edi
mov eax, dword [esp + 0x44]
mov dword [esi + 0x20], ebp
mov dword [esi + 0x24], eax
xor ebx, ebx
jmp 0x11c9f965
mov eax, dword [esp + 0x20]
test eax, eax
je 0x11c9f2f8
mov eax, dword [0x11d49ee0]
test eax, eax
je 0x11c9f3fa
push str.CCallback::connectCallback:_Start_to_redirect_the_connection_connectEx__r_n
push 0x11d2e2f8
push 4
call fcn.11c854f0
add esp, 0xc
mov cx, word [esp + 0x14]
mov edx, dword [esp + 0x10]
xor eax, eax
mov word [esp + 0x74], 2
mov dword [esp + 0x76], eax
mov word [esp + 0x76], cx
mov dword [esp + 0x7a], eax
mov dword [esp + 0x78], edx
mov dword [esp + 0x7e], eax
test ebp, ebp
mov word [esp + 0x82], ax
je 0x11c9f436
mov word [esp + 0x76], di
mov dword [esp + 0x78], ebx
mov ecx, dword [esp + 0xf0]
lea eax, [esp + 0x74]
push eax
push ecx
mov ecx, 0x11d44138
call fcn.11c89100
mov dword [esp + 0xb4], 0x35026200
mov word [esp + 0xb8], 0x10
mov word [esp + 0xba], 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [esp + 0xbc], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, dword [esp + 0x10]
mov dword [esp + 0xc0], eax
push edx
mov dword [esp + 0xc8], 1
call dword [sym.imp.WS2_32.dll_ntohl]
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0x14]
push eax
call esi
mov cx, word [esp + 0x54]
mov word [esp + 0xd6], ax
mov word [esp + 0xd8], cx
call fcn.11cee1b0
test ebp, ebp
mov word [esp + 0xda], ax
je 0x11c9f4e9
push ebx
call dword [sym.imp.WS2_32.dll_ntohl]
push edi
mov dword [esp + 0xd4], eax
call esi
mov word [esp + 0xd6], ax
mov edx, dword [esp + 0x100]
lea ebx, [edx + 0x28]
push ebx
call fcn.11cc6630
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x11c9f544
mov eax, dword [esp + 0xf0]
push ebp
push eax
mov ecx, 0x11d43d20
call fcn.11c81c60
mov ecx, 0xa
lea esi, [esp + 0xb4]
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x100]
mov esi, dword [esp + 0xfc]
mov edx, ecx
lea edi, [ebp + 0x28]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x11d440c0
mov dword [esp + 0x28], 0
call fcn.11c898e0
lea ecx, [esp + 0x48]
call fcn.11cb0100
mov esi, dword [esp + 0xec]
lea edx, [esp + 0x18]
push edx
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
mov edi, dword [esi + 0x1c]
mov dword [esp + 0x64], eax
xor eax, eax
mov dword [esp + 0x60], ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x44]
lea ecx, [esp + 0x34]
push eax
push ecx
push edi
call fcn.11cafc20
mov eax, dword [esp + 0x50]
add esp, 0x10
test eax, eax
je 0x11c9f6fc
mov edx, dword [esi + 0xc]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x18]
mov dword [esi + 0x1c], ecx
mov ecx, dword [esp + 0x108]
mov dword [esi + 0x24], edx
lea edx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0xfc]
push edx
mov edx, dword [esp + 0x2c]
push ebx
push ebp
push ecx
mov ecx, dword [esp + 0x104]
push edx
push ecx
push esi
mov dword [esi + 0x20], eax
call eax
mov dword [esi + 0x1c], edi
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x44]
mov dword [esi + 0x20], edx
mov dword [esi + 0x24], eax
mov dword [esi + 0xc], ecx
mov ebp, dword [esp + 0xf0]
lea ecx, [esp + 0x48]
call fcn.11cb00e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x11d49ee0]
test ecx, ecx
je 0x11c9f635
push eax
push str.redirect_ConnectEx_09_dwLastError___d
push str.TMailHook_DBG
push 4
call fcn.11c854f0
add esp, 0x10
mov eax, dword [0x11d49ee0]
test eax, eax
je 0x11c9f6c8
mov eax, dword [esp + 0x100]
push eax
push str.redirect_ConnectEx_10_dwSendDataLength___d
push str.TMailHook_DBG
push 4
call fcn.11c854f0
mov eax, dword [0x11d49ee0]
add esp, 0x10
test eax, eax
je 0x11c9f6c8
mov eax, dword [esi + 0x14]
push eax
push str.redirect_ConnectEx_11_pContext__GetReturn_____d
push str.TMailHook_DBG
push 4
call fcn.11c854f0
mov eax, dword [0x11d49ee0]
add esp, 0x10
test eax, eax
je 0x11c9f6c8
mov ecx, dword [esp + 0x28]
push 0x28
push ecx
push str.redirect_ConnectEx_12_dwBytesSentNew___d_sizeof_HOOKINFO____d
push str.TMailHook_DBG
push 4
call fcn.11c854f0
mov eax, dword [0x11d49ee0]
add esp, 0x14
test eax, eax
je 0x11c9f6c8
mov edx, dword [esp + 0x108]
push edx
push str.redirect_ConnectEx_12_lpOverlapped___d
push str.TMailHook_DBG
push 4
call fcn.11c854f0
add esp, 0x10
mov ecx, 0x11d440c0
call fcn.11c89a10
mov eax, dword [esp + 0x104]
test eax, eax
je 0x11c9f771
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x11c9f771
mov ecx, dword [esp + 0x28]
cmp ecx, 0x28
jb 0x11c9f75f
add ecx, 0xffffffd8
mov dword [eax], ecx
jmp 0x11c9f771
mov edi, dword [esi + 0x18]
test edi, edi
je 0x11c9f600
mov eax, dword [esi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea eax, [esp + 0x28]
mov edx, dword [esp + 0x108]
mov ecx, dword [esp + 0xf8]
push edx
mov edx, dword [esp + 0x28]
push eax
push ebx
push ebp
mov ebp, dword [esp + 0x100]
push ecx
push edx
push ebp
call edi
mov dword [esi + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 8]
test eax, 0x800000
je 0x11c9f607
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esi + 0x28], eax
jmp 0x11c9f607
mov dword [eax], 0
mov dword [esi + 0x14], 0
jmp 0x11c9fac8
mov eax, dword [0x11d49ee0]
test eax, eax
je 0x11c9f78e
push str.redirect_ConnectEx_13
push str.TMailHook_DBG
push 4
call fcn.11c854f0
add esp, 0xc
xor ecx, ecx
xor eax, eax
xor edx, edx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x68], eax
mov word [esp + 0x94], ax
mov dword [esp + 0x96], edx
mov dword [esp + 0x70], ecx
lea eax, [esp + 0x1c]
mov dword [esp + 0x9a], edx
lea ecx, [esp + 0x94]
push eax
mov dword [esp + 0xa2], edx
mov edi, 0x10
push ecx
push ebp
mov word [esp + 0xae], dx
mov dword [esp + 0x28], edi
call dword [sym.imp.WS2_32.dll_getsockname]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x11c9f810
mov edx, dword [esp + 0x98]
push edx
call dword [sym.imp.WS2_32.dll_ntohl]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x96]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
mov word [esp + 0x72], ax
jmp 0x11c9f834
mov eax, dword [0x11d49ee0]
test eax, eax
je 0x11c9f851
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.TMAILHOOK32::getpeername_failed__errno:__d_connectEx_
push 0x11d2e2f8
push 4
call fcn.11c854f0
add esp, 0x10
mov eax, dword [0x11d49ee0]
test eax, eax
je 0x11c9f851
push str.redirect_ConnectEx_14
push str.TMailHook_DBG
push 4
call fcn.11c854f0
add esp, 0xc
xor ecx, ecx
lea edx, [esp + 0x1c]
mov dword [esp + 0x86], ecx
lea eax, [esp + 0x84]
mov dword [esp + 0x8a], ecx
push edx
mov dword [esp + 0x92], ecx
push eax
push ebp
mov word [esp + 0x90], 0
mov word [esp + 0x9e], cx
mov dword [esp + 0x28], edi
call dword [sym.imp.WS2_32.dll_getpeername]
mov edi, eax
cmp edi, 0xffffffff
je 0x11c9f8be
mov ecx, dword [esp + 0x88]
push ecx
call dword [sym.imp.WS2_32.dll_ntohl]
mov edx, dword [esp + 0x86]
mov dword [esp + 0x68], eax
push edx
call dword [sym.imp.WS2_32.dll_ntohs]
mov word [esp + 0x70], ax
cmp ebx, 0xffffffff
je 0x11c9f8d8
cmp edi, 0xffffffff
je 0x11c9f8d8
lea eax, [esp + 0x68]
mov ecx, 0x11d44170
push eax
push ebp
call fcn.11c88a10
mov eax, dword [0x11d49ee0]
test eax, eax
je 0x11c9f99b
push str.redirect_ConnectEx_15
push str.TMailHook_DBG
push 4
call fcn.11c854f0
add esp, 0xc
jmp 0x11c9f99b
mov edi, dword [esi + 0x18]
cmp edi, ebx
je 0x11c9f965
mov eax, dword [esi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [esp + 0x108]
mov edx, dword [esp + 0x104]
mov eax, dword [esp + 0x100]
push ecx
mov ecx, dword [esp + 0x100]
push edx
mov edx, dword [esp + 0x100]
push eax
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x100]
push edx
push eax
push ecx
call edi
mov dword [esi + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 8]
test eax, 0x800000
je 0x11c9f965
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esi + 0x28], eax
lea ecx, [esp + 0x48]
call fcn.11cb00e0
cmp dword [0x11d49ee0], ebx
je 0x11c9f98a
push str.after_connectEx
push str.TMailHook_DBG
push 4
call fcn.11c854f0
add esp, 0xc
mov ecx, 0x11d440c0
call fcn.11c89a10
mov ebp, dword [esp + 0xf0]
mov eax, dword [0x11d44600]
xor edi, edi
cmp eax, edi
jne 0x11c9fa52
cmp dword [esp + 0x34], edi
jne 0x11c9fa27
cmp dword [esp + 0x2c], edi
jne 0x11c9fa27
cmp dword [0x11d445f4], edi
je 0x11c9fa00
cmp dword [esp + 0x58], edi
jne 0x11c9f9f8
cmp dword [0x11d448c4], edi
je 0x11c9f9f8
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.WS2_32.dll_ntohs]
push eax
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.WS2_32.dll_ntohl]
push eax
mov ecx, 0x11d441e8
call fcn.11c8c050
test eax, eax
jne 0x11c9f9f8
cmp dword [esp + 0x3c], edi
je 0x11c9fa27
cmp dword [0x11d445f4], edi
jne 0x11c9fa4a
mov eax, dword [esp + 0x20]
cmp eax, edi
mov eax, dword [0x11d445e4]
jne 0x11c9fa1d
cmp eax, edi
je 0x11c9fa1d
cmp dword [esp + 0x58], edi
jne 0x11c9fa1d
cmp dword [esp + 0x3c], edi
je 0x11c9fa27
cmp dword [esp + 0x38], edi
je 0x11c9fa4a
cmp eax, edi
je 0x11c9fa4a
mov edx, dword [esp + 0x2c]
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
push edx
push eax
mov eax, dword [esp + 0x100]
push ecx
mov ecx, dword [esp + 0x30]
push eax
push ecx
push ebp
call fcn.11ca7e90
add esp, 0x18
cmp dword [0x11d44600], edi
je 0x11c9fa89
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x44]
lea eax, [esp + 0x5c]
push edx
push eax
push 1
push ecx
mov dword [esp + 0x6c], edi
mov dword [esp + 0x54], edi
call dword [sym.imp.WS2_32.dll_ntohs]
push eax
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.WS2_32.dll_ntohl]
push eax
push ebp
mov ecx, 0x11d44418
call fcn.11c977c0
mov eax, dword [esp + 0x24]
push eax
call fcn.11cc663e
mov eax, dword [0x11d49ee0]
add esp, 4
cmp eax, edi
je 0x11c9fac8
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov edx, dword [esp + 0xf4]
push eax
push ecx
xor ecx, ecx
mov cx, word [edx]
push ecx
push str.TMAILHOOK::connectFunc_2...addr_family__d___bRet__d___errno__d__connectEx_
push str.TMailHook_DBG
push 4
call fcn.11c854f0
add esp, 0x18
push ebp
mov ecx, 0x11d440c0
call fcn.11c896f0
mov esi, dword [esi + 0x14]
lea ecx, [esp + 0x48]
mov dword [esp + 0xe4], 0xffffffff
call fcn.11cb0070
mov eax, esi
jmp 0x11c9fc25
mov esi, dword [esp + 0xec]
lea edx, [esp + 0x30]
push edx
mov dword [esp + 0x1c], ebp
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
mov ebx, dword [esi + 0x1c]
mov dword [esp + 0x64], eax
mov dword [esp + 0x44], ecx
lea eax, [esp + 0x38]
lea ecx, [esp + 0x1c]
push eax
push ecx
push ebx
mov dword [esp + 0x44], ebp
mov dword [esp + 0x40], ebp
call fcn.11cafc20
mov eax, dword [esp + 0x44]
add esp, 0x10
cmp eax, ebp
je 0x11c9fb95
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x1c], edx
mov edx, dword [esp + 0x108]
mov dword [esi + 0x24], ecx
mov ecx, dword [esp + 0x104]
push edx
mov edx, dword [esp + 0x104]
mov ebp, dword [esi + 0xc]
push ecx
mov ecx, dword [esp + 0x104]
push edx
mov edx, dword [esp + 0x104]
push ecx
mov ecx, dword [esp + 0x100]
push edx
push edi
push ecx
push esi
mov dword [esi + 0x20], eax
call eax
mov dword [esi + 0xc], ebp
mov dword [esi + 0x1c], ebx
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x40]
mov dword [esi + 0x20], edx
mov dword [esi + 0x24], eax
xor ebp, ebp
jmp 0x11c9fbf8
mov ebx, dword [esi + 0x18]
cmp ebx, ebp
je 0x11c9fbf8
mov ecx, dword [esi + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edx, dword [esp + 0x108]
mov eax, dword [esp + 0x104]
mov ecx, dword [esp + 0x100]
push edx
mov edx, dword [esp + 0x100]
push eax
mov eax, dword [esp + 0x100]
push ecx
mov ecx, dword [esp + 0xfc]
push edx
push eax
push edi
push ecx
call ebx
mov dword [esi + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 8]
test eax, 0x800000
je 0x11c9fbf8
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esi + 0x28], eax
cmp dword [0x11d49ee0], ebp
je 0x11c9fc22
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0x14]
xor ecx, ecx
push edx
mov cx, word [edi]
push eax
push ecx
push str.TMAILHOOK::connectFunc_..._addr_family__d___bRet__d___errno__d__connectEx_
push str.connectExFunc
push 4
call fcn.11c854f0
add esp, 0x18
mov eax, dword [esi + 0x14]
mov ecx, dword [esp + 0xdc]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xd8
ret 0x20