Function at 0x41c940
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a28a7
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push esi
push edi
mov eax, dword [0x4e3050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], 0
xorps xmm0, xmm0
mov edi, dword [ebx + 4]
movlpd qword [ebp - 0x5c], xmm0
movlpd qword [ebp - 0x54], xmm0
movlpd qword [ebp - 0x48], xmm0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x4c], 0x64
mov dword [ebp - 0x40], 0x64
mov dword [ebp - 0x38], 0x64
mov dword [ebp - 0x30], 0x64
mov dword [ebp - 0x28], 0x64
mov dword [ebp - 0x60], 0x3c
mov esi, dword [edi - 0xc]
call fcn.004042d0
mov ecx, eax
test ecx, ecx
je 0x41cfb4
test edi, edi
jne 0x41c9e6
test esi, esi
jne 0x41cfcd
mov eax, dword [ecx]
push 2
push esi
call dword [eax]
test eax, eax
je 0x41cfbe
lea ecx, [eax + 0x10]
mov dword [ebp - 0x18], ecx
test esi, esi
js 0x41cfcd
cmp esi, dword [eax + 8]
jg 0x41cfcd
mov dword [eax + 4], esi
xor ecx, ecx
mov eax, dword [ebp - 0x18]
add esi, esi
mov word [esi + eax], cx
test esi, esi
je 0x41ca51
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x41ca41
push esi
test edi, edi
je 0x41ca36
push edi
push eax
call fcn.0047ef70
add esp, 0xc
jmp 0x41ca51
push 0
push eax
call fcn.0047f4f0
add esp, 0xc
call fcn.0048289d
mov dword [eax], 0x16
call fcn.0048279f
mov dword [ebp - 4], 1
lea eax, [ebp - 0x60]
push eax
push 0
push 0
push dword [ebp - 0x18]
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
or edi, 0xffffffff
test eax, eax
jne 0x41ca7f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebx], esi
jmp 0x41cf81
mov esi, dword [ebp - 0x50]
mov dword [ebp - 0x1c], esi
test esi, esi
je 0x41cb3d
mov ebx, dword [ebp - 0x4c]
call fcn.004042d0
mov ecx, eax
test ecx, ecx
je 0x41cfb4
test esi, esi
jne 0x41caab
test ebx, ebx
jne 0x41cfcd
mov eax, dword [ecx]
push 2
push ebx
call dword [eax]
test eax, eax
je 0x41cfbe
lea esi, [eax + 0x10]
mov dword [ebp - 0x20], esi
test ebx, ebx
js 0x41cfcd
cmp ebx, dword [esi - 8]
jg 0x41cfcd
mov dword [esi - 0xc], ebx
xor eax, eax
add ebx, ebx
mov word [ebx + esi], ax
test ebx, ebx
je 0x41cb0f
mov eax, dword [ebp - 0x1c]
push ebx
test eax, eax
je 0x41caf4
push eax
push esi
call fcn.0047ef70
add esp, 0xc
jmp 0x41cb0f
push 0
push esi
call fcn.0047f4f0
add esp, 0xc
call fcn.0048289d
mov dword [eax], 0x16
call fcn.0048279f
mov byte [ebp - 4], 3
lea eax, [ebp - 0x20]
mov ebx, dword [ebp - 0x14]
push eax
lea ecx, [ebx + 0x10]
call fcn.00409090
mov byte [ebp - 4], 1
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41cb3d
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x34]
mov dword [ebp - 0x20], esi
test esi, esi
je 0x41cbfb
mov ebx, dword [ebp - 0x30]
call fcn.004042d0
mov ecx, eax
test ecx, ecx
je 0x41cfb4
test esi, esi
jne 0x41cb69
test ebx, ebx
jne 0x41cfcd
mov eax, dword [ecx]
push 2
push ebx
call dword [eax]
test eax, eax
je 0x41cfbe
lea esi, [eax + 0x10]
mov dword [ebp - 0x1c], esi
test ebx, ebx
js 0x41cfcd
cmp ebx, dword [esi - 8]
jg 0x41cfcd
mov dword [esi - 0xc], ebx
xor eax, eax
add ebx, ebx
mov word [ebx + esi], ax
test ebx, ebx
je 0x41cbcd
mov eax, dword [ebp - 0x20]
push ebx
test eax, eax
je 0x41cbb2
push eax
push esi
call fcn.0047ef70
add esp, 0xc
jmp 0x41cbcd
push 0
push esi
call fcn.0047f4f0
add esp, 0xc
call fcn.0048289d
mov dword [eax], 0x16
call fcn.0048279f
mov byte [ebp - 4], 6
lea eax, [ebp - 0x1c]
mov ebx, dword [ebp - 0x14]
push eax
lea ecx, [ebx + 0x14]
call fcn.00409090
mov byte [ebp - 4], 1
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41cbfb
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x44]
mov dword [ebp - 0x20], esi
test esi, esi
je 0x41ccf7
mov ebx, dword [ebp - 0x40]
call fcn.004042d0
mov ecx, eax
test ecx, ecx
je 0x41cfb4
test esi, esi
jne 0x41cc27
test ebx, ebx
jne 0x41cfcd
mov eax, dword [ecx]
push 2
push ebx
call dword [eax]
test eax, eax
je 0x41cfbe
lea esi, [eax + 0x10]
mov dword [ebp - 0x24], esi
test ebx, ebx
js 0x41cfcd
cmp ebx, dword [esi - 8]
jg 0x41cfcd
mov dword [esi - 0xc], ebx
xor eax, eax
add ebx, ebx
mov word [ebx + esi], ax
test ebx, ebx
je 0x41cc8b
mov eax, dword [ebp - 0x20]
push ebx
test eax, eax
je 0x41cc70
push eax
push esi
call fcn.0047ef70
add esp, 0xc
jmp 0x41cc8b
push 0
push esi
call fcn.0047f4f0
add esp, 0xc
call fcn.0048289d
mov dword [eax], 0x16
call fcn.0048279f
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x24]
lea ecx, [ebp - 0x1c]
call fcn.0041d2d0
mov ebx, dword [ebp - 0x14]
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x10], 2
lea ecx, [ebx + 0x1c]
call fcn.00409090
mov eax, 2
mov dword [ebp - 0x10], eax
and eax, 0xfffffffd
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 9
mov eax, edi
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41ccdc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41ccf7
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x3c]
mov dword [ebp - 0x24], esi
test esi, esi
je 0x41cde6
mov ebx, dword [ebp - 0x38]
call fcn.004042d0
mov ecx, eax
test ecx, ecx
je 0x41cfc3
test esi, esi
jne 0x41cd23
test ebx, ebx
jne 0x41cfcd
mov eax, dword [ecx]
push 2
push ebx
call dword [eax]
test eax, eax
je 0x41cfd7
lea esi, [eax + 0x10]
mov dword [ebp - 0x20], esi
test ebx, ebx
js 0x41cfcd
cmp ebx, dword [esi - 8]
jg 0x41cfcd
mov dword [esi - 0xc], ebx
xor eax, eax
add ebx, ebx
mov word [ebx + esi], ax
test ebx, ebx
je 0x41cd87
mov eax, dword [ebp - 0x24]
push ebx
test eax, eax
je 0x41cd6c
push eax
push esi
call fcn.0047ef70
add esp, 0xc
jmp 0x41cd87
push 0
push esi
call fcn.0047f4f0
add esp, 0xc
call fcn.0048289d
mov dword [eax], 0x16
call fcn.0048279f
mov byte [ebp - 4], 0xf
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0x1c]
call fcn.0041d2d0
mov ebx, dword [ebp - 0x14]
lea eax, [ebp - 0x1c]
or dword [ebp - 0x10], 1
push eax
lea ecx, [ebx + 0x20]
call fcn.00409090
and dword [ebp - 0x10], 0xfffffffe
mov byte [ebp - 4], 0xe
mov eax, edi
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41cdcb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41cde6
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x2c]
mov dword [ebp - 0x24], esi
test esi, esi
je 0x41cea4
mov ebx, dword [ebp - 0x28]
call fcn.004042d0
mov ecx, eax
test ecx, ecx
je 0x41cfb4
test esi, esi
jne 0x41ce12
test ebx, ebx
jne 0x41cfcd
mov eax, dword [ecx]
push 2
push ebx
call dword [eax]
test eax, eax
je 0x41cfbe
lea esi, [eax + 0x10]
mov dword [ebp - 0x20], esi
test ebx, ebx
js 0x41cfcd
cmp ebx, dword [esi - 8]
jg 0x41cfcd
mov dword [esi - 0xc], ebx
xor eax, eax
add ebx, ebx
mov word [ebx + esi], ax
test ebx, ebx
je 0x41ce76
mov eax, dword [ebp - 0x24]
push ebx
test eax, eax
je 0x41ce5b
push eax
push esi
call fcn.0047ef70
add esp, 0xc
jmp 0x41ce76
push 0
push esi
call fcn.0047f4f0
add esp, 0xc
call fcn.0048289d
mov dword [eax], 0x16
call fcn.0048279f
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0x20]
mov ebx, dword [ebp - 0x14]
push eax
lea ecx, [ebx + 0x18]
call fcn.00409090
mov byte [ebp - 4], 1
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41cea4
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x54]
mov ax, word [ebp - 0x48]
mov dword [ebx + 8], ecx
mov word [ebx + 0xc], ax
cmp ecx, 5
jne 0x41cf7f
mov edx, dword [ebx + 0x14]
lea ecx, [ebx + 0x14]
mov esi, dword [edx - 0xc]
cmp esi, 3
jle 0x41cf7f
cmp word [edx], 0x5c
jne 0x41cf7f
cmp word [edx + 2], 0x5c
jne 0x41cf7f
cmp word [edx + 4], 0x3f
je 0x41cf7f
lea eax, [esi - 2]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.004081e0
mov byte [ebp - 4], 0x15
add ebx, 0x10
push eax
mov ecx, ebx
call fcn.00409090
mov byte [ebp - 4], 1
mov eax, edi
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41cf27
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
jl 0x41cf7f
push 0x4c3188
push eax
call fcn.0047ebd7
add esp, 8
test eax, eax
je 0x41cf7f
sub eax, dword [ebx]
sar eax, 1
test eax, eax
jle 0x41cf7f
push eax
lea eax, [ebp - 0x24]
mov ecx, ebx
push eax
call fcn.0040a520
mov byte [ebp - 4], 0x17
mov ecx, ebx
push eax
call fcn.00409090
mov byte [ebp - 4], 1
mov eax, edi
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41cf7f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x41cfa0
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
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 0x80004005
call fcn.00402570
call fcn.00402590
push 0x80004005
call fcn.00402570
push 0x80070057
call fcn.00402570
call fcn.00402590
int3