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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov dword [ebp - 4], esp
push 0
mov eax, 0x11
call fcn.0040d8e7
cmp dword [ebp - 4], esp
je 0x40d0f9
push 6
call fcn.0040d8e1
add esp, 4
push 0xffffffffffffffff
push 0x12
push 0x16010700
push 0x52010001
call fcn.0040d8ed
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
jne 0x40d32e
push 1
push 1
call fcn.00405495
push 0x80000401
push edx
push eax
push 1
mov ebx, 0x40f0a0
call fcn.0040d8db
add esp, 0x10
mov dword [ebp - 0xc], eax
push 0xffffffffffffffff
push 8
push 0x16010667
push 0x52010001
call fcn.0040d8ed
add esp, 0x10
mov dword [ebp - 0x10], eax
push dword [ebp - 0xc]
push 0x4bf52f
push dword [ebp - 0x10]
mov ecx, 3
call fcn.0040306f
add esp, 0xc
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40d188
push ebx
call fcn.0040d8cf
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40d198
push ebx
call fcn.0040d8cf
add esp, 4
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push 0
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x20], 0
push 0
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
push 1
mov eax, str.Accept:_text_html__application_xhtmlxml____r_nReferer:_http:__www.babyneo.eu_Babymilch__Aptamil_Nestle_Hipp__39__XTCsid0d0f1d0ade488119c56a78ea426f6cb9_r_nAccept_Language:_zh_CN_r_nAccept_Encoding:_gzip__deflate_r_n
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
push 1
mov eax, str.Mozilla_5.0__compatible__MSIE_9.0__Windows_NT_6.1__WOW64__Trident_5.0_
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x34], 0
push 0
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x3c], 0
push 0
lea eax, [ebp - 0x3c]
push eax
push 1
mov eax, 0x4bf585
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004055be
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40d244
push ebx
call fcn.0040d8cf
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x40d254
push ebx
call fcn.0040d8cf
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x40d264
push ebx
call fcn.0040d8cf
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40d274
push ebx
call fcn.0040d8cf
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40d284
push ebx
call fcn.0040d8cf
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40d294
push ebx
call fcn.0040d8cf
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40d2a4
push ebx
call fcn.0040d8cf
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40d2b4
push ebx
call fcn.0040d8cf
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40d2c4
push ebx
call fcn.0040d8cf
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40d2d4
push ebx
call fcn.0040d8cf
add esp, 4
lea eax, [ebp - 0x44]
push eax
call fcn.0040a286
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x40d2f0
push ebx
call fcn.0040d8cf
add esp, 4
lea eax, [ebp - 0x48]
push eax
call fcn.0040a551
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x40d30c
push ebx
call fcn.0040d8cf
add esp, 4
mov eax, dword [ebp - 0x4c]
push eax
mov ebx, dword [0x4f7228]
test ebx, ebx
je 0x40d323
push ebx
call fcn.0040d8cf
add esp, 4
pop eax
mov dword [0x4f7228], eax
jmp 0x40d51f
push 1
push 1
call fcn.00405495
push 0x80000401
push edx
push eax
push 1
mov ebx, 0x40f0a0
call fcn.0040d8db
add esp, 0x10
mov dword [ebp - 0xc], eax
push 0xffffffffffffffff
push 8
push 0x16010667
push 0x52010001
call fcn.0040d8ed
add esp, 0x10
mov dword [ebp - 0x10], eax
push dword [ebp - 0xc]
push 0x4bf52f
push dword [ebp - 0x10]
mov ecx, 3
call fcn.0040306f
add esp, 0xc
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40d39a
push ebx
call fcn.0040d8cf
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40d3aa
push ebx
call fcn.0040d8cf
add esp, 4
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push 0
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x20], 0
push 0
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
push 1
mov eax, str.Accept:_text_html__application_xhtmlxml____r_nReferer:_http:__www.babyneo.eu_Babymilch__Aptamil_Nestle_Hipp__39__XTCsid0d0f1d0ade488119c56a78ea426f6cb9_r_nAccept_Language:_zh_CN_r_n
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
push 1
mov eax, str.Mozilla_5.0__compatible__MSIE_9.0__Windows_NT_6.1__WOW64__Trident_5.0_
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x34], 0
push 0
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x3c], 0
push 0
lea eax, [ebp - 0x3c]
push eax
push 1
mov eax, 0x4bf585
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004055be
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40d456
push ebx
call fcn.0040d8cf
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x40d466
push ebx
call fcn.0040d8cf
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x40d476
push ebx
call fcn.0040d8cf
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40d486
push ebx
call fcn.0040d8cf
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40d496
push ebx
call fcn.0040d8cf
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40d4a6
push ebx
call fcn.0040d8cf
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40d4b6
push ebx
call fcn.0040d8cf
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40d4c6
push ebx
call fcn.0040d8cf
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40d4d6
push ebx
call fcn.0040d8cf
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40d4e6
push ebx
call fcn.0040d8cf
add esp, 4
lea eax, [ebp - 0x44]
push eax
call fcn.0040a551
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x40d502
push ebx
call fcn.0040d8cf
add esp, 4
mov eax, dword [ebp - 0x48]
push eax
mov ebx, dword [0x4f7228]
test ebx, ebx
je 0x40d519
push ebx
call fcn.0040d8cf
add esp, 4
pop eax
mov dword [0x4f7228], eax
push reloc.WS2_32.dll_bind
push 0
push 1
mov ebx, 9
call fcn.00408af3
push reloc.WS2_32.dll_connect
push 0
push 0x4bf6ed
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [0x4f7228]
test eax, eax
jne 0x40d556
mov eax, 0x4bf504
push eax
push 6
mov ebx, 0x40e8c0
call fcn.0040d8db
add esp, 0x4c
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
mov ebx, dword [0x4f7228]
test ebx, ebx
je 0x40d583
push ebx
call fcn.0040d8cf
add esp, 4
pop eax
mov dword [0x4f7228], eax
mov dword [ebp - 4], esp
mov eax, 0x12
call fcn.0040d8e7
cmp dword [ebp - 4], esp
je 0x40d5a8
push 6
call fcn.0040d8e1
add esp, 4
mov eax, dword [0x4f7228]
test eax, eax
je 0x40d5c6
push eax
mov ebx, eax
call fcn.00403004
inc eax
push eax
call fcn.0040d8d5
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x40d5cb
mov esp, ebp
pop ebp
ret