Function at 0x422e62
Capabilities:
Parse url

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
push edi
push 0x3c
pop esi
push esi
xor ebp, ebp
lea eax, [esp + 0x1c]
push ebp
push eax
mov ebx, ecx
call fcn.00425780
mov edi, dword [ebx + 4]
add esp, 0xc
mov dword [esp + 0x18], esi
push 0x64
pop eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x50], eax
mov esi, dword [edi - 0xc]
call fcn.0040522e
push eax
push esi
push edi
lea ecx, [esp + 0x20]
call fcn.0040a186
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
push ebp
push ebp
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x422ed6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov dword [ebx], ebp
jmp 0x4230ef
mov eax, dword [esp + 0x28]
mov dword [esp + 0x14], eax
test eax, eax
je 0x422f13
mov edi, dword [esp + 0x2c]
call fcn.0040522e
push eax
push edi
push dword [esp + 0x1c]
lea ecx, [esp + 0x1c]
call fcn.0040a186
lea eax, [esp + 0x10]
push eax
lea ecx, [ebx + 0x10]
call fcn.00409e7f
mov ecx, dword [esp + 0x10]
lea ecx, [ecx - 0x10]
call fcn.004052ff
mov eax, dword [esp + 0x44]
mov dword [esp + 0x14], eax
test eax, eax
je 0x422f50
mov edi, dword [esp + 0x48]
call fcn.0040522e
push eax
push edi
push dword [esp + 0x1c]
lea ecx, [esp + 0x1c]
call fcn.0040a186
lea eax, [esp + 0x10]
push eax
lea ecx, [ebx + 0x14]
call fcn.00409e7f
mov ecx, dword [esp + 0x10]
lea ecx, [ecx - 0x10]
call fcn.004052ff
mov eax, dword [esp + 0x34]
mov dword [esp + 0x14], eax
test eax, eax
je 0x422fa6
mov edi, dword [esp + 0x38]
call fcn.0040522e
push eax
push edi
push dword [esp + 0x1c]
lea ecx, [esp + 0x20]
call fcn.0040a186
lea edx, [esp + 0x14]
lea ecx, [esp + 0x10]
call fcn.004238b5
lea eax, [esp + 0x10]
push eax
lea ecx, [ebx + 0x1c]
call fcn.00409e7f
mov ecx, dword [esp + 0x10]
lea ecx, [ecx - 0x10]
call fcn.004052ff
mov ecx, dword [esp + 0x14]
lea ecx, [ecx - 0x10]
call fcn.004052ff
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x14], eax
test eax, eax
je 0x422ffc
mov edi, dword [esp + 0x40]
call fcn.0040522e
push eax
push edi
push dword [esp + 0x1c]
lea ecx, [esp + 0x1c]
call fcn.0040a186
lea edx, [esp + 0x10]
lea ecx, [esp + 0x14]
call fcn.004238b5
lea eax, [esp + 0x14]
push eax
lea ecx, [ebx + 0x20]
call fcn.00409e7f
mov ecx, dword [esp + 0x14]
lea ecx, [ecx - 0x10]
call fcn.004052ff
mov ecx, dword [esp + 0x10]
lea ecx, [ecx - 0x10]
call fcn.004052ff
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x14], eax
test eax, eax
je 0x423039
mov edi, dword [esp + 0x50]
call fcn.0040522e
push eax
push edi
push dword [esp + 0x1c]
lea ecx, [esp + 0x20]
call fcn.0040a186
lea eax, [esp + 0x14]
push eax
lea ecx, [ebx + 0x18]
call fcn.00409e7f
mov ecx, dword [esp + 0x14]
lea ecx, [ecx - 0x10]
call fcn.004052ff
mov ecx, dword [esp + 0x24]
mov ax, word [esp + 0x30]
mov dword [ebx + 8], ecx
mov word [ebx + 0xc], ax
cmp ecx, 5
jne 0x4230ef
lea edi, [ebx + 0x14]
mov eax, dword [edi]
cmp dword [eax - 0xc], 3
jle 0x4230ef
push ebp
mov ecx, edi
call fcn.00409eca
push 0x5c
pop ecx
cmp ax, cx
jne 0x4230ef
push 1
mov ecx, edi
call fcn.00409eca
push 0x5c
pop ecx
cmp ax, cx
jne 0x4230ef
push 2
mov ecx, edi
call fcn.00409eca
cmp ax, 0x3f
je 0x4230ef
mov eax, dword [edi]
mov ecx, edi
add ebx, 0x10
mov eax, dword [eax - 0xc]
add eax, 0xfffffffe
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00410db2
push eax
mov ecx, ebx
call fcn.00409e7f
mov ecx, dword [esp + 0x14]
lea ecx, [ecx - 0x10]
call fcn.004052ff
push ebp
push 0x43f234
mov ecx, ebx
call fcn.00409ae9
test eax, eax
jle 0x4230ef
push eax
lea eax, [esp + 0x18]
mov ecx, ebx
push eax
call fcn.0040995a
push eax
mov ecx, ebx
call fcn.00409e7f
mov ecx, dword [esp + 0x14]
lea ecx, [ecx - 0x10]
call fcn.004052ff
lea ecx, [esi - 0x10]
call fcn.004052ff
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x44
ret