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

Disassembly:
push 0x138
mov eax, 0x4725ca
call fcn.0044edbf
mov dword [ebp - 0x78], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x48], eax
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x54], edi
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x60], eax
lea ecx, [ebp - 0x6c]
call fcn.004028a9
xor ebx, ebx
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x40]
call fcn.004028a9
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.004028a9
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x80]
call fcn.004028a9
mov byte [ebp - 4], 3
mov esi, 0x477a5d
push esi
mov ecx, dword [ebp - 0x60]
call fcn.00402e55
mov dword [edi], 3
mov byte [ebp - 4], 4
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x5c], ebx
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x78]
call fcn.00422a91
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x6c]
call fcn.004078fa
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x34]
call fcn.004028d3
push 0x400
call fcn.0042ac33
pop ecx
mov dword [ebp - 0x68], eax
push esi
lea ecx, [ebp - 0x40]
call fcn.00402e55
mov esi, dword [ebp - 0x44]
push esi
lea ecx, [ebp - 0x38]
call fcn.004078fa
lea ecx, [ebp - 0x38]
call fcn.004094a1
lea ecx, [ebp - 0x38]
call fcn.004097d1
push ebx
push 0x47be14
lea ecx, [ebp - 0x38]
call fcn.0040760f
cmp eax, 0xffffffff
jne 0x423f3c
push 1
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x38]
call fcn.00421e88
mov byte [ebp - 4], 6
push 0x47be10
push eax
call fcn.00417b5d
pop ecx
pop ecx
mov byte [ebp - 0x49], al
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x34]
call fcn.004028d3
lea ecx, [ebp - 0x3c]
cmp byte [ebp - 0x49], bl
je 0x423ef5
push str.http:
call fcn.00403654
mov byte [ebp - 4], 7
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00409668
add esp, 0xc
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x38]
call fcn.004078fa
mov byte [ebp - 4], 7
jmp 0x423f28
push 0x47a050
call fcn.00403654
mov byte [ebp - 4], 9
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00409668
add esp, 0xc
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x38]
call fcn.004078fa
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x34]
call fcn.004028d3
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3c]
call fcn.004028d3
mov eax, dword [esi]
cmp dword [eax - 0xc], ebx
je 0x424225
lea ecx, [ebp - 0x3c]
call fcn.004028a9
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x58]
call fcn.004028a9
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x38]
call fcn.00445f95
test eax, eax
je 0x424205
cmp dword [ebp - 0x74], 3
je 0x423fa7
cmp dword [ebp - 0x74], 0x100b
jne 0x424205
push str.Mozilla
lea ecx, [ebp - 0x44]
call fcn.00403654
lea ecx, [ebp - 0x44]
call fcn.004028d3
push str.Mozilla_5.0__Windows_NT_6.1__WOW64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_35.0.1916.153_Safari_537.36
lea ecx, [ebp - 0x34]
call fcn.00403654
mov byte [ebp - 4], 0xd
push 0x14
call fcn.0042abf9
pop ecx
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 0xe
cmp eax, ebx
je 0x423fe4
push ebx
push ebx
push ebx
push ebx
push 1
lea ecx, [ebp - 0x34]
call fcn.004207d8
push eax
mov ecx, dword [ebp - 0x44]
call fcn.0044598c
jmp 0x423fe6
xor eax, eax
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x7c], eax
push ebx
push ebx
push dword [ebp - 0x64]
push dword [ebp - 0x3c]
mov ecx, eax
call fcn.0044660d
mov ecx, eax
mov dword [ebp - 0x70], ecx
push 0xa4000016
push ebx
push ebx
push 1
push ebx
push dword [ebp - 0x58]
push 2
call fcn.004468d7
mov esi, eax
mov dword [ebp - 0x5c], esi
push ebx
push ebx
push ebx
push ebx
mov ecx, esi
call fcn.00445f17
test eax, eax
je 0x4241f1
lea eax, [ebp - 0x44]
push eax
mov ecx, esi
call fcn.004451bb
test eax, eax
jne 0x424043
mov dword [ebp - 0x44], 0x190
mov ecx, dword [ebp - 0x44]
cmp ecx, 0x190
jb 0x424094
mov eax, ecx
sub eax, 0x193
je 0x42406d
dec eax
je 0x424065
push 3
pop edx
sub eax, edx
je 0x42406d
mov dword [edi], edx
jmp 0x424073
mov dword [edi], 5
jmp 0x424073
mov dword [edi], 6
mov dword [edi], ecx
push ebx
lea eax, [ebp - 0x40]
push eax
push 0x16
mov ecx, esi
call fcn.004460bb
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x48]
call fcn.004078fa
jmp 0x4241f7
mov dword [edi], ebx
push ebx
lea eax, [ebp - 0x40]
push eax
push 0x16
mov ecx, esi
call fcn.004460bb
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x8c], esp
push 0x47be68
call fcn.004038ab
mov byte [ebp - 4], 0xf
push dword [ebp - 0x40]
lea ecx, [ebp - 0x144]
call fcn.004023df
mov byte [ebp - 4], 0x10
push dword [eax]
lea ecx, [ebp - 0xc0]
call fcn.004038ab
mov byte [ebp - 4], 0x11
cmp dword [eax + 0x18], 0x10
jb 0x4240eb
mov eax, dword [eax + 4]
jmp 0x4240ee
add eax, 4
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x88], esp
push eax
call fcn.004038ab
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0xa4]
push eax
mov byte [ebp - 4], 0x14
call fcn.0040717c
add esp, 0x3c
mov byte [ebp - 4], 0x16
push ebx
push 1
lea ecx, [ebp - 0xc0]
call fcn.00402a7d
mov byte [ebp - 4], 0x17
lea eax, [ebp - 0x140]
cmp dword [ebp - 0x144], eax
je 0x424146
push dword [ebp - 0x144]
call fcn.0044e653
pop ecx
lea ecx, [ebp - 0x30]
call fcn.00402e36
mov byte [ebp - 4], 0x18
mov dword [ebp - 0x50], ebx
mov esi, str.Content_Length:
mov eax, dword [ebp - 0x94]
sub eax, dword [ebp - 0x98]
cdq
push 0x1c
pop ecx
idiv ecx
cmp dword [ebp - 0x50], eax
jae 0x4241c9
push dword [ebp - 0x50]
lea ecx, [ebp - 0xa4]
call fcn.0042488e
cmp dword [eax + 0x18], 0x10
jb 0x42418a
mov eax, dword [eax + 4]
jmp 0x42418d
add eax, 4
push eax
push 0x477bbc
push dword [ebp - 0x48]
call fcn.00403570
add esp, 0xc
push ebx
push esi
mov ecx, dword [ebp - 0x48]
call fcn.0040760f
test eax, eax
jl 0x4241e9
push 0x477c34
push esi
mov ecx, dword [ebp - 0x48]
call fcn.004076e5
mov ecx, dword [ebp - 0x48]
call fcn.004097d1
mov ecx, eax
call fcn.004094a1
mov byte [ebp - 4], 0x17
push ebx
push 1
lea ecx, [ebp - 0x30]
call fcn.00402a7d
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xa4]
call fcn.00406ddd
jmp 0x4241f7
inc dword [ebp - 0x50]
jmp 0x42415a
mov dword [edi], 3
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x34]
call fcn.004028d3
jmp 0x42420b
mov dword [edi], 1
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x58]
call fcn.004028d3
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3c]
call fcn.004028d3
jmp 0x42422b
mov dword [edi], 2
mov dword [ebp - 4], 3
jmp 0x4242d1
cmp dword [ebp - 0x68], ebx
je 0x4242df
push dword [ebp - 0x68]
call fcn.0042ac28
pop ecx
mov esi, dword [ebp - 0x5c]
cmp esi, ebx
je 0x4242f6
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x4c]
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
mov esi, dword [ebp - 0x70]
cmp esi, ebx
je 0x42430d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
mov esi, dword [ebp - 0x7c]
cmp esi, ebx
je 0x424324
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
push dword [edi]
lea eax, [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x78]
call fcn.00422461
mov byte [ebp - 4], 0x1d
push eax
mov ecx, dword [ebp - 0x60]
call fcn.004078fa
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x64]
call fcn.004028d3
xor esi, esi
cmp dword [edi], ebx
jne 0x424352
inc esi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x80]
call fcn.004028d3
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.004028d3
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x40]
call fcn.004028d3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.004028d3
mov eax, esi
call fcn.0044ee1b
ret 0x10