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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 0x24
call fcn.004719fc
add esp, 4
mov dword [ebp - 4], eax
mov edi, eax
mov esi, 0x52f6f6
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 7
rep stosd dword es:[edi], eax
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
push VariantClear
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x40165a
mov eax, 0x52f573
push eax
push 1
mov ebx, 0x472cf0
call fcn.00471a14
add esp, 0x10
mov dword [ebp - 0x18], eax
push 0x52f573
push dword [ebp - 0x18]
call fcn.004014ff
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40169e
push ebx
call fcn.00471a0e
add esp, 4
cmp dword [ebp - 0x1c], 0
je 0x4016b2
mov eax, 0x52f573
jmp 0x4028aa
push 0x80000301
push 0
push 7
push VariantClear
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x4016d3
mov eax, 0x52f573
push eax
push 2
mov ebx, 0x472280
call fcn.00471a14
add esp, 0x1c
mov dword [ebp - 0x18], eax
push str.http:__
push dword [ebp - 0x18]
call fcn.004014ff
add esp, 8
cmp eax, 0
mov eax, 0
setne al
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x401717
push ebx
call fcn.00471a0e
add esp, 4
cmp dword [ebp - 0x1c], 0
je 0x401797
push 0x80000301
push 0
push 8
push VariantClear
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x401742
mov eax, 0x52f573
push eax
push 2
mov ebx, 0x472280
call fcn.00471a14
add esp, 0x1c
mov dword [ebp - 0x20], eax
push str.https:__
push dword [ebp - 0x20]
call fcn.004014ff
add esp, 8
cmp eax, 0
mov eax, 0
setne al
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x401786
push ebx
call fcn.00471a0e
add esp, 4
cmp dword [ebp - 0x24], 0
je 0x401797
mov eax, 1
jmp 0x401799
xor eax, eax
test eax, eax
je 0x4017d7
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.http:__
mov ecx, 2
call fcn.004010af
add esp, 8
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4017d1
push ebx
call fcn.00471a0e
add esp, 4
pop eax
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
mov ebx, dword [ebp - 4]
call fcn.0040159c
mov eax, 0
cmp eax, ecx
jl 0x4017f5
push 1
call fcn.00471a02
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x18], ebx
push VariantClear
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x401812
mov eax, 0x52f573
push eax
push 1
mov ebx, 0x473160
call fcn.00471a14
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0x18]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40183e
push ebx
call fcn.00471a0e
add esp, 4
pop eax
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 4]
call fcn.0040159c
mov eax, 1
cmp eax, ecx
jl 0x401862
push 1
call fcn.00471a02
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x18], ebx
cmp dword [ebp + 0xc], 1
mov eax, 0
sete al
test eax, eax
je 0x401888
mov eax, 0x52f585
jmp 0x40188d
mov eax, 0x52f58a
mov dword [ebp - 0x20], eax
push VariantClear
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x4018a3
mov eax, 0x52f573
push eax
push 1
mov ebx, 0x473160
call fcn.00471a14
add esp, 0x10
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4018c9
push ebx
call fcn.00471a0e
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x18]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4018df
push ebx
call fcn.00471a0e
add esp, 4
pop eax
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 4]
call fcn.0040159c
mov eax, 2
cmp eax, ecx
jl 0x401903
push 1
call fcn.00471a02
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x18], ebx
push VariantClear
push 0
mov ebx, dword [ebp + 0x5c]
mov eax, dword [ebx]
test eax, eax
jne 0x401920
mov eax, 0x52f573
push eax
push 1
mov ebx, 0x473160
call fcn.00471a14
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0x18]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40194c
push ebx
call fcn.00471a0e
add esp, 4
pop eax
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
cmp dword [ebp + 0x3c], 1
jne 0x401992
push str.User_Agent:_Mozilla_5.0__iPhone__U__CPU_iPhone_OS_3_0_like_Mac_OS_X__en_us__AppleWebKit_528.18__KHTML__like_Gecko__Version_4.0_Mobile_7A341_Safari_528.16_r_n
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
mov ecx, 2
call fcn.004010af
add esp, 8
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp + 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40198c
push ebx
call fcn.00471a0e
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
mov ebx, dword [ebp - 4]
call fcn.0040159c
mov eax, 3
cmp eax, ecx
jl 0x4019b0
push 1
call fcn.00471a02
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x18], ebx
push VariantClear
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x4019cd
mov eax, 0x52f573
push eax
push 1
mov ebx, 0x473160
call fcn.00471a14
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0x18]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4019f9
push ebx
call fcn.00471a0e
add esp, 4
pop eax
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 4]
call fcn.0040159c
mov eax, 4
cmp eax, ecx
jl 0x401a1d
push 1
call fcn.00471a02
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebx]
test eax, eax
je 0x401a41
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.004719fc
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x18]
mov ebx, dword [ebx]
test ebx, ebx
je 0x401a54
push ebx
call fcn.00471a0e
add esp, 4
pop eax
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 4]
call fcn.0040159c
mov eax, 5
cmp eax, ecx
jl 0x401a78
push 1
call fcn.00471a02
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x18], ebx
push VariantClear
push 0
mov ebx, dword [ebp + 0x1c]
mov eax, dword [ebx]
test eax, eax
jne 0x401a95
mov eax, 0x52f573
push eax
push 1
mov ebx, 0x473160
call fcn.00471a14
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0x18]
mov ebx, dword [ebx]
test ebx, ebx
je 0x401ac1
push ebx
call fcn.00471a0e
add esp, 4
pop eax
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 4]
call fcn.0040159c
mov eax, 6
cmp eax, ecx
jl 0x401ae5
push 1
call fcn.00471a02
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x18], ebx
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push dword [ebp + 0x4c]
push 1
mov ebx, 0x473aa0
call fcn.00471a14
add esp, 0x10
mov dword [ebp - 0x1c], eax
push VariantClear
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x401b1f
mov eax, 0x52f573
push eax
push 1
mov ebx, 0x473160
call fcn.00471a14
add esp, 0x10
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x401b45
push ebx
call fcn.00471a0e
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x18]
mov ebx, dword [ebx]
test ebx, ebx
je 0x401b5b
push ebx
call fcn.00471a0e
add esp, 4
pop eax
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
push 0
mov ebx, 0x4742f0
call fcn.00471a14
add esp, 4
mov dword [ebp - 8], eax
push 0xa0000005
push 0
push dword [ebp - 4]
push 0x80000301
push 0
push dword [ebp - 8]
push 2
mov ebx, 0x4750d0
call fcn.00471a14
add esp, 0x1c
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x401bb3
mov eax, 0x52f573
jmp 0x4028aa
mov dword [ebp - 0x18], 0
push 0
lea eax, [ebp - 0x18]
push eax
push 1
push dword [ebp - 8]
push 0x40887d
call fcn.004028f7
mov dword [ebp - 0xc], eax
push 0
mov ebx, 0x475bc0
call fcn.00471a14
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp + 0x68], 0
mov eax, 0
sete al
mov dword [ebp - 0x18], eax
fild dword [ebp + 0x64]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fmul qword [0x52f62a]
fstp qword [ebp - 0x28]
cmp dword [ebp - 0x18], 0
je 0x401c21
mov edx, 0x40dd4c00
mov eax, 0
jmp 0x401c27
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
fld qword [ebp - 0x38]
call fcn.004015bc
mov dword [ebp + 0x64], eax
mov dword [ebp - 0x18], esp
push 0x4bf
push dword [ebp + 0x64]
push 0
lea eax, [ebp - 0xc]
push eax
push 1
mov eax, 0
call fcn.00471a08
cmp dword [ebp - 0x18], esp
je 0x401c6d
push 6
call fcn.00471a02
add esp, 4
mov dword [ebp - 0x14], eax
push 0
mov ebx, 0x475bc0
call fcn.00471a14
add esp, 4
mov dword [ebp - 0x20], eax
fild dword [ebp - 0x20]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fild dword [ebp - 0x10]
fstp qword [ebp - 0x28]
fsub qword [ebp - 0x28]
fstp qword [ebp - 0x30]
fild dword [ebp + 0x64]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x30]
fsub qword [ebp - 0x38]
fcomp qword [0x52f632]
fnstsw ax
test ah, 1
jne 0x401cbe
mov dword [ebp - 0x14], 0x102
push 0
mov ebx, 0x475c00
call fcn.00471a14
add esp, 4
cmp dword [ebp - 0x14], 0
je 0x401cee
cmp dword [ebp - 0x14], 0x102
je 0x401cee
mov eax, 1
jmp 0x401cf0
xor eax, eax
test eax, eax
jne 0x401c38
cmp dword [ebp - 0x14], 0x102
jne 0x401e0e
push dword [ebp - 0xc]
call fcn.00402942
mov dword [ebp - 0x18], esp
push dword [ebp - 0xc]
mov eax, 1
call fcn.00471a08
cmp dword [ebp - 0x18], esp
je 0x401d2f
push 6
call fcn.00471a02
add esp, 4
mov ecx, 1
push ecx
shl ecx, 2
add ecx, 8
push ecx
call fcn.004719fc
add esp, 4
mov edi, eax
mov dword [edi], 1
add edi, 4
pop ecx
push eax
push ecx
mov dword [edi], 1
add edi, 4
mov ebx, dword [ebp - 4]
call fcn.0040159c
pop edx
test ecx, ecx
je 0x401d89
push edi
push edx
push ecx
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x401d7f
push ebx
call fcn.00471a0e
add esp, 4
pop ebx
pop ecx
add ebx, 4
dec ecx
jne 0x401d6e
pop edx
pop edi
test edx, edx
je 0x401d97
mov ecx, edx
xor eax, eax
rep stosd dword es:[edi], eax
push dword [ebp - 4]
call fcn.00471a0e
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 4]
call fcn.0040159c
mov eax, 0
cmp eax, ecx
jl 0x401dc4
push 1
call fcn.00471a02
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x18], ebx
push VariantClear
push 0
push 0x52f63a
push 1
mov ebx, 0x473160
call fcn.00471a14
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0x18]
mov ebx, dword [ebx]
test ebx, ebx
je 0x401e03
push ebx
call fcn.00471a0e
add esp, 4
pop eax
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
jmp 0x402835
push 0x80000301
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x4744f0
call fcn.00471a14
add esp, 0x10
push 0xa0000005
push 0
lea eax, [ebp - 4]
push eax
push 0x80000301
push 0
push dword [ebp - 8]
push 2
mov ebx, 0x474b80
call fcn.00471a14
add esp, 0x1c
test eax, eax
je 0x402835
push 0x80000301
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x474340
call fcn.00471a14
add esp, 0x10
mov ebx, dword [ebp - 4]
call fcn.004015e3
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 7
jne 0x402835
cmp dword [ebp + 0x38], 0
mov eax, 0
sete al
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x401f10
mov ebx, dword [ebp - 4]
call fcn.0040159c
mov eax, 5
cmp eax, ecx
jl 0x401ec1
push 1
call fcn.00471a02
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x18], ebx
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebx]
test eax, eax
jne 0x401ede
mov eax, 0x52f699
push eax
push 1
mov ebx, 0x473aa0
call fcn.00471a14
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp + 0x34]
mov ebx, dword [ebx]
test ebx, ebx
je 0x401f0a
push ebx
call fcn.00471a0e
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
cmp dword [ebp + 0x58], 0
mov eax, 0
sete al
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x402230
mov ebx, dword [ebp - 4]
call fcn.0040159c
mov eax, 5
cmp eax, ecx
jl 0x401f47
push 1
call fcn.00471a02
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x18], ebx
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebx]
test eax, eax
jne 0x401f64
mov eax, 0x52f699
push eax
push 1
mov ebx, 0x473aa0
call fcn.00471a14
add esp, 0x10
mov dword [ebp - 0x1c], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push VariantClear
push 0
push str.ocation
push VariantClear
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x401fab
mov eax, 0x52f573
push eax
push 4
mov ebx, 0x472570
call fcn.00471a14
add esp, 0x34
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x401fd1
push ebx
call fcn.00471a0e
add esp, 4
cmp dword [ebp - 0x20], 0xffffffff
je 0x402212
mov ebx, dword [ebp - 4]
call fcn.0040159c
mov eax, 5
cmp eax, ecx
jl 0x401ff9
push 1
call fcn.00471a02
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x18], ebx
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebx]
test eax, eax
jne 0x402016
mov eax, 0x52f699
push eax
push 1
mov ebx, 0x473aa0
call fcn.00471a14
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
push 1
mov eax, 0x52f53b
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push 1
mov eax, str.ocation:
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0040294b
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x402070
push ebx
call fcn.00471a0e
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x402080
push ebx
call fcn.00471a0e
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x402090
push ebx
call fcn.00471a0e
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp + 0x54]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4020a6
push ebx
call fcn.00471a0e
add esp, 4
pop eax
mov ebx, dword [ebp + 0x54]
mov dword [ebx], eax
push 0x80000301
push 0
push 4
push VariantClear
push 0
mov ebx, dword [ebp + 0x54]
mov eax, dword [ebx]
test eax, eax
jne 0x4020cd
mov eax, 0x52f573
push eax
push 2
mov ebx, 0x472280
call fcn.00471a14
add esp, 0x1c
mov dword [ebp - 0x18], eax
push VariantClear
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x4020f6
mov eax, 0x52f573
push eax
push 1
mov ebx, 0x472730
call fcn.00471a14
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40211c
push ebx
call fcn.00471a0e
add esp, 4
push str.http
push dword [ebp - 0x1c]
call fcn.004014ff
add esp, 8
cmp eax, 0
mov eax, 0
setne al
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40214a
push ebx
call fcn.00471a0e
add esp, 4
cmp dword [ebp - 0x20], 0
je 0x40220d
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
push 1
mov eax, 0x52f6b8
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x20], 0
push 0
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 8]
call fcn.0040294b
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x402196
push ebx
call fcn.00471a0e
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4021a6
push ebx
call fcn.00471a0e
add esp, 4
push dword [ebp + 8]
call fcn.00402e54
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp + 0x54]
push dword [ebx]
push dword [ebp - 0x28]
push 0x52f6b8
push dword [ebp - 0x24]
mov ecx, 4
call fcn.004010af
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4021e1
push ebx
call fcn.00471a0e
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4021f1
push ebx
call fcn.00471a0e
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp + 0x54]
mov ebx, dword [ebx]
test ebx, ebx
je 0x402207
push ebx
call fcn.00471a0e
add esp, 4
pop eax
mov ebx, dword [ebp + 0x54]
mov dword [ebx], eax
jmp 0x402230
mov eax, 0x52f573
push eax
mov ebx, dword [ebp + 0x54]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40222a
push ebx
call fcn.00471a0e
add esp, 4
pop eax
mov ebx, dword [ebp + 0x54]
mov dword [ebx], eax
cmp dword [ebp + 0x28], 0
mov eax, 0
sete al
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x4022b6
mov ebx, dword [ebp - 4]
call fcn.0040159c
mov eax, 1
cmp eax, ecx
jl 0x402267
push 1
call fcn.00471a02
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x18], ebx
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebx]
test eax, eax
jne 0x402284
mov eax, 0x52f699
push eax
push 1
mov ebx, 0x473aa0
call fcn.00471a14
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4022b0
push ebx
call fcn.00471a0e
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
push dword [ebp + 8]
call fcn.00402e54
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], 0
push 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00403281
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4022ea
push ebx
call fcn.00471a0e
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4022fa
push ebx
call fcn.00471a0e
add esp, 4
mov ebx, dword [ebp - 4]
call fcn.0040159c
mov eax, 1
cmp eax, ecx
jl 0x402318
push 1
call fcn.00471a02
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x402335
mov eax, 0x52f699
push eax
push 1
mov ebx, 0x473aa0
call fcn.00471a14
add esp, 0x10
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0040377d
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40236b
push ebx
call fcn.00471a0e
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40237b
push ebx
call fcn.00471a0e
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x402391
push ebx
call fcn.00471a0e
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
push dword [ebp + 8]
call fcn.00402e54
mov dword [ebp - 0x18], eax
push dword [ebp + 0x24]
lea eax, [ebp - 0x18]
push eax
call fcn.004041f1
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4023be
push ebx
call fcn.00471a0e
add esp, 4
cmp dword [ebp + 0x44], 1
je 0x402530
mov ebx, dword [ebp - 4]
call fcn.0040159c
mov eax, 5
cmp eax, ecx
jl 0x4023e6
push 1
call fcn.00471a02
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x1c], ebx
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
test eax, eax
jne 0x402403
mov eax, 0x52f699
push eax
push 1
mov ebx, 0x473aa0
call fcn.00471a14
add esp, 0x10
mov dword [ebp - 0x20], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push VariantClear
push 0
push str.charsetutf
push VariantClear
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x40244a
mov eax, 0x52f573
push eax
push 4
mov ebx, 0x472570
call fcn.00471a14
add esp, 0x34
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x402470
push ebx
call fcn.00471a0e
add esp, 4
cmp dword [ebp - 0x24], 0xffffffff
jne 0x402530
mov ebx, dword [ebp - 4]
call fcn.0040159c
mov eax, 5
cmp eax, ecx
jl 0x402498
push 1
call fcn.00471a02
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x2c], ebx
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp - 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x4024b5
mov eax, 0x52f699
push eax
push 1
mov ebx, 0x473aa0
call fcn.00471a14
add esp, 0x10
mov dword [ebp - 0x30], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push VariantClear
push 0
push str.charsetUTF
push VariantClear
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x4024fc
mov eax, 0x52f573
push eax
push 4
mov ebx, 0x472570
call fcn.00471a14
add esp, 0x34
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x402522
push ebx
call fcn.00471a0e
add esp, 4
cmp dword [ebp - 0x34], 0xffffffff
jne 0x402530
xor eax, eax
jmp 0x402535
mov eax, 1
test eax, eax
je 0x402636
mov ebx, dword [ebp - 4]
call fcn.0040159c
mov eax, 0
cmp eax, ecx
jl 0x40255b
push 1
call fcn.00471a02
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 4]
call fcn.0040159c
mov eax, 0
cmp eax, ecx
jl 0x402581
push 1
call fcn.00471a02
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
push 1
mov eax, 0x52f6d3
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push 1
mov eax, str.utf_8
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x1c]
call fcn.00405ddb
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4025cc
push ebx
call fcn.00471a0e
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4025dc
push ebx
call fcn.00471a0e
add esp, 4
push VariantClear
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x4025ef
mov eax, 0x52f573
push eax
push 1
mov ebx, 0x473160
call fcn.00471a14
add esp, 0x10
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x402615
push ebx
call fcn.00471a0e
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x18]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40262b
push ebx
call fcn.00471a0e
add esp, 4
pop eax
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
jmp 0x4027dc
mov ebx, dword [ebp - 4]
call fcn.0040159c
mov eax, 0
cmp eax, ecx
jl 0x402654
push 1
call fcn.00471a02
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x18], ebx
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebx]
test eax, eax
jne 0x402671
mov eax, 0x52f699
push eax
push 1
mov ebx, 0x473aa0
call fcn.00471a14
add esp, 0x10
mov dword [ebp - 0x1c], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push VariantClear
push 0
push str.text_html__charsetutf_8
push VariantClear
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x4026b8
mov eax, 0x52f573
push eax
push 4
mov ebx, 0x472570
call fcn.00471a14
add esp, 0x34
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4026de
push ebx
call fcn.00471a0e
add esp, 4
cmp dword [ebp - 0x20], 0xffffffff
je 0x4027dc
mov ebx, dword [ebp - 4]
call fcn.0040159c
mov eax, 0
cmp eax, ecx
jl 0x402706
push 1
call fcn.00471a02
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 4]
call fcn.0040159c
mov eax, 0
cmp eax, ecx
jl 0x40272c
push 1
call fcn.00471a02
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
push 1
mov eax, 0x52f6d3
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push 1
mov eax, str.utf_8
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x1c]
call fcn.00405ddb
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x402777
push ebx
call fcn.00471a0e
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x402787
push ebx
call fcn.00471a0e
add esp, 4
push VariantClear
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x40279a
mov eax, 0x52f573
push eax
push 1
mov ebx, 0x473160
call fcn.00471a14
add esp, 0x10
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4027c0
push ebx
call fcn.00471a0e
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x18]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4027d6
push ebx
call fcn.00471a0e
add esp, 4
pop eax
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 4]
call fcn.0040159c
mov eax, 0
cmp eax, ecx
jl 0x4027fa
push 1
call fcn.00471a02
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x18], ebx
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebx]
test eax, eax
jne 0x402817
mov eax, 0x52f699
push eax
push 1
mov ebx, 0x473aa0
call fcn.00471a14
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
jmp 0x4028aa
push 0x80000301
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x474340
call fcn.00471a14
add esp, 0x10
mov ebx, dword [ebp - 4]
call fcn.0040159c
mov eax, 0
cmp eax, ecx
jl 0x40286f
push 1
call fcn.00471a02
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x18], ebx
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebx]
test eax, eax
jne 0x40288c
mov eax, 0x52f699
push eax
push 1
mov ebx, 0x473aa0
call fcn.00471a14
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
jmp 0x4028aa
push eax
mov ebx, dword [ebp - 4]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4028c9
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4028c5
imul eax, dword [ebx]
jmp 0x4028ba
mov ecx, eax
test ecx, ecx
je 0x4028e8
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4028e1
push ebx
push eax
call fcn.00471a0e
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4028cf
call fcn.00471a0e
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x64