Function at 0x41be7f
Capabilities:
Parse url

Disassembly:
push ebp
sub esp, 0x5c
mov eax, 0x45250f
call fcn.0044c764
mov eax, 0x3904
call fcn.0043b0f0
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [edi + 0x1f0]
push 0x457422
call fcn.00401784
mov esi, 0x3ff
xor ebx, ebx
push esi
lea eax, [ebp - 0x110f]
push ebx
push eax
mov byte [ebp - 0x1110], bl
call fcn.0043ab70
push 0x27ff
lea eax, [ebp - 0x390f]
push ebx
push eax
mov byte [ebp - 0x3910], bl
call fcn.0043ab70
push 0x3c
lea eax, [ebp - 0xbc]
push ebx
push eax
call fcn.0043ab70
lea eax, [ebp - 0x1110]
mov dword [ebp - 0xac], eax
add esp, 0x24
cmp dword [edi + 0x1c], 0x10
lea eax, [ebp - 0x3910]
mov dword [ebp - 0xbc], 0x3c
mov dword [ebp - 0xa8], 0x400
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], 0x2800
jb 0x41bf32
mov eax, dword [edi + 8]
jmp 0x41bf35
lea eax, [edi + 8]
lea ecx, [ebp - 0xbc]
push ecx
push ebx
push ebx
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
je 0x41c625
push dword [ebp - 0xac]
lea ecx, [ebp + 0x38]
call fcn.0040162e
push 0xffffffffffffffff
push ebx
lea ecx, [edi + 0x104]
push eax
mov dword [ebp - 4], ebx
call fcn.004016f3
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp + 0x38]
call fcn.004017a7
push dword [ebp - 0x90]
lea ecx, [ebp]
call fcn.0040162e
push eax
lea eax, [ebp + 0x38]
push eax
mov dword [ebp - 4], 1
call fcn.0041d9e2
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [edi + 0x124]
mov byte [ebp - 4], 2
call fcn.004016f3
push ebx
push 1
lea ecx, [ebp + 0x38]
call fcn.004017a7
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp]
call fcn.004017a7
movzx eax, word [ebp - 0xa4]
mov dword [edi + 0x120], eax
cmp dword [edi + 0x88], ebx
je 0x41c233
push 0x4584f0
lea ecx, [ebp]
mov byte [edi + 0x1ec], 1
call fcn.0040162e
mov dword [ebp - 4], 3
push ebx
lea ecx, [ebp + 0x38]
mov dword [ebp + 0x50], 0xf
call fcn.004019d4
push ebx
lea eax, [edi + 0x74]
push str.http
push eax
mov byte [ebp - 4], 4
call fcn.00402bb2
cmp eax, 0xffffffff
jne 0x41c056
push ebx
push 0x457ef4
lea eax, [edi + 0x74]
push eax
call fcn.00402bb2
cmp eax, 0xffffffff
jne 0x41c04b
push eax
push ebx
lea eax, [edi + 0x74]
push eax
lea ecx, [ebp]
call fcn.00402eb3
jmp 0x41c0df
mov byte [edi + 0x1ec], bl
jmp 0x41c0df
push 0xffffffffffffffff
push eax
lea eax, [edi + 0x74]
push eax
lea esi, [ebp + 0x1c]
call fcn.00402ccf
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 5
call fcn.004016f3
push ebx
push 1
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.004017a7
push ebx
push 0x457ef4
lea eax, [ebp + 0x38]
push eax
call fcn.00402bb2
lea esi, [ebp + 0x1c]
cmp eax, 0xffffffff
jne 0x41c0ac
push eax
push 5
lea eax, [ebp + 0x38]
push eax
call fcn.00402ccf
mov byte [ebp - 4], 6
jmp 0x41c0bf
add eax, 0xfffffffb
push eax
push 5
lea eax, [ebp + 0x38]
push eax
call fcn.00402ccf
mov byte [ebp - 4], 7
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp]
call fcn.00402eb3
push ebx
push 1
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 4
call fcn.004017a7
mov esi, 0x3ff
cmp byte [edi + 0x1ec], bl
je 0x41c219
push esi
lea eax, [ebp - 0x50f]
push ebx
push eax
mov byte [ebp - 0x510], bl
call fcn.0043ab70
push esi
lea eax, [ebp - 0x90f]
push ebx
push eax
mov byte [ebp - 0x910], bl
call fcn.0043ab70
push esi
lea eax, [ebp - 0xd0f]
push ebx
push eax
mov byte [ebp - 0xd10], bl
call fcn.0043ab70
push 0x3c
pop esi
push esi
lea eax, [ebp - 0x80]
push ebx
push eax
call fcn.0043ab70
lea eax, [ebp - 0x510]
lea ecx, [ebp - 0x910]
mov dword [ebp - 0x70], eax
mov eax, 0x400
mov dword [ebp - 0x64], ecx
add esp, 0x30
cmp dword [ebp + 0x18], 0x10
lea ecx, [ebp - 0xd10]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 4]
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x5c], ecx
jae 0x41c170
lea eax, [ebp + 4]
lea ecx, [ebp - 0x80]
push ecx
push ebx
push ebx
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
jne 0x41c18c
mov byte [edi + 0x1ec], bl
jmp 0x41c219
push dword [ebp - 0x70]
lea ecx, [ebp + 0x1c]
call fcn.0040162e
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [edi + 0x178]
mov byte [ebp - 4], 8
call fcn.004016f3
push ebx
push 1
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 4
call fcn.004017a7
movzx eax, word [ebp - 0x68]
push dword [ebp - 0x64]
lea ecx, [ebp + 0x1c]
mov dword [edi + 0x194], eax
call fcn.0040162e
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [edi + 0x1b4]
mov byte [ebp - 4], 9
call fcn.004016f3
push ebx
push 1
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 4
call fcn.004017a7
push dword [ebp - 0x5c]
lea ecx, [ebp + 0x1c]
call fcn.0040162e
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [edi + 0x1d0]
mov byte [ebp - 4], 0xa
call fcn.004016f3
push ebx
push 1
lea ecx, [ebp + 0x1c]
call fcn.004017a7
push ebx
push 1
lea ecx, [ebp + 0x38]
call fcn.004017a7
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp]
call fcn.004017a7
lea ecx, [edi + 0x1f0]
push 0x457422
mov dword [ebp + 0x5c], ecx
call fcn.00401784
mov esi, 0x4575c8
cmp dword [edi + 0x34], ebx
je 0x41c2a1
lea eax, [edi + 0x20]
push eax
lea eax, [ebp + 0x38]
push str.Referer:
push eax
call fcn.00402fac
push esi
push eax
lea eax, [ebp + 0x1c]
push eax
mov dword [ebp - 4], 0xb
call fcn.00402fff
add esp, 0x18
mov ecx, dword [ebp + 0x5c]
push 0xffffffffffffffff
push ebx
push eax
mov byte [ebp - 4], 0xc
call fcn.00402eb3
push ebx
push 1
lea ecx, [ebp + 0x1c]
call fcn.004017a7
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp + 0x38]
call fcn.004017a7
mov eax, dword [edi + 0x120]
cmp eax, 0x50
jne 0x41c2f9
lea eax, [edi + 0x104]
push eax
lea eax, [ebp + 0x38]
push str.Host:
push eax
call fcn.00402fac
push esi
push eax
lea eax, [ebp + 0x1c]
push eax
mov dword [ebp - 4], 0xd
call fcn.00402fff
add esp, 0x18
mov ecx, dword [ebp + 0x5c]
push 0xffffffffffffffff
push ebx
push eax
mov byte [ebp - 4], 0xe
call fcn.00402eb3
push ebx
push 1
lea ecx, [ebp + 0x1c]
call fcn.004017a7
lea ecx, [ebp + 0x38]
jmp 0x41c397
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00401f85
mov dword [ebp + 0x58], eax
lea eax, [edi + 0x104]
push eax
lea eax, [ebp - 0x28]
push str.Host:
push eax
mov dword [ebp - 4], 0xf
call fcn.00402fac
push 0x457640
push eax
lea eax, [ebp]
push eax
mov byte [ebp - 4], 0x10
call fcn.00402fff
push dword [ebp + 0x58]
mov byte [ebp - 4], 0x11
push eax
lea eax, [ebp + 0x38]
push eax
call fcn.00402f5a
push esi
push eax
lea eax, [ebp + 0x1c]
push eax
mov byte [ebp - 4], 0x12
call fcn.00402fff
add esp, 0x38
mov ecx, dword [ebp + 0x5c]
push 0xffffffffffffffff
push ebx
push eax
mov byte [ebp - 4], 0x13
call fcn.00402eb3
push ebx
push 1
lea ecx, [ebp + 0x1c]
call fcn.004017a7
push ebx
push 1
lea ecx, [ebp + 0x38]
call fcn.004017a7
push ebx
push 1
lea ecx, [ebp]
call fcn.004017a7
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.004017a7
lea ecx, [ebp - 0x44]
or dword [ebp - 4], 0xffffffff
push ebx
push 1
call fcn.004017a7
cmp dword [edi + 0xa4], ebx
jne 0x41c3ba
mov ecx, dword [ebp + 0x5c]
push str.User_Agent:_Mozilla_4.0__compatible__MSIE_5.00__Windows_98__SoDA__r_n
call fcn.00402b8f
jmp 0x41c40e
lea eax, [edi + 0x90]
push eax
lea eax, [ebp - 0x28]
push str.User_Agent:
push eax
call fcn.00402fac
push esi
push eax
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 4], 0x14
call fcn.00402fff
add esp, 0x18
mov ecx, dword [ebp + 0x5c]
push 0xffffffffffffffff
push ebx
push eax
mov byte [ebp - 4], 0x15
call fcn.00402eb3
push ebx
push 1
lea ecx, [ebp - 0x44]
call fcn.004017a7
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.004017a7
mov ecx, dword [ebp + 0x5c]
push str.Connection:_Keep_Alive_r_n
call fcn.00402b8f
mov ecx, dword [ebp + 0x5c]
push str.Accept:___r_n
call fcn.00402b8f
cmp byte [edi + 0x1ec], bl
je 0x41c4da
push 0x457640
lea eax, [edi + 0x1b4]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00402fff
sub esp, 0x10
mov edx, esp
lea ecx, [edi + 0x1d0]
mov dword [ebp + 0x58], esp
push ecx
push eax
push edx
mov dword [ebp - 4], 0x16
call fcn.00402f5a
add esp, 0xc
lea eax, [ebp + 0x38]
push eax
call fcn.0041d09f
push ebx
push 1
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x18
call fcn.004017a7
lea eax, [ebp + 0x38]
push eax
lea eax, [ebp + 0x1c]
push str.Proxy_Authorization:_Basic
push eax
call fcn.00402fac
push esi
push eax
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 0x19
call fcn.00402fff
add esp, 0x18
mov ecx, dword [ebp + 0x5c]
push 0xffffffffffffffff
push ebx
push eax
mov byte [ebp - 4], 0x1a
call fcn.00402eb3
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.004017a7
push ebx
push 1
lea ecx, [ebp + 0x1c]
call fcn.004017a7
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp + 0x38]
call fcn.004017a7
cmp dword [edi + 0x6c], ebx
je 0x41c535
lea eax, [edi + 0x58]
push eax
lea eax, [ebp - 0x28]
push str.Cookie:
push eax
call fcn.00402fac
push esi
push eax
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 4], 0x1b
call fcn.00402fff
add esp, 0x18
mov ecx, dword [ebp + 0x5c]
push 0xffffffffffffffff
push ebx
push eax
mov byte [ebp - 4], 0x1c
call fcn.00402eb3
push ebx
push 1
lea ecx, [ebp - 0x44]
call fcn.004017a7
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.004017a7
jmp 0x41c60b
cmp dword [edi + 0x1c], 0x10
mov dword [ebp + 0x54], ebx
jb 0x41c543
mov eax, dword [edi + 8]
jmp 0x41c546
lea eax, [edi + 8]
lea ecx, [ebp + 0x54]
push ecx
push ebx
push ebx
push eax
call dword [sym.imp.WININET.dll_InternetGetCookieA]
test eax, eax
je 0x41c60b
mov eax, dword [ebp + 0x54]
inc dword [ebp + 0x54]
push eax
call fcn.0043a142
cmp dword [edi + 0x1c], 0x10
pop ecx
mov dword [ebp + 0x58], eax
jb 0x41c576
mov eax, dword [edi + 8]
jmp 0x41c579
lea eax, [edi + 8]
lea ecx, [ebp + 0x54]
push ecx
push dword [ebp + 0x58]
push ebx
push eax
call dword [sym.imp.WININET.dll_InternetGetCookieA]
push dword [ebp + 0x58]
lea ecx, [ebp - 0x110]
call fcn.0040162e
push eax
lea eax, [ebp - 0xf4]
push str.Cookie:
push eax
mov dword [ebp - 4], 0x1d
call fcn.00402fac
push esi
push eax
lea eax, [ebp - 0xd8]
push eax
mov byte [ebp - 4], 0x1e
call fcn.00402fff
add esp, 0x18
mov ecx, dword [ebp + 0x5c]
push 0xffffffffffffffff
push ebx
push eax
mov byte [ebp - 4], 0x1f
call fcn.00402eb3
push ebx
push 1
lea ecx, [ebp - 0xd8]
call fcn.004017a7
push ebx
push 1
lea ecx, [ebp - 0xf4]
call fcn.004017a7
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x110]
call fcn.004017a7
push dword [ebp + 0x58]
call fcn.0043b2b5
pop ecx
cmp dword [edi + 0xe0], ebx
je 0x41c625
mov ecx, dword [ebp + 0x5c]
push 0xffffffffffffffff
push ebx
add edi, 0xcc
push edi
call fcn.00402eb3
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add ebp, 0x60
leave
ret