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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x11dcdfd6
push eax
mov dword fs:[0], esp
sub esp, 0xd4
push ebx
push ebp
push esi
mov esi, dword [esp + 0xfc]
push edi
mov edi, dword [esp + 0xfc]
xor ebp, ebp
cmp edi, ebp
je 0x11d503b6
cmp esi, ebp
jle 0x11d503b6
mov eax, dword [0x11dfd740]
cmp eax, ebp
je 0x11d4eb2c
push str.New_connecttion_come_connectEx___
push str.TMailHook_DBG
push 4
call fcn.11d355b0
add esp, 0xc
push 0xfff7
lea ecx, [esp + 0x50]
call fcn.11d60c40
push esi
lea eax, [esp + 0x18]
push edi
lea ecx, [esp + 0x18]
push eax
push ecx
mov dword [esp + 0xfc], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], ebp
call fcn.11d4e920
add esp, 0x10
cmp eax, ebp
mov dword [esp + 0x48], ebp
jne 0x11d4ecac
lea ecx, [esp + 0x4c]
call fcn.11d60d00
mov esi, dword [esp + 0xf4]
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x1c], ebp
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x24]
mov ebx, dword [esi + 0x1c]
mov dword [esp + 0x40], edx
mov dword [esp + 0x20], eax
lea edx, [esp + 0x3c]
lea eax, [esp + 0x1c]
push edx
push eax
push ebx
mov dword [esp + 0x48], ebp
mov dword [esp + 0x40], ebp
call fcn.11d60820
mov eax, dword [esp + 0x48]
add esp, 0x10
cmp eax, ebp
je 0x11d4ec16
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x30]
mov dword [esi + 0x1c], ecx
mov ecx, dword [esp + 0x110]
mov dword [esi + 0x24], edx
mov edx, dword [esp + 0x10c]
push ecx
mov ecx, dword [esp + 0x10c]
mov ebp, dword [esi + 0xc]
push edx
mov edx, dword [esp + 0x10c]
push ecx
mov ecx, dword [esp + 0x10c]
push edx
mov edx, dword [esp + 0x108]
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 + 0x3c]
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], ecx
xor ebp, ebp
jmp 0x11d4ec79
mov ebx, dword [esi + 0x18]
cmp ebx, ebp
je 0x11d4ec79
mov eax, dword [esi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edx, dword [esp + 0x110]
mov eax, dword [esp + 0x10c]
mov ecx, dword [esp + 0x108]
push edx
mov edx, dword [esp + 0x108]
push eax
mov eax, dword [esp + 0x108]
push ecx
mov ecx, dword [esp + 0x104]
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 0x11d4ec79
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esi + 0x28], eax
cmp dword [0x11dfd740], ebp
je 0x11d50398
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.11d355b0
add esp, 0x18
jmp 0x11d50398
call fcn.11d55f10
push esi
mov dword [esp + 0x24], ebp
call fcn.11d789e0
add esp, 4
cmp eax, ebp
mov dword [esp + 0x24], eax
jne 0x11d4ee0d
lea ecx, [esp + 0x4c]
call fcn.11d60d00
mov esi, dword [esp + 0xf4]
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 + 0x40], eax
mov dword [esp + 0x20], ecx
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x1c]
push eax
push ecx
push ebx
mov dword [esp + 0x48], ebp
mov dword [esp + 0x40], ebp
call fcn.11d60820
mov eax, dword [esp + 0x48]
add esp, 0x10
cmp eax, ebp
je 0x11d4ed77
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x1c], edx
mov edx, dword [esp + 0x110]
mov dword [esi + 0x24], ecx
mov ecx, dword [esp + 0x10c]
push edx
mov edx, dword [esp + 0x10c]
mov ebp, dword [esi + 0xc]
push ecx
mov ecx, dword [esp + 0x10c]
push edx
mov edx, dword [esp + 0x10c]
push ecx
mov ecx, dword [esp + 0x108]
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 + 0x3c]
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x20], edx
mov dword [esi + 0x24], eax
xor ebp, ebp
jmp 0x11d4edda
mov ebx, dword [esi + 0x18]
cmp ebx, ebp
je 0x11d4edda
mov eax, dword [esi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [esp + 0x110]
mov edx, dword [esp + 0x10c]
mov eax, dword [esp + 0x108]
push ecx
mov ecx, dword [esp + 0x108]
push edx
mov edx, dword [esp + 0x108]
push eax
mov eax, dword [esp + 0x104]
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 0x11d4edda
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esi + 0x28], eax
cmp dword [0x11dfd740], ebp
je 0x11d50398
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.11d355b0
add esp, 0x18
jmp 0x11d50398
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 + 0xfc]
mov dword [esp + 0x68], ebp
push ecx
call fcn.11d4c6d0
mov esi, dword [sym.imp.WS2_32.dll_ntohs]
mov dword [esp + 0x34], eax
mov eax, dword [0x11dfd740]
add esp, 8
cmp eax, ebp
je 0x11d4ee73
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.11d355b0
add esp, 0x14
mov ebx, dword [sym.imp.WS2_32.dll_ntohl]
mov ecx, 9
xor eax, eax
lea edi, [esp + 0xc0]
mov dword [esp + 0xbc], 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 + 0x40], ebp
call ebx
push eax
mov ecx, 0x11df7c00
call fcn.11d47600
mov edi, eax
mov eax, dword [0x11df7e4c]
cmp eax, ebp
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], ebp
jne 0x11d4eed1
cmp dword [0x11df7e3c], ebp
jne 0x11d4eed1
cmp dword [0x11df7e50], ebp
je 0x11d4ef16
mov edx, dword [esp + 0x14]
push edx
call esi
push eax
mov eax, dword [esp + 0x14]
push eax
call ebx
push eax
mov ecx, 0x11df7b28
call fcn.11d40880
test eax, eax
je 0x11d4ef16
mov eax, dword [0x11dfd740]
mov dword [esp + 0x34], 1
cmp eax, ebp
je 0x11d4ef16
push 1
push str.IsInTAccCtrllist___d
push str.TAccCtrl
push 4
call fcn.11d355b0
add esp, 0x10
mov eax, dword [0x11df7e58]
mov dword [esp + 0x98], ebp
cmp eax, ebp
mov dword [esp + 0x94], 8
je 0x11d4efc2
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x94]
lea edx, [esp + 0x20]
push ecx
push edx
push ebp
push eax
call esi
push eax
mov ecx, dword [esp + 0x20]
push ecx
call ebx
push eax
mov ecx, 0x11df7c70
mov edx, dword [esp + 0x10c]
push edx
call fcn.11d48000
test eax, eax
je 0x11d4efa0
cmp dword [0x11dfd740], ebp
je 0x11d4f844
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.11d355b0
add esp, 0x14
jmp 0x11d4f844
cmp dword [esp + 0x98], ebp
je 0x11d4f3fb
mov dword [esp + 0x20], 1
mov dword [esp + 0x48], 5
jmp 0x11d4f3fb
cmp dword [0x11df7e4c], ebp
je 0x11d4f32c
mov eax, dword [0x11df79dc]
cmp eax, ebp
mov eax, dword [0x11df7c50]
je 0x11d4f1c3
mov edx, eax
and edx, 1
cmp dl, 1
je 0x11d4f1c3
cmp edi, ebp
jne 0x11d4f11e
mov eax, dword [esp + 0x14]
push eax
call esi
push eax
mov ecx, dword [esp + 0x14]
push ecx
call ebx
push eax
mov ecx, 0x11df7a10
call fcn.11d3c470
test eax, eax
jne 0x11d4f11e
mov edx, dword [esp + 0x14]
push edx
call esi
push eax
mov eax, dword [esp + 0x14]
push eax
call ebx
push eax
mov ecx, 0x11df7c00
call fcn.11d46740
test eax, eax
jne 0x11d4f11e
push str.127.0.0.1
call dword [sym.imp.WS2_32.dll_inet_addr]
mov ecx, dword [esp + 0x10]
cmp eax, ecx
je 0x11d4f11e
push ecx
call ebx
push eax
call fcn.11d55ff0
add esp, 4
test eax, eax
jne 0x11d4f11e
cmp dword [esp + 0x34], ebp
jne 0x11d4f11e
cmp dword [0x11dfd740], ebp
je 0x11d4f844
mov ecx, dword [esp + 0x14]
push ecx
call esi
push eax
mov edx, dword [esp + 0x14]
push edx
call ebx
push eax
mov ecx, 0x11df7a10
call fcn.11d3c470
push eax
push str.IsInBlacklist___d
push str.Security_Proxy
push 4
call fcn.11d355b0
mov eax, dword [0x11dfd740]
add esp, 0x10
cmp eax, ebp
je 0x11d4f844
mov eax, dword [esp + 0x14]
push eax
call esi
push eax
mov ecx, dword [esp + 0x14]
push ecx
call ebx
push eax
mov ecx, 0x11df7c00
call fcn.11d46740
push eax
push str.IsInWhiteList___d
push str.Security_Proxy
push 4
call fcn.11d355b0
mov eax, dword [0x11dfd740]
add esp, 0x10
cmp eax, ebp
je 0x11d4f844
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.11d355b0
add esp, 0x14
jmp 0x11d4f844
cmp dword [0x11dfd740], ebp
je 0x11d4f3fb
mov ecx, dword [esp + 0x14]
push ecx
call esi
push eax
mov edx, dword [esp + 0x14]
push edx
call ebx
push eax
mov ecx, 0x11df7a10
call fcn.11d3c470
push eax
push str.IsInBlacklist___d
push str.Security_Proxy
push 4
call fcn.11d355b0
mov eax, dword [0x11dfd740]
add esp, 0x10
cmp eax, ebp
je 0x11d4f3fb
mov eax, dword [esp + 0x14]
push eax
call esi
push eax
mov ecx, dword [esp + 0x14]
push ecx
call ebx
push eax
mov ecx, 0x11df7c00
call fcn.11d46740
push eax
push str.IsInWhiteList___d
push str.Security_Proxy
push 4
call fcn.11d355b0
mov eax, dword [0x11dfd740]
add esp, 0x10
cmp eax, ebp
je 0x11d4f3fb
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 0x11d4f3f1
cmp dword [0x11df7a14], ebp
je 0x11d4f236
and eax, 1
cmp al, 1
je 0x11d4f236
mov ecx, dword [esp + 0x14]
push ecx
call esi
push eax
mov edx, dword [esp + 0x14]
push edx
call ebx
push eax
mov ecx, 0x11df7a10
call fcn.11d3c470
test eax, eax
je 0x11d4f3fb
cmp edi, ebp
jne 0x11d4f3fb
cmp dword [0x11dfd740], ebp
je 0x11d4f21d
push 0x582
push str.CCallback::connectExCallback:_line__lu__SetEncryption_
push 0x11de1380
push 4
call fcn.11d355b0
add esp, 0x10
push 1
call fcn.11d35170
add esp, 4
mov dword [0x11df7e40], eax
call fcn.11d5a630
jmp 0x11d4f3fb
cmp dword [0x11df7c54], ebp
je 0x11d4f2f2
cmp edi, ebp
jne 0x11d4f2e6
mov eax, dword [esp + 0x14]
push eax
call esi
push eax
mov ecx, dword [esp + 0x14]
push ecx
call ebx
push eax
mov ecx, 0x11df7a10
call fcn.11d3c470
test eax, eax
je 0x11d4f2e6
mov edx, dword [esp + 0x14]
push edx
call esi
push eax
mov eax, dword [esp + 0x14]
push eax
call ebx
push eax
mov ecx, 0x11df7c00
call fcn.11d46740
test eax, eax
jne 0x11d4f2e6
push str.127.0.0.1
call dword [sym.imp.WS2_32.dll_inet_addr]
mov ecx, dword [esp + 0x10]
cmp eax, ecx
je 0x11d4f2e6
push ecx
call ebx
push eax
call fcn.11d55ff0
add esp, 4
test eax, eax
jne 0x11d4f2e6
cmp dword [esp + 0x34], ebp
jne 0x11d4f2e6
cmp dword [0x11dfd740], ebp
je 0x11d4f844
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.11d355b0
add esp, 0x14
jmp 0x11d4f844
cmp dword [0x11df7c54], ebp
jne 0x11d4f3fb
cmp edi, ebp
je 0x11d4f3fb
mov eax, dword [0x11dfd740]
mov dword [esp + 0x30], ebp
cmp eax, ebp
je 0x11d4f3fb
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 0x11d4f3f1
cmp dword [0x11df7e3c], ebp
je 0x11d4f3fb
mov eax, dword [0x11df79dc]
cmp eax, ebp
mov eax, dword [0x11df7c50]
je 0x11d4f354
mov edx, eax
and edx, 1
cmp dl, 1
jne 0x11d4f3fb
cmp dword [0x11df7a14], ebp
je 0x11d4f3bc
and eax, 1
cmp al, 1
je 0x11d4f3bc
mov eax, dword [esp + 0x14]
push eax
call esi
push eax
mov ecx, dword [esp + 0x14]
push ecx
call ebx
push eax
mov ecx, 0x11df7a10
call fcn.11d3c470
test eax, eax
je 0x11d4f3fb
cmp edi, ebp
jne 0x11d4f3fb
cmp dword [0x11dfd740], ebp
je 0x11d4f3a6
push 0x5b6
push str.CCallback::connectExCallback:_line__lu__SetEncryption_
push 0x11de1380
push 4
call fcn.11d355b0
add esp, 0x10
push 1
call fcn.11d35170
add esp, 4
mov dword [0x11df7e40], eax
call fcn.11d5a630
jmp 0x11d4f3fb
cmp dword [0x11df7c54], ebp
jne 0x11d4f3fb
cmp edi, ebp
je 0x11d4f3fb
mov eax, dword [0x11dfd740]
mov dword [esp + 0x30], ebp
cmp eax, ebp
je 0x11d4f3fb
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 0x11de1380
push 4
call fcn.11d355b0
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 0x11d4f7d1
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x18]
mov eax, dword [esp + 0xf8]
push ecx
push edx
push 0x1008
push 0xffff
push eax
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], 4
call dword [sym.imp.WS2_32.dll_getsockopt]
cmp dword [0x11dfd740], ebp
je 0x11d4f48a
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ecx
push edx
call esi
and eax, 0xffff
mov ecx, dword [esp + 0xfc]
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.11d355b0
add esp, 0x1c
cmp dword [esp + 0x18], 1
jne 0x11d4fa0a
cmp dword [0x11df7e58], ebp
jne 0x11d4f874
cmp dword [0x11df79dc], ebp
jne 0x11d4f4c1
cmp dword [0x11df7a14], ebp
je 0x11d4f546
cmp dword [0x11df7e40], ebp
je 0x11d4f546
mov edx, dword [esp + 0x14]
push edx
call esi
push eax
mov eax, dword [esp + 0x14]
push eax
call ebx
push eax
mov ecx, 0x11df7b68
call fcn.11d41b20
test eax, eax
je 0x11d4f546
push str.127.0.0.1
call dword [sym.imp.WS2_32.dll_inet_addr]
mov ecx, dword [esp + 0x10]
cmp eax, ecx
je 0x11d4f502
push ecx
call ebx
push eax
call fcn.11d55ff0
add esp, 4
test eax, eax
je 0x11d4f546
mov dword [esp + 0x3c], 1
call fcn.11d5a630
mov eax, dword [0x11dfd740]
mov dword [esp + 0x38], 1
cmp eax, ebp
je 0x11d4f546
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.11d355b0
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, 0x11df7ae0
call fcn.11d3f090
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 0x11d4f974
push ecx
call ebx
push eax
call fcn.11d55ff0
add esp, 4
test eax, eax
jne 0x11d4f974
cmp dword [0x11df7a14], ebp
je 0x11d4f688
mov edx, dword [esp + 0x14]
push edx
call esi
and eax, 0xffff
push eax
call fcn.11d54fb0
add esp, 4
test eax, eax
je 0x11d4f5c0
cmp dword [0x11df7e38], ebp
jne 0x11d4f680
cmp dword [0x11dfd740], ebp
je 0x11d4f5e2
mov eax, dword [0x11df79dc]
push eax
push str.g_GWGatewayProcess.m_bIsGatewayProcess__d_...._connectEx__r_n
push 0x11de1380
push 1
call fcn.11d355b0
add esp, 0x10
cmp dword [0x11df79dc], ebp
jne 0x11d4f61a
mov ecx, dword [esp + 0x14]
push ecx
call esi
push eax
mov edx, dword [esp + 0x14]
push edx
call ebx
push eax
mov ecx, 0x11df7a10
call fcn.11d3c470
test eax, eax
jne 0x11d4f612
cmp dword [esp + 0x34], ebp
je 0x11d4f906
cmp dword [0x11df79dc], ebp
je 0x11d4f658
mov eax, dword [esp + 0x14]
push eax
call esi
push eax
mov ecx, dword [esp + 0x14]
push ecx
call ebx
push eax
mov ecx, 0x11df7a10
call fcn.11d3c470
test eax, eax
jne 0x11d4f658
mov edx, dword [esp + 0x14]
push edx
call esi
push eax
mov ecx, 0x11df7c60
call fcn.11d47da0
test eax, eax
je 0x11d4f658
cmp dword [esp + 0x34], ebp
je 0x11d4f93d
cmp dword [0x11df7e3c], ebp
je 0x11d4f69a
mov eax, dword [esp + 0x14]
push eax
call esi
push eax
mov ecx, dword [esp + 0x14]
push ecx
call ebx
push eax
mov ecx, 0x11df7a10
call fcn.11d3c470
test eax, eax
je 0x11d4f69a
jmp 0x11d4f690
cmp dword [0x11df7a14], ebp
jne 0x11d4f69a
cmp dword [0x11df7e3c], ebp
je 0x11d4f69a
mov dword [0x11df7e44], 1
mov edx, dword [esp + 0x14]
push edx
call esi
and eax, 0xffff
push eax
call fcn.11d54fb0
add esp, 4
test eax, eax
je 0x11d4f710
cmp dword [0x11df7e38], ebp
je 0x11d4f710
call fcn.11d4c4d0
push eax
call edi
push eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x104]
mov edx, dword [esp + 0x28]
push eax
push ecx
push edx
call fcn.11d4ea80
mov eax, 1
add esp, 0x10
mov dword [esp + 0x20], eax
mov dword [esp + 0x48], eax
cmp dword [0x11dfd740], ebp
je 0x11d4fa69
push str.connectFunc_SMTP_Redirect
push 0x11de1380
push 4
call fcn.11d355b0
add esp, 0xc
jmp 0x11d4fa0a
cmp dword [esp + 0x34], ebp
jne 0x11d4f79a
cmp dword [0x11df7e3c], ebp
je 0x11d4fa0a
cmp dword [0x11df7e4c], ebp
je 0x11d4f750
mov eax, dword [esp + 0x14]
push eax
call esi
push eax
mov ecx, dword [esp + 0x14]
push ecx
call ebx
push eax
mov ecx, 0x11df7a10
call fcn.11d3c980
test eax, eax
je 0x11d4fa0a
mov ecx, 0x11df79d8
call fcn.11d3aa70
test eax, eax
jne 0x11d4f79a
mov ecx, 0x11df79d8
call fcn.11d3aab0
test eax, eax
jne 0x11d4f79a
cmp dword [0x11df7a14], ebp
je 0x11d4fa0a
mov edx, dword [esp + 0x14]
push edx
call esi
push eax
mov eax, dword [esp + 0x14]
push eax
call ebx
push eax
mov ecx, 0x11df7a10
call fcn.11d3c470
test eax, eax
je 0x11d4fa0a
mov ecx, dword [esp + 0x64]
push ecx
call edi
push eax
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x104]
mov ecx, dword [esp + 0x28]
push edx
push eax
push ecx
call fcn.11d4ea80
mov eax, 1
add esp, 0x10
mov dword [esp + 0x20], eax
mov dword [esp + 0xd0], eax
jmp 0x11d4fa69
cmp dword [0x11dfd740], ebp
je 0x11d4f820
push str.GlobalTEC_OCULAR__AGENT_V3_MUTEX_TMAILGATEWAY
lea ecx, [esp + 0x2c]
call fcn.11d667a0
mov edi, eax
mov byte [esp + 0xec], 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 0x11de1380
push 4
call fcn.11d355b0
add esp, 0x14
lea ecx, [esp + 0x28]
mov byte [esp + 0xec], 0
call fcn.11d66f40
cmp dword [0x11df7e3c], ebp
jne 0x11d4f844
cmp dword [esp + 0x34], ebp
jne 0x11d4f844
cmp dword [0x11df7e58], ebp
je 0x11d4fa69
cmp dword [esp + 0x20], ebp
je 0x11d4fa69
mov ecx, dword [esp + 0xf4]
mov eax, 0x274d
mov dword [esp + 0xec], 0xffffffff
mov dword [ecx + 0x14], ebp
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x28], eax
lea ecx, [esp + 0x4c]
call fcn.11d60c70
xor eax, eax
jmp 0x11d504ea
mov eax, dword [esp + 0x14]
push eax
call esi
and eax, 0xffff
push eax
call fcn.11d54fb0
add esp, 4
test eax, eax
je 0x11d4f8ca
cmp dword [0x11df7e38], ebp
je 0x11d4f8ca
call fcn.11d4c4d0
push eax
call edi
push eax
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x104]
mov eax, dword [esp + 0x28]
push ecx
push edx
push eax
call fcn.11d4ea80
mov eax, 1
add esp, 0x10
mov dword [esp + 0x20], eax
mov dword [esp + 0x48], eax
jmp 0x11d4fa69
cmp dword [esp + 0x20], ebp
je 0x11d4fa10
mov ecx, dword [esp + 0x64]
push ecx
call edi
push eax
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x104]
mov ecx, dword [esp + 0x28]
push edx
push eax
push ecx
call fcn.11d4ea80
add esp, 0x10
mov dword [esp + 0xd0], 1
jmp 0x11d4fa0a
cmp dword [0x11dfd740], ebp
je 0x11d4fa0a
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 0x11de1380
push 1
call fcn.11d355b0
add esp, 0x14
jmp 0x11d4fa0a
cmp dword [0x11dfd740], ebp
je 0x11d4fa0a
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 0x11de1380
push 1
call fcn.11d355b0
add esp, 0x14
jmp 0x11d4fa0a
cmp dword [0x11dfd740], ebp
je 0x11d4f990
push str.It_is_local_connecttion__connectEx_
push str.TMailHook_DBG
push 4
call fcn.11d355b0
add esp, 0xc
call fcn.11d56650
test eax, eax
jne 0x11d4f9e1
cmp dword [0x11dfd740], ebp
je 0x11d4f9b5
push str.Disable_Local_connecttion______connectEx_
push str.TMailHook_DBG
push 4
call fcn.11d355b0
add esp, 0xc
mov eax, dword [0x11df7e3c]
mov dword [esp + 0x38], 1
cmp eax, ebp
je 0x11d4f9e9
cmp dword [0x11df79dc], ebp
je 0x11d4f9e9
mov eax, dword [0x11df7c50]
and eax, 1
cmp al, 1
je 0x11d4f9e9
call fcn.11d5a630
jmp 0x11d4f9e9
mov dword [esp + 0x58], 1
cmp dword [0x11dfd740], ebp
je 0x11d4fa0a
mov ecx, dword [esp + 0x10]
push ecx
push str.TMAILHOOK::It_is_Local_Addr._addr_0x_lx__n
push 0x11de1380
push 4
call fcn.11d355b0
add esp, 0x10
cmp dword [esp + 0x20], ebp
jne 0x11d4fa69
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x48]
lea eax, [esp + 0x18]
push edx
push eax
push ecx
mov dword [esp + 0x24], ebp
call esi
push eax
mov edx, dword [esp + 0x1c]
push edx
call ebx
push eax
call fcn.11d530b0
add esp, 0x10
test eax, eax
je 0x11d4fa69
mov eax, dword [esp + 0x18]
cmp ax, bp
je 0x11d4fa69
push eax
mov dword [esp + 0x24], 1
call edi
push eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x104]
mov edx, dword [esp + 0x28]
push eax
push ecx
push edx
call fcn.11d4ea80
add esp, 0x10
mov edx, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 0xb0], eax
lea ecx, [esp + 0xac]
xor edi, edi
mov dword [esp + 0xb4], eax
push ecx
push edx
xor ebp, ebp
xor ebx, ebx
mov dword [esp + 0xb4], edi
mov dword [esp + 0xc0], eax
call esi
push eax
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.WS2_32.dll_ntohl]
push eax
mov ecx, 0x11df7588
call fcn.11d326c0
test eax, eax
je 0x11d4fb53
mov ecx, dword [esp + 0xac]
push ecx
call dword [sym.imp.WS2_32.dll_htonl]
mov ebx, eax
mov eax, dword [esp + 0xb4]
cmp eax, 0xffffffff
je 0x11d4fae2
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov edi, eax
jmp 0x11d4fae6
mov edi, dword [esp + 0x14]
mov eax, dword [0x11dfd740]
test eax, eax
je 0x11d4fb2d
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.11d355b0
add esp, 0x1c
mov eax, dword [esp + 0x20]
test eax, eax
je 0x11d4fb3c
mov ebp, 1
jmp 0x11d4fb53
mov ecx, dword [esp + 0x100]
mov edx, dword [esp + 0x24]
push edi
push ebx
push ecx
push edx
call fcn.11d4ea80
add esp, 0x10
mov eax, dword [esp + 0xf8]
mov ecx, 0x11df78e8
push eax
call fcn.11d39680
mov ecx, dword [esp + 0xf8]
push ecx
mov ecx, 0x11df7998
call fcn.11d38d00
test eax, eax
je 0x11d4fc85
mov eax, dword [0x11dfd740]
test eax, eax
je 0x11d4fba4
mov edx, dword [esp + 0xf8]
push edx
push str.CCallback::connectCallback:_socket__u__IsSocketConnected_r_n
push 0x11de1380
push 4
call fcn.11d355b0
add esp, 0x10
mov dword [esp + 0x20], 0
mov ecx, 0x11df78e8
call fcn.11d399a0
mov eax, dword [0x11dfd740]
test eax, eax
je 0x11d4fbd3
push str.before_ConnectEx
push str.TMailHook_DBG
push 4
call fcn.11d355b0
add esp, 0xc
lea ecx, [esp + 0x4c]
call fcn.11d60d00
mov esi, dword [esp + 0xf4]
lea edx, [esp + 0x40]
lea eax, [esp + 0x1c]
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 + 0x2c]
push eax
xor ebx, ebx
push ecx
push edi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x50], ebx
call fcn.11d60820
mov eax, dword [esp + 0x2c]
add esp, 0x10
cmp eax, ebx
je 0x11d501b2
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x40]
mov dword [esi + 0x1c], edx
mov edx, dword [esp + 0x110]
mov dword [esi + 0x24], ecx
mov ecx, dword [esp + 0x10c]
push edx
mov edx, dword [esp + 0x10c]
push ecx
mov ecx, dword [esp + 0x10c]
mov ebx, dword [esi + 0xc]
push edx
mov edx, dword [esp + 0x10c]
push ecx
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x10c]
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 0x11d50219
mov eax, dword [esp + 0x20]
test eax, eax
je 0x11d4fbac
mov eax, dword [0x11dfd740]
test eax, eax
je 0x11d4fcae
push str.CCallback::connectCallback:_Start_to_redirect_the_connection_connectEx__r_n
push 0x11de1380
push 4
call fcn.11d355b0
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 0x11d4fcea
mov word [esp + 0x76], di
mov dword [esp + 0x78], ebx
mov ecx, dword [esp + 0xf8]
lea eax, [esp + 0x74]
push eax
push ecx
mov ecx, 0x11df7960
call fcn.11d391c0
mov dword [esp + 0xbc], 0x35026200
mov word [esp + 0xc0], 0x10
mov word [esp + 0xc2], 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [esp + 0xc4], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, dword [esp + 0x10]
mov dword [esp + 0xc8], eax
push edx
mov dword [esp + 0xd0], 1
call dword [sym.imp.WS2_32.dll_ntohl]
mov dword [esp + 0xd8], eax
mov eax, dword [esp + 0x14]
push eax
call esi
mov cx, word [esp + 0x48]
mov word [esp + 0xde], ax
mov word [esp + 0xe0], cx
call fcn.11da0270
test ebp, ebp
mov word [esp + 0xe2], ax
je 0x11d4fd9d
push ebx
call dword [sym.imp.WS2_32.dll_ntohl]
push edi
mov dword [esp + 0xdc], eax
call esi
mov word [esp + 0xde], ax
mov edx, dword [esp + 0x108]
lea ebx, [edx + 0x28]
push ebx
call fcn.11d789e0
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x11d4fdf8
mov eax, dword [esp + 0xf8]
push ebp
push eax
mov ecx, 0x11df7548
call fcn.11d31d20
mov ecx, 0xa
lea esi, [esp + 0xbc]
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x108]
mov esi, dword [esp + 0x104]
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, 0x11df78e8
mov dword [esp + 0x2c], 0
call fcn.11d399a0
lea ecx, [esp + 0x4c]
call fcn.11d60d00
mov esi, dword [esp + 0xf4]
lea edx, [esp + 0x1c]
push edx
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
mov edi, dword [esi + 0x1c]
mov dword [esp + 0x60], eax
xor eax, eax
mov dword [esp + 0x64], ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x44]
lea ecx, [esp + 0x2c]
push eax
push ecx
push edi
call fcn.11d60820
mov eax, dword [esp + 0x50]
add esp, 0x10
test eax, eax
je 0x11d4ffb0
mov edx, dword [esi + 0xc]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x1c]
mov dword [esi + 0x1c], ecx
mov ecx, dword [esp + 0x110]
mov dword [esi + 0x24], edx
lea edx, [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x104]
push edx
mov edx, dword [esp + 0x2c]
push ebx
push ebp
push ecx
mov ecx, dword [esp + 0x10c]
push edx
push ecx
push esi
mov dword [esi + 0x20], eax
call eax
mov dword [esi + 0x1c], edi
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x44]
mov dword [esi + 0x20], edx
mov dword [esi + 0x24], eax
mov dword [esi + 0xc], ecx
mov ebp, dword [esp + 0xf8]
lea ecx, [esp + 0x4c]
call fcn.11d60ce0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x11dfd740]
test ecx, ecx
je 0x11d4fee9
push eax
push str.redirect_ConnectEx_09_dwLastError___d
push str.TMailHook_DBG
push 4
call fcn.11d355b0
add esp, 0x10
mov eax, dword [0x11dfd740]
test eax, eax
je 0x11d4ff7c
mov eax, dword [esp + 0x108]
push eax
push str.redirect_ConnectEx_10_dwSendDataLength___d
push str.TMailHook_DBG
push 4
call fcn.11d355b0
mov eax, dword [0x11dfd740]
add esp, 0x10
test eax, eax
je 0x11d4ff7c
mov eax, dword [esi + 0x14]
push eax
push str.redirect_ConnectEx_11_pContext__GetReturn_____d
push str.TMailHook_DBG
push 4
call fcn.11d355b0
mov eax, dword [0x11dfd740]
add esp, 0x10
test eax, eax
je 0x11d4ff7c
mov ecx, dword [esp + 0x2c]
push 0x28
push ecx
push str.redirect_ConnectEx_12_dwBytesSentNew___d_sizeof_HOOKINFO____d
push str.TMailHook_DBG
push 4
call fcn.11d355b0
mov eax, dword [0x11dfd740]
add esp, 0x14
test eax, eax
je 0x11d4ff7c
mov edx, dword [esp + 0x110]
push edx
push str.redirect_ConnectEx_12_lpOverlapped___d
push str.TMailHook_DBG
push 4
call fcn.11d355b0
add esp, 0x10
mov ecx, 0x11df78e8
call fcn.11d39ad0
mov eax, dword [esp + 0x10c]
test eax, eax
je 0x11d50025
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x11d50025
mov ecx, dword [esp + 0x2c]
cmp ecx, 0x28
jb 0x11d50013
add ecx, 0xffffffd8
mov dword [eax], ecx
jmp 0x11d50025
mov edi, dword [esi + 0x18]
test edi, edi
je 0x11d4feb4
mov eax, dword [esi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea eax, [esp + 0x2c]
mov edx, dword [esp + 0x110]
mov ecx, dword [esp + 0x100]
push edx
mov edx, dword [esp + 0x28]
push eax
push ebx
push ebp
mov ebp, dword [esp + 0x108]
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 0x11d4febb
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esi + 0x28], eax
jmp 0x11d4febb
mov dword [eax], 0
mov dword [esi + 0x14], 0
jmp 0x11d5038d
mov eax, dword [0x11dfd740]
test eax, eax
je 0x11d50042
push str.redirect_ConnectEx_13
push str.TMailHook_DBG
push 4
call fcn.11d355b0
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 + 0x9c], ax
mov dword [esp + 0x9e], edx
mov dword [esp + 0x70], ecx
lea eax, [esp + 0x18]
mov dword [esp + 0xa2], edx
lea ecx, [esp + 0x9c]
push eax
mov dword [esp + 0xaa], edx
mov edi, 0x10
push ecx
push ebp
mov word [esp + 0xb6], dx
mov dword [esp + 0x24], edi
call dword [sym.imp.WS2_32.dll_getsockname]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x11d500c4
mov edx, dword [esp + 0xa0]
push edx
call dword [sym.imp.WS2_32.dll_ntohl]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x9e]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
mov word [esp + 0x72], ax
jmp 0x11d500e8
mov eax, dword [0x11dfd740]
test eax, eax
je 0x11d50105
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.TMAILHOOK32::getpeername_failed__errno:__d_connectEx_
push 0x11de1380
push 4
call fcn.11d355b0
add esp, 0x10
mov eax, dword [0x11dfd740]
test eax, eax
je 0x11d50105
push str.redirect_ConnectEx_14
push str.TMailHook_DBG
push 4
call fcn.11d355b0
add esp, 0xc
xor ecx, ecx
lea edx, [esp + 0x18]
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 + 0x24], edi
call dword [sym.imp.WS2_32.dll_getpeername]
mov edi, eax
cmp edi, 0xffffffff
je 0x11d50172
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 0x11d5018c
cmp edi, 0xffffffff
je 0x11d5018c
lea eax, [esp + 0x68]
mov ecx, 0x11df7998
push eax
push ebp
call fcn.11d38ad0
mov eax, dword [0x11dfd740]
test eax, eax
je 0x11d5024f
push str.redirect_ConnectEx_15
push str.TMailHook_DBG
push 4
call fcn.11d355b0
add esp, 0xc
jmp 0x11d5024f
mov edi, dword [esi + 0x18]
cmp edi, ebx
je 0x11d50219
mov eax, dword [esi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [esp + 0x110]
mov edx, dword [esp + 0x10c]
mov eax, dword [esp + 0x108]
push ecx
mov ecx, dword [esp + 0x108]
push edx
mov edx, dword [esp + 0x108]
push eax
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x108]
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 0x11d50219
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esi + 0x28], eax
lea ecx, [esp + 0x4c]
call fcn.11d60ce0
cmp dword [0x11dfd740], ebx
je 0x11d5023e
push str.after_connectEx
push str.TMailHook_DBG
push 4
call fcn.11d355b0
add esp, 0xc
mov ecx, 0x11df78e8
call fcn.11d39ad0
mov ebp, dword [esp + 0xf8]
mov eax, dword [0x11df7e58]
test eax, eax
jne 0x11d5031a
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x11d502ee
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x11d502ee
mov eax, dword [0x11df7e4c]
test eax, eax
je 0x11d502c1
mov eax, dword [esp + 0x58]
test eax, eax
jne 0x11d502b8
mov eax, dword [0x11df8124]
test eax, eax
je 0x11d502b8
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, 0x11df7a10
call fcn.11d3c470
test eax, eax
jne 0x11d502b8
mov eax, dword [esp + 0x34]
test eax, eax
je 0x11d502ee
mov eax, dword [0x11df7e4c]
test eax, eax
jne 0x11d50311
mov eax, dword [esp + 0x20]
test eax, eax
mov eax, dword [0x11df7e3c]
jne 0x11d502e2
test eax, eax
je 0x11d502e2
mov ecx, dword [esp + 0x58]
test ecx, ecx
jne 0x11d502e2
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x11d502ee
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x11d50311
test eax, eax
je 0x11d50311
mov edx, dword [esp + 0x30]
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
push edx
push eax
mov eax, dword [esp + 0x108]
push ecx
mov ecx, dword [esp + 0x30]
push eax
push ecx
push ebp
call fcn.11d58a90
add esp, 0x18
mov eax, dword [0x11df7e58]
test eax, eax
je 0x11d5034e
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x44]
push 0
push edx
push 1
push eax
mov dword [esp + 0x54], 0
call dword [sym.imp.WS2_32.dll_ntohs]
push eax
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.WS2_32.dll_ntohl]
push eax
push ebp
mov ecx, 0x11df7c70
call fcn.11d48000
mov edx, dword [esp + 0x24]
push edx
call fcn.11d789ee
mov eax, dword [0x11dfd740]
add esp, 4
test eax, eax
je 0x11d5038d
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
push eax
push ecx
mov ecx, dword [esp + 0x104]
xor eax, eax
mov ax, word [ecx]
push eax
push str.TMAILHOOK::connectFunc_2...addr_family__d___bRet__d___errno__d__connectEx_
push str.TMailHook_DBG
push 4
call fcn.11d355b0
add esp, 0x18
push ebp
mov ecx, 0x11df78e8
call fcn.11d397b0
mov esi, dword [esi + 0x14]
lea ecx, [esp + 0x4c]
mov dword [esp + 0xec], 0xffffffff
call fcn.11d60c70
mov eax, esi
jmp 0x11d504ea
mov esi, dword [esp + 0xf4]
lea ecx, [esp + 0x28]
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 + 0x64], edx
mov dword [esp + 0x60], eax
lea edx, [esp + 0x40]
lea eax, [esp + 0x20]
push edx
push eax
push ebx
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x38], ebp
call fcn.11d60820
mov eax, dword [esp + 0x4c]
add esp, 0x10
cmp eax, ebp
je 0x11d5045a
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
mov dword [esi + 0x1c], ecx
mov ecx, dword [esp + 0x110]
mov dword [esi + 0x24], edx
mov edx, dword [esp + 0x10c]
push ecx
mov ecx, dword [esp + 0x10c]
mov ebp, dword [esi + 0xc]
push edx
mov edx, dword [esp + 0x10c]
push ecx
mov ecx, dword [esp + 0x10c]
push edx
mov edx, dword [esp + 0x108]
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 + 0x60]
mov ecx, dword [esp + 0x5c]
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], ecx
xor ebp, ebp
jmp 0x11d504bd
mov ebx, dword [esi + 0x18]
cmp ebx, ebp
je 0x11d504bd
mov edx, dword [esi + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esp + 0x110]
mov ecx, dword [esp + 0x10c]
mov edx, dword [esp + 0x108]
push eax
mov eax, dword [esp + 0x108]
push ecx
mov ecx, dword [esp + 0x108]
push edx
mov edx, dword [esp + 0x104]
push eax
push ecx
push edi
push edx
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 0x11d504bd
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esi + 0x28], eax
cmp dword [0x11dfd740], ebp
je 0x11d504e7
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_..._addr_family__d___bRet__d___errno__d__connectEx_
push str.connectExFunc
push 4
call fcn.11d355b0
add esp, 0x18
mov eax, dword [esi + 0x14]
mov ecx, dword [esp + 0xe4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xe0
ret 0x20