Function at 0x4d2820
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5622c2
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push esi
push edi
mov eax, dword [0x5d0074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
mov edi, dword [eax + 4]
movlpd qword [ebp - 0x64], xmm0
movlpd qword [ebp - 0x5c], xmm0
movlpd qword [ebp - 0x50], xmm0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x54], 0x64
mov dword [ebp - 0x48], 0x64
mov dword [ebp - 0x40], 0x64
mov dword [ebp - 0x38], 0x64
mov dword [ebp - 0x30], 0x64
mov dword [ebp - 0x68], 0x3c
mov esi, dword [edi - 0xc]
call fcn.00411fd0
push eax
push esi
push edi
lea ecx, [ebp - 0x18]
call fcn.0040a150
mov dword [ebp - 4], 1
lea eax, [ebp - 0x68]
mov esi, dword [ebp - 0x18]
push eax
push 0
push 0
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
or ebx, 0xffffffff
test eax, eax
jne 0x4d28ed
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [ebp - 0x10]
mov dword [eax], edi
jmp 0x4d2e6c
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x4d2998
mov edi, dword [ebp - 0x54]
call fcn.00411fd0
push eax
push edi
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x20]
call fcn.0040a150
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x20]
add ecx, 0x10
mov dword [ebp - 0x1c], ecx
mov edx, dword [ecx]
lea edi, [eax - 0x10]
sub edx, 0x10
mov dword [ebp - 0x28], edx
cmp edi, edx
je 0x4d2980
cmp dword [edx + 0xc], 0
lea esi, [edx + 0xc]
mov dword [ebp - 0x24], esi
mov esi, dword [ebp - 0x18]
jl 0x4d2977
mov ecx, dword [edi]
cmp ecx, dword [edx]
jne 0x4d2974
mov ecx, edi
call fcn.0040a1d0
mov dword [ebp - 0x2c], eax
mov ecx, ebx
mov eax, dword [ebp - 0x24]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4d2967
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x2c]
add eax, 0x10
mov dword [ecx], eax
jmp 0x4d2980
mov ecx, dword [ebp - 0x1c]
push dword [eax - 0xc]
push eax
call fcn.004126c0
mov byte [ebp - 4], 1
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x4d2998
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x4d2a43
mov edi, dword [ebp - 0x38]
call fcn.00411fd0
push eax
push edi
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x2c]
call fcn.0040a150
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x2c]
add ecx, 0x14
mov dword [ebp - 0x1c], ecx
mov edx, dword [ecx]
lea edi, [eax - 0x10]
sub edx, 0x10
mov dword [ebp - 0x24], edx
cmp edi, edx
je 0x4d2a2b
cmp dword [edx + 0xc], 0
lea esi, [edx + 0xc]
mov dword [ebp - 0x28], esi
mov esi, dword [ebp - 0x18]
jl 0x4d2a22
mov ecx, dword [edi]
cmp ecx, dword [edx]
jne 0x4d2a1f
mov ecx, edi
call fcn.0040a1d0
mov dword [ebp - 0x20], eax
mov ecx, ebx
mov eax, dword [ebp - 0x28]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4d2a12
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
add eax, 0x10
mov dword [ecx], eax
jmp 0x4d2a2b
mov ecx, dword [ebp - 0x1c]
push dword [eax - 0xc]
push eax
call fcn.004126c0
mov byte [ebp - 4], 1
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x4d2a43
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x4d2b24
mov edi, dword [ebp - 0x48]
call fcn.00411fd0
push eax
push edi
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x1c]
call fcn.0040a150
mov byte [ebp - 4], 0xb
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x24]
call fcn.004d6b40
mov ecx, dword [ebp - 0x10]
add ecx, 0x1c
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x28], ecx
mov edx, dword [eax]
mov edi, dword [ecx]
sub edi, 0x10
lea eax, [edx - 0x10]
mov dword [ebp - 0x2c], eax
cmp eax, edi
je 0x4d2ada
cmp dword [edi + 0xc], 0
jl 0x4d2ad1
mov eax, dword [edx - 0x10]
cmp eax, dword [edi]
jne 0x4d2ad1
mov ecx, dword [ebp - 0x2c]
call fcn.0040a1d0
mov dword [ebp - 0x2c], eax
lea edx, [edi + 0xc]
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4d2ac7
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
add eax, 0x10
mov dword [ecx], eax
jmp 0x4d2ada
push dword [edx - 0xc]
push edx
call fcn.004126c0
mov eax, 1
mov dword [ebp - 0x14], eax
and eax, 0xfffffffe
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0xa
mov eax, ebx
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4d2b06
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, ebx
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4d2b24
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x4d2c05
mov edi, dword [ebp - 0x40]
call fcn.00411fd0
push eax
push edi
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x1c]
call fcn.0040a150
mov byte [ebp - 4], 0x10
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x24]
call fcn.004d6b40
mov ecx, dword [ebp - 0x10]
add ecx, 0x20
mov dword [ebp - 0x14], 2
mov dword [ebp - 0x28], ecx
mov edx, dword [eax]
mov edi, dword [ecx]
sub edi, 0x10
lea eax, [edx - 0x10]
mov dword [ebp - 0x2c], eax
cmp eax, edi
je 0x4d2bbb
cmp dword [edi + 0xc], 0
jl 0x4d2bb2
mov eax, dword [edx - 0x10]
cmp eax, dword [edi]
jne 0x4d2bb2
mov ecx, dword [ebp - 0x2c]
call fcn.0040a1d0
mov dword [ebp - 0x2c], eax
lea edx, [edi + 0xc]
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4d2ba8
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
add eax, 0x10
mov dword [ecx], eax
jmp 0x4d2bbb
push dword [edx - 0xc]
push edx
call fcn.004126c0
mov eax, 2
mov dword [ebp - 0x14], eax
and eax, 0xfffffffd
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0xf
mov eax, ebx
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4d2be7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, ebx
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4d2c05
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x4d2cb0
mov edi, dword [ebp - 0x30]
call fcn.00411fd0
push eax
push edi
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x2c]
call fcn.0040a150
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x2c]
add ecx, 0x18
mov dword [ebp - 0x1c], ecx
mov edx, dword [ecx]
lea edi, [eax - 0x10]
sub edx, 0x10
mov dword [ebp - 0x24], edx
cmp edi, edx
je 0x4d2c98
cmp dword [edx + 0xc], 0
lea esi, [edx + 0xc]
mov dword [ebp - 0x28], esi
mov esi, dword [ebp - 0x18]
jl 0x4d2c8f
mov ecx, dword [edi]
cmp ecx, dword [edx]
jne 0x4d2c8c
mov ecx, edi
call fcn.0040a1d0
mov dword [ebp - 0x20], eax
mov ecx, ebx
mov eax, dword [ebp - 0x28]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4d2c7f
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
add eax, 0x10
mov dword [ecx], eax
jmp 0x4d2c98
mov ecx, dword [ebp - 0x1c]
push dword [eax - 0xc]
push eax
call fcn.004126c0
mov byte [ebp - 4], 1
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x4d2cb0
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x5c]
mov ax, word [ebp - 0x50]
mov dword [edx + 8], ecx
mov word [edx + 0xc], ax
cmp ecx, 5
jne 0x4d2e6a
lea edi, [edx + 0x14]
mov edx, dword [edi]
mov ecx, dword [edx - 0xc]
cmp ecx, 3
jle 0x4d2e6a
test ecx, ecx
js 0x4d2e9c
cmp word [edx], 0x5c
jne 0x4d2e6a
cmp ecx, 1
jl 0x4d2ea6
cmp word [edx + 2], 0x5c
jne 0x4d2e6a
cmp ecx, 2
jl 0x4d2eb0
cmp word [edx + 4], 0x3f
je 0x4d2e6a
lea eax, [ecx - 2]
mov ecx, edi
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00409e50
mov byte [ebp - 4], 0x16
mov edi, dword [ebp - 0x10]
mov edx, dword [eax]
add edi, 0x10
mov ecx, dword [edi]
lea eax, [edx - 0x10]
sub ecx, 0x10
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x24], ecx
cmp eax, ecx
je 0x4d2d8e
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [ebp - 0x28], eax
jl 0x4d2d83
mov eax, dword [edx - 0x10]
cmp eax, dword [ecx]
jne 0x4d2d83
mov ecx, dword [ebp - 0x2c]
call fcn.0040a1d0
mov edx, dword [ebp - 0x28]
mov ecx, ebx
mov dword [ebp - 0x2c], eax
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4d2d7c
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x2c]
add eax, 0x10
mov dword [edi], eax
jmp 0x4d2d8e
push dword [edx - 0xc]
mov ecx, edi
push edx
call fcn.004126c0
mov byte [ebp - 4], 1
mov eax, ebx
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4d2dac
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
jl 0x4d2e6a
push 0x584bd8
push eax
call fcn.00522cd0
add esp, 8
test eax, eax
je 0x4d2e6a
sub eax, dword [edi]
sar eax, 1
test eax, eax
jle 0x4d2e6a
push eax
lea eax, [ebp - 0x20]
mov ecx, edi
push eax
call fcn.00409d90
mov byte [ebp - 4], 0x18
mov edx, dword [eax]
mov ecx, dword [edi]
sub ecx, 0x10
mov dword [ebp - 0x24], ecx
lea eax, [edx - 0x10]
mov dword [ebp - 0x2c], eax
cmp eax, ecx
je 0x4d2e4c
cmp dword [ecx + 0xc], 0
lea esi, [ecx + 0xc]
mov dword [ebp - 0x28], esi
mov esi, dword [ebp - 0x18]
jl 0x4d2e41
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x4d2e41
mov ecx, dword [ebp - 0x2c]
call fcn.0040a1d0
mov dword [ebp - 0x2c], eax
mov ecx, ebx
mov eax, dword [ebp - 0x28]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4d2e37
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x2c]
add eax, 0x10
mov dword [edi], eax
jmp 0x4d2e4c
push dword [edx - 0xc]
mov ecx, edi
push edx
call fcn.004126c0
mov byte [ebp - 4], 1
mov eax, ebx
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4d2e6a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor edi, edi
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x4d2e88
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.004126a0
push 0x80070057
call fcn.004126a0
push 0x80070057
call fcn.004126a0
int3