Function at 0x4d9e20
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x14b0
call fcn.0041db60
mov eax, dword [0x529474]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
push edi
mov dword [ebp - 0x1460], ecx
mov ecx, dword [ebp + 0xc]
xor edi, edi
push 0x200000
mov dword [ebp - 0x1468], eax
mov dword [ebp - 0x146c], ecx
mov dword [ebp - 0x1470], edx
mov dword [ebp - 0x1474], ebx
mov dword [ebp - 0x1464], edi
call fcn.00412a53
mov esi, eax
add esp, 4
test esi, esi
je 0x4da08e
push 0x200000
push edi
push esi
call fcn.00416190
push 0x38
lea eax, [ebp - 0x14ac]
push edi
push eax
mov dword [0x53c7d8], edi
call fcn.00416190
push 0x823
lea ecx, [ebp - 0xc27]
push edi
push ecx
mov byte [ebp - 0xc28], 0
call fcn.00416190
push 0x823
lea edx, [ebp - 0x144b]
push edi
push edx
mov byte [ebp - 0x144c], 0
call fcn.00416190
add esp, 0x30
lea eax, [ebp - 0xc28]
lea edx, [ebp - 0x14b0]
push edx
mov dword [ebp - 0x14a0], eax
mov eax, 0x824
push edi
mov dword [ebp - 0x149c], eax
mov dword [ebp - 0x1480], eax
mov eax, dword [ebp - 0x1468]
push edi
lea ecx, [ebp - 0x144c]
push eax
mov dword [ebp - 0x14b0], 0x3c
mov dword [ebp - 0x1484], ecx
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
je 0x4da038
push 0x3ff
lea ecx, [ebp - 0x403]
push edi
push ecx
mov byte [ebp - 0x404], 0
call fcn.00416190
mov al, byte [0x52597a]
mov dx, word [0x525978]
mov byte [ebp - 0x144e], al
lea eax, [ebp - 0x1450]
push eax
mov ecx, 0x3a
mov word [ebp - 0x145c], cx
mov word [ebp - 0x1450], dx
mov ecx, eax
push ecx
mov ecx, dword [ebp - 0x14a0]
push str.close
mov edx, 0x20
mov word [ebp - 0x1458], dx
lea edx, [ebp - 0x145c]
push edx
push str.Connection
push eax
push ecx
push edx
mov edx, dword [ebp - 0x1484]
push str.Host
push eax
push str._1.1
push str.HTTP
lea ecx, [ebp - 0x1458]
push ecx
push edx
mov eax, ecx
push eax
push 0x51b6b4
push str._s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s
lea ecx, [ebp - 0x404]
push 0x400
push ecx
mov dword [ebp - 0x1454], 0x200000
call fcn.004139a5
lea eax, [ebp - 0x404]
add esp, 0x58
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4d9ff0
mov ecx, dword [ebp - 0x1498]
sub eax, edx
lea edx, [ebp - 0x1454]
push edx
mov edx, dword [ebp - 0x14a0]
push esi
push eax
lea eax, [ebp - 0x404]
push eax
push ecx
mov ecx, dword [ebp - 0x1460]
push edx
call fcn.004d9c30
test al, al
je 0x4da038
mov edi, dword [ebp - 0x1454]
cmp edi, dword [0x53e7e8]
ja 0x4da12f
push 0x200000
push 0
push esi
call fcn.00416190
add esp, 0xc
push 0
push 0
push 0
push 1
push 0
call dword [0x53c7c0]
mov dword [ebp - 0x1454], eax
test eax, eax
je 0x4da08e
mov ecx, dword [ebp - 0x1468]
push 0
push 0x4000000
push 0
push 0
push ecx
push eax
call dword [0x53c7c4]
mov ebx, eax
test ebx, ebx
jne 0x4da0a3
mov edx, dword [ebp - 0x1454]
push edx
call dword [0x53c7cc]
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004123d1
mov esp, ebp
pop ebp
ret 0x10
mov dword [0x53c7d8], 0
lea ecx, [ecx]
lea eax, [ebp - 0x1464]
push eax
mov ecx, 0x200000
sub ecx, edi
push ecx
lea edx, [esi + edi]
push edx
push ebx
mov dword [ebp - 0x1464], 0
call dword [0x53c7c8]
mov dword [ebp - 0x1460], eax
mov eax, dword [ebp - 0x1464]
add edi, eax
test eax, eax
jne 0x4da0b0
push ebx
call dword [0x53c7cc]
mov eax, dword [ebp - 0x1454]
push eax
call dword [0x53c7cc]
cmp dword [ebp - 0x1460], 0
je 0x4da10b
cmp edi, dword [0x53e7e8]
ja 0x4da129
push esi
call fcn.00412a19
add esp, 4
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004123d1
mov esp, ebp
pop ebp
ret 0x10
mov ebx, dword [ebp - 0x1474]
mov ecx, dword [ebp - 0x146c]
push edi
push esi
push ecx
call fcn.004d9570
add esp, 0xc
test al, al
je 0x4da10b
sub edi, dword [0x53e7e8]
mov dword [0x53c7d8], 0
push edi
mov dword [ebx], edi
call fcn.00412a53
mov edi, dword [ebp - 0x1470]
add esp, 4
mov dword [edi], eax
test eax, eax
je 0x4da10b
mov edx, dword [ebx]
push edx
push 0
push eax
call fcn.00416190
mov eax, dword [ebx]
mov ecx, dword [0x53e7e8]
mov edx, dword [edi]
push eax
add ecx, esi
push ecx
push edx
call fcn.0041c370
push esi
call fcn.00412a19
mov ecx, dword [ebp - 4]
add esp, 0x1c
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.004123d1
mov esp, ebp
pop ebp
ret 0x10