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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push 0xc
call fcn.004cd626
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx], 0xc5eb16
push ebx
add ebx, 4
push ebx
push 8
call fcn.004cd626
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x5d38e0
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
add ebx, 4
push ebx
push 8
call fcn.004cd626
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x5d38e0
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
pop ebx
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
jmp 0x430238
call fcn.004038b0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jne 0x43047b
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
mov eax, str.Mozilla_5.0__Windows_NT_6.1__WOW64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_47.0.2526.106_BIDUBrowser_8.3_Safari_537.36
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
mov eax, 0xc5eaf9
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x43028c
push ebx
call fcn.004cd620
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x43029c
push ebx
call fcn.004cd620
add esp, 4
push 1
push 1
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
push dword [ebp + 8]
call fcn.004304e4
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14]
push 0xc5fb4e
mov ecx, 2
call fcn.00403970
add esp, 8
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4302e2
push ebx
call fcn.004cd620
add esp, 4
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1c]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], 0
push 0
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x2c]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, 0x5d387b
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
mov eax, str.10003
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
call fcn.004258de
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x430360
push ebx
call fcn.004cd620
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x430370
push ebx
call fcn.004cd620
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x430380
push ebx
call fcn.004cd620
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x430390
push ebx
call fcn.004cd620
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4303a0
push ebx
call fcn.004cd620
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4303b0
push ebx
call fcn.004cd620
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4303c0
push ebx
call fcn.004cd620
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4303d4
push ebx
call fcn.004cd620
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
mov dword [ebp - 0x14], 0
push 0
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x18], 0
push 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 8]
push eax
call fcn.00418d0c
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x43041a
push ebx
call fcn.004cd620
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x43042a
push ebx
call fcn.004cd620
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x43043d
mov eax, 0x5d38e0
push eax
push 1
mov ebx, 0x4cfae0
call fcn.004cd638
add esp, 0x10
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x430463
push ebx
call fcn.004cd620
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x430477
push ebx
call fcn.004cd620
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x430497
push eax
mov ebx, eax
call fcn.00401719
inc eax
push eax
call fcn.004cd626
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x4304ac
push eax
mov ebx, dword [ebp - 4]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.004cd620
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4304cd
push ebx
call fcn.004cd620
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4304dd
push ebx
call fcn.004cd620
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4