Function at 0x42d980
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50e0e8
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push esi
push edi
mov eax, dword [0x574be0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
push 0x38
lea eax, [ebp - 0x58]
push 0
push eax
call fcn.004efe90
push 0x1000
mov dword [ebp - 0x5c], 0x3c
call fcn.004eaae6
push 0x1000
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], 0x800
call fcn.004eaae6
add esp, 0x14
lea ecx, [ebp - 0x5c]
push ecx
mov dword [ebp - 0x30], eax
mov eax, dword [esi]
push 0
mov dword [ebp - 0x2c], 0x800
push dword [eax - 0xc]
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x42db41
push dword [ebp - 0x4c]
call fcn.004eaae1
push dword [ebp - 0x30]
mov dword [ebp - 0x4c], 0
call fcn.004eaae1
add esp, 8
lea ecx, [ebp - 0x10]
push str.CrackUrl_InternetCrackUrl_
mov dword [ebp - 0x30], 0
call fcn.004204a0
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0
call fcn.0042b6a0
mov esi, eax
mov byte [ebp - 4], 1
mov edx, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [edx + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x14], edi
lea eax, [ebp - 0x10]
push eax
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.00421890
push esi
mov edx, eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.00421890
add esp, 8
mov ecx, dword [ebp + 0x10]
push eax
mov byte [ebp - 4], 4
call fcn.004222b0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
or esi, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, esi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x42dab0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42dad0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [edi - 0x10]
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42daed
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42db0d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x42db2e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x4c]
test edx, edx
jne 0x42db4c
xor ecx, ecx
jmp 0x42db60
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42db51
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.00420c80
mov edx, dword [ebp - 0x30]
test edx, edx
jne 0x42db74
xor ecx, ecx
jmp 0x42db8f
mov ecx, edx
lea esi, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42db80
sub ecx, esi
sar ecx, 1
push ecx
mov ecx, dword [ebp + 8]
push edx
call fcn.00420c80
movzx ecx, word [ebp - 0x44]
mov eax, dword [ebp + 0xc]
push dword [ebp - 0x4c]
mov dword [eax], ecx
call fcn.004eaae1
push dword [ebp - 0x30]
mov dword [ebp - 0x4c], 0
call fcn.004eaae1
add esp, 8
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret