Function at 0x40166c
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
push 0x20004
push 0x16011977
push 0x52011965
push 1
mov eax, 1
mov ebx, 0x457100
call fcn.0040a65b
add esp, 0x10
cmp dword [0x4be480], eax
jge 0x40240a
push 0x80000301
push 0
push dword [0x4be488]
push 1
mov eax, 2
mov ebx, 0x45c0d0
call fcn.0040a65b
add esp, 0x10
inc dword [0x4be480]
mov eax, dword [0x4be480]
mov dword [ebp - 4], eax
push 0x80000301
push 0
push dword [0x4be488]
push 1
mov eax, 2
mov ebx, 0x45c0f0
call fcn.0040a65b
add esp, 0x10
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push dword [ebp - 4]
push 0x20004
push 0x16011977
push 0x52011965
push 3
mov eax, 1
mov ebx, 0x456f10
call fcn.0040a65b
add esp, 0x28
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40177a
push ebx
call fcn.0040a643
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0x80000301
push 0
push 0
push 0x80000301
push 0
push dword [ebp - 4]
push 0x20004
push 0x16011977
push 0x52011965
push 3
mov eax, 1
mov ebx, 0x456f10
call fcn.0040a65b
add esp, 0x28
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4017d1
push ebx
call fcn.0040a643
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 0x48536c
push dword [ebp - 8]
call fcn.00401132
add esp, 8
cmp eax, 0
jne 0x4017f3
jmp 0x40240a
push 0xffffffffffffffff
push 0xa
push 0x1601196f
push 0x52011965
call fcn.0040a667
add esp, 0x10
mov dword [ebp - 0x1c], eax
push 0x485386
push dword [ebp - 0x1c]
call fcn.00401132
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40183a
push ebx
call fcn.0040a643
add esp, 4
cmp dword [ebp - 0x20], 0
je 0x402405
inc dword [ebp - 0x10]
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
call fcn.00402450
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push str.http:__app.intv.com.cn_superbrain_public_hb_open__
mov ecx, 2
call fcn.004010d6
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x401883
push ebx
call fcn.0040a643
add esp, 4
push 1
mov eax, str.Host:_app.intv.com.cn_r_nAccept_Language:_zh_cn_r_nUser_Agent:_Mozilla_5.0__iPhone__CPU_iPhone_OS_7_1_2_like_Mac_OS_X__AppleWebKit_537.51.2__KHTML__like_Gecko__Mobile_11D257_MicroMessenger_5.3.1
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 3
mov dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov dword [ebp - 0x34], 0
push 0
lea eax, [ebp - 0x34]
push eax
push 1
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x38]
push eax
push 1
push 1
lea eax, [ebp - 0x24]
push eax
call fcn.00402636
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4018f4
push ebx
call fcn.0040a643
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x401904
push ebx
call fcn.0040a643
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x401914
push ebx
call fcn.0040a643
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x401924
push ebx
call fcn.0040a643
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x401934
push ebx
call fcn.0040a643
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x3c]
test eax, eax
jne 0x401947
mov eax, 0x4853a0
push eax
push 1
mov ebx, 0x40bbb0
call fcn.0040a655
add esp, 0x10
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x40196d
push ebx
call fcn.0040a643
add esp, 4
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x401981
push ebx
call fcn.0040a643
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push 0x48536c
push dword [ebp - 0x14]
call fcn.00401132
add esp, 8
cmp eax, 0
je 0x401847
push reloc.WS2_32.dll_bind
push 0
push 0
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push str.u5df2u7ecfu4e2du8fc7u5956u4e86
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x4019cf
mov eax, 0x48536c
push eax
push 4
mov ebx, 0x40ade0
call fcn.0040a655
add esp, 0x34
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
je 0x401c85
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov eax, 0x4854c0
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
mov eax, str.status_:
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0040433f
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x401a3b
push ebx
call fcn.0040a643
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x401a4b
push ebx
call fcn.0040a643
add esp, 4
push 0x4854cb
push dword [ebp - 0x2c]
push 0x4854ce
mov ecx, 3
call fcn.004010d6
add esp, 0xc
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x401a78
push ebx
call fcn.0040a643
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x401a8c
push ebx
call fcn.0040a643
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push 0x80000301
push 0
push dword [0x4be488]
push 1
mov eax, 2
mov ebx, 0x45c0d0
call fcn.0040a65b
add esp, 0x10
push 0x80000301
push 0
push dword [ebp - 0x10]
push 1
mov ebx, 0x40bbb0
call fcn.0040a655
add esp, 0x10
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x18]
push 0x4854dc
push dword [ebp - 0x1c]
mov ecx, 3
call fcn.004010d6
add esp, 0xc
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x401afe
push ebx
call fcn.0040a643
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x401b11
mov eax, 0x48536c
push eax
push 0x80000301
push 0
push 2
push 0x80000301
push 0
push dword [ebp - 4]
push 0x20004
push 0x16011977
push 0x52011965
push 4
mov eax, 1
mov ebx, 0x4570e0
call fcn.0040a65b
add esp, 0x34
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x401b5e
push ebx
call fcn.0040a643
add esp, 4
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov eax, 0x4854c0
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
mov eax, str.status_:
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0040433f
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x401baa
push ebx
call fcn.0040a643
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x401bba
push ebx
call fcn.0040a643
add esp, 4
push 0x4854cb
push dword [ebp - 0x2c]
mov ecx, 2
call fcn.004010d6
add esp, 8
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x401be2
push ebx
call fcn.0040a643
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x401bf5
mov eax, 0x48536c
push eax
push 0x80000301
push 0
push 3
push 0x80000301
push 0
push dword [ebp - 4]
push 0x20004
push 0x16011977
push 0x52011965
push 4
mov eax, 1
mov ebx, 0x4570e0
call fcn.0040a65b
add esp, 0x34
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x401c42
push ebx
call fcn.0040a643
add esp, 4
push dword [ebp - 0x18]
push 0x4854df
push dword [ebp - 0xc]
push 0x4854e7
mov ecx, 4
call fcn.004010d6
add esp, 0x10
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00404600
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x401c7b
push ebx
call fcn.0040a643
add esp, 4
jmp 0x402405
push reloc.WS2_32.dll_bind
push 0
push 0
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push str.u8bbfu95eeu8fc7u4e8eu9891u7e41uff01
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x401cb6
mov eax, 0x48536c
push eax
push 4
mov ebx, 0x40ade0
call fcn.0040a655
add esp, 0x34
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
je 0x401cf5
mov eax, 0x485514
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x401cec
push ebx
call fcn.0040a643
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
jmp 0x4022b4
push reloc.WS2_32.dll_bind
push 0
push 0
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push str.status_:2_
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x401d26
mov eax, 0x48536c
push eax
push 4
mov ebx, 0x40ade0
call fcn.0040a655
add esp, 0x34
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
je 0x401d65
mov eax, 0x48552e
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x401d5c
push ebx
call fcn.0040a643
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
jmp 0x4022b4
push reloc.WS2_32.dll_bind
push 0
push 0
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x485535
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x401d96
mov eax, 0x48536c
push eax
push 4
mov ebx, 0x40ade0
call fcn.0040a655
add esp, 0x34
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
je 0x401dd5
mov eax, 0x485535
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x401dcc
push ebx
call fcn.0040a643
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
jmp 0x4022b4
push reloc.WS2_32.dll_bind
push 0
push 0
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push str.status_:1_
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x401e06
mov eax, 0x48536c
push eax
push 4
mov ebx, 0x40ade0
call fcn.0040a655
add esp, 0x34
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
je 0x402290
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov eax, 0x485557
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
mov eax, str.cost_:_
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0040433f
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x401e72
push ebx
call fcn.0040a643
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x401e82
push ebx
call fcn.0040a643
add esp, 4
push 0x4854cb
push dword [ebp - 0x2c]
mov ecx, 2
call fcn.004010d6
add esp, 8
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x401eaa
push ebx
call fcn.0040a643
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x401ebe
push ebx
call fcn.0040a643
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push 0
mov ebx, 0x40aa50
call fcn.0040a655
add esp, 4
mov dword [ebp - 0x1c], eax
push 0x485561
push dword [ebp - 0x1c]
mov ecx, 2
call fcn.004010d6
add esp, 8
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x401eff
push ebx
call fcn.0040a643
add esp, 4
push 0
mov ebx, 0x40aa50
call fcn.0040a655
add esp, 4
mov dword [ebp - 0x24], eax
push 0x485561
push dword [ebp - 0x24]
mov ecx, 2
call fcn.004010d6
add esp, 8
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x401f3c
push ebx
call fcn.0040a643
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x401f4f
mov eax, 0x48536c
push eax
push 1
mov ebx, 0x40c190
call fcn.0040a655
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x401f75
push ebx
call fcn.0040a643
add esp, 4
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov eax, 0x485557
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
mov eax, str.success_url_:_
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0040433f
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x401fc1
push ebx
call fcn.0040a643
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x401fd1
push ebx
call fcn.0040a643
add esp, 4
push 0x485587
push dword [ebp - 0x40]
mov ecx, 2
call fcn.004010d6
add esp, 8
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x401ff9
push ebx
call fcn.0040a643
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x40200c
mov eax, 0x48536c
push eax
push 1
mov ebx, 0x40b6a0
call fcn.0040a655
add esp, 0x10
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x402032
push ebx
call fcn.0040a643
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x48]
test eax, eax
jne 0x402045
mov eax, 0x4853a0
push eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x402059
mov eax, 0x4853a0
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x40206d
mov eax, 0x48536c
push eax
push 3
mov ebx, 0x40c200
call fcn.0040a655
add esp, 0x28
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x402090
push ebx
call fcn.0040a643
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4020a0
push ebx
call fcn.0040a643
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x4020b0
push ebx
call fcn.0040a643
add esp, 4
push 0x80000301
push 0
push dword [0x4be488]
push 1
mov eax, 2
mov ebx, 0x45c0d0
call fcn.0040a65b
add esp, 0x10
push 0x80000301
push 0
push dword [ebp - 0x10]
push 1
mov ebx, 0x40bbb0
call fcn.0040a655
add esp, 0x10
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x18]
push 0x4854dc
push dword [ebp - 0x1c]
mov ecx, 3
call fcn.004010d6
add esp, 0xc
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40211e
push ebx
call fcn.0040a643
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x402131
mov eax, 0x48536c
push eax
push 0x80000301
push 0
push 2
push 0x80000301
push 0
push dword [ebp - 4]
push 0x20004
push 0x16011977
push 0x52011965
push 4
mov eax, 1
mov ebx, 0x4570e0
call fcn.0040a65b
add esp, 0x34
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40217e
push ebx
call fcn.0040a643
add esp, 4
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov eax, 0x485557
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
mov eax, str.cost_:_
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0040433f
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4021ca
push ebx
call fcn.0040a643
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4021da
push ebx
call fcn.0040a643
add esp, 4
push 0x4854cb
push dword [ebp - 0x2c]
mov ecx, 2
call fcn.004010d6
add esp, 8
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x402202
push ebx
call fcn.0040a643
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x402215
mov eax, 0x48536c
push eax
push 0x80000301
push 0
push 3
push 0x80000301
push 0
push dword [ebp - 4]
push 0x20004
push 0x16011977
push 0x52011965
push 4
mov eax, 1
mov ebx, 0x4570e0
call fcn.0040a65b
add esp, 0x34
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x402262
push ebx
call fcn.0040a643
add esp, 4
push 0x80000301
push 0
push dword [0x4be488]
push 1
mov eax, 2
mov ebx, 0x45c0f0
call fcn.0040a65b
add esp, 0x10
jmp 0x402405
lea eax, [ebp - 0x14]
push eax
call fcn.00404881
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4022b0
push ebx
call fcn.0040a643
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push 0x80000301
push 0
push dword [0x4be488]
push 1
mov eax, 2
mov ebx, 0x45c0d0
call fcn.0040a65b
add esp, 0x10
push 0x80000301
push 0
push dword [ebp - 0x10]
push 1
mov ebx, 0x40bbb0
call fcn.0040a655
add esp, 0x10
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x18]
push 0x4854dc
push dword [ebp - 0x1c]
mov ecx, 3
call fcn.004010d6
add esp, 0xc
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x402322
push ebx
call fcn.0040a643
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x402335
mov eax, 0x48536c
push eax
push 0x80000301
push 0
push 2
push 0x80000301
push 0
push dword [ebp - 4]
push 0x20004
push 0x16011977
push 0x52011965
push 4
mov eax, 1
mov ebx, 0x4570e0
call fcn.0040a65b
add esp, 0x34
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x402382
push ebx
call fcn.0040a643
add esp, 4
push 0x80000301
push 0
push dword [0x4be488]
push 1
mov eax, 2
mov ebx, 0x45c0f0
call fcn.0040a65b
add esp, 0x10
push 0xffffffffffffffff
push 8
push 0x16011e82
push 0x52011965
call fcn.0040a667
add esp, 0x10
mov dword [ebp - 0x1c], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x4023d2
mov eax, 0x48536c
push eax
push 1
mov ebx, 0x40b000
call fcn.0040a655
add esp, 0x10
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4023f8
push ebx
call fcn.0040a643
add esp, 4
push dword [ebp - 0x20]
call fcn.00404fab
jmp 0x4017f3
jmp 0x40169f
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40241a
push ebx
call fcn.0040a643
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40242a
push ebx
call fcn.0040a643
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40243a
push ebx
call fcn.0040a643
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40244a
push ebx
call fcn.0040a643
add esp, 4
mov esp, ebp
pop ebp
ret 4