Function at 0x411710
Capabilities:
Parse url
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x422bf0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push ebp
push esi
mov esi, dword [esp + 0x6c]
mov ebp, ecx
push edi
lea ecx, [ebp + 0x3c]
push esi
mov dword [esp + 0x14], ebp
call fcn.00403e90
mov ebx, 1
xor eax, eax
mov ecx, 0xe
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
mov eax, dword [esi]
mov dword [esp + 0x24], 0x3c
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x5c], ebx
mov edi, dword [eax - 0xc]
call dword [0x42b060]
mov esi, dword [esi]
lea ecx, [esp + 0x24]
push ecx
push 0
push edi
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x4117ab
pop edi
pop esi
mov byte [ebp + 4], al
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
add esp, 0x5c
ret 4
mov eax, dword [esp + 0x28]
test eax, eax
mov edx, dword [esp + 0x30]
mov dword [ebp + 0x34], edx
je 0x411806
mov ecx, dword [esp + 0x2c]
push 0x42cb58
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.004112a0
lea edx, [esp + 0x14]
lea ecx, [ebp + 8]
push edx
mov dword [esp + 0x6c], 0
call fcn.00403e90
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x68], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41187a
mov ecx, dword [eax]
push eax
jmp 0x411875
mov eax, dword [0x42cb58]
push 2
push 0
mov ecx, 0x42cb58
call dword [eax]
test eax, eax
jne 0x41181f
call fcn.004016a0
lea edi, [eax + 0x10]
mov eax, dword [edi - 8]
test eax, eax
mov dword [esp + 0x18], edi
jge 0x411837
push 0x80070057
call fcn.00401220
mov dword [edi - 0xc], 0
mov word [edi], 0
xor ecx, ecx
xor esi, esi
lea edx, [esp + 0x18]
lea ecx, [ebp + 8]
push edx
mov dword [esp + 0x6c], ebx
call fcn.00403e90
add edi, 0xfffffff0
mov dword [esp + 0x68], 0xffffffff
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41187a
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4118cc
mov ecx, dword [esp + 0x44]
push 0x42cb58
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.004112a0
lea edx, [esp + 0x14]
lea ecx, [ebp + 0x10]
push edx
mov dword [esp + 0x6c], 2
call fcn.00403e90
mov eax, dword [esp + 0x14]
or ebx, 0xffffffff
add eax, 0xfffffff0
mov dword [esp + 0x68], ebx
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411942
mov ecx, dword [eax]
push eax
jmp 0x41193d
mov eax, dword [0x42cb58]
push 2
push 0
mov ecx, 0x42cb58
call dword [eax]
test eax, eax
jne 0x4118e5
call fcn.004016a0
lea edi, [eax + 0x10]
mov eax, dword [edi - 8]
test eax, eax
mov dword [esp + 0x18], edi
jge 0x4118fd
push 0x80070057
call fcn.00401220
mov dword [edi - 0xc], 0
mov word [edi], 0
xor ecx, ecx
xor esi, esi
lea edx, [esp + 0x18]
lea ecx, [ebp + 0x10]
push edx
mov dword [esp + 0x6c], 3
call fcn.00403e90
or ebx, 0xffffffff
add edi, 0xfffffff0
mov dword [esp + 0x68], ebx
lea eax, [edi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x411942
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [esp + 0x48]
test eax, eax
je 0x411991
mov ecx, dword [esp + 0x4c]
push 0x42cb58
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.004112a0
lea edx, [esp + 0x14]
lea ecx, [ebp + 0x14]
push edx
mov dword [esp + 0x6c], 4
call fcn.00403e90
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x68], ebx
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411a04
mov ecx, dword [eax]
push eax
jmp 0x4119ff
mov eax, dword [0x42cb58]
push 2
push 0
mov ecx, 0x42cb58
call dword [eax]
test eax, eax
jne 0x4119aa
call fcn.004016a0
lea edi, [eax + 0x10]
mov eax, dword [edi - 8]
test eax, eax
mov dword [esp + 0x18], edi
jge 0x4119c2
push 0x80070057
call fcn.00401220
mov dword [edi - 0xc], 0
mov word [edi], 0
xor ecx, ecx
xor esi, esi
lea edx, [esp + 0x18]
lea ecx, [ebp + 0x14]
push edx
mov dword [esp + 0x6c], 5
call fcn.00403e90
add edi, 0xfffffff0
mov dword [esp + 0x68], ebx
lea eax, [edi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x411a04
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [esp + 0x34]
test eax, eax
je 0x411a53
mov ecx, dword [esp + 0x38]
push 0x42cb58
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.004112a0
lea edx, [esp + 0x14]
lea ecx, [ebp + 0xc]
push edx
mov dword [esp + 0x6c], 6
call fcn.00403e90
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x68], ebx
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411ac6
mov ecx, dword [eax]
push eax
jmp 0x411ac1
mov eax, dword [0x42cb58]
push 2
push 0
mov ecx, 0x42cb58
call dword [eax]
test eax, eax
jne 0x411a6c
call fcn.004016a0
lea edi, [eax + 0x10]
mov eax, dword [edi - 8]
test eax, eax
mov dword [esp + 0x18], edi
jge 0x411a84
push 0x80070057
call fcn.00401220
mov dword [edi - 0xc], 0
mov word [edi], 0
xor ecx, ecx
xor esi, esi
lea edx, [esp + 0x18]
lea ecx, [ebp + 0xc]
push edx
mov dword [esp + 0x6c], 7
call fcn.00403e90
add edi, 0xfffffff0
mov dword [esp + 0x68], ebx
lea eax, [edi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x411ac6
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [esp + 0x50]
test eax, eax
je 0x411b13
mov ecx, dword [esp + 0x54]
push 0x42cb58
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.004112a0
lea edx, [esp + 0x14]
lea ecx, [ebp + 0x18]
push edx
mov dword [esp + 0x6c], 8
call fcn.00403e90
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x68], ebx
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x411b84
mov ecx, dword [eax]
push eax
jmp 0x411b7f
mov eax, dword [0x42cb58]
push 2
push 0
mov ecx, 0x42cb58
call dword [eax]
test eax, eax
jne 0x411b2c
call fcn.004016a0
lea edi, [eax + 0x10]
mov eax, dword [edi - 8]
test eax, eax
mov dword [esp + 0x18], edi
jge 0x411b44
push 0x80070057
call fcn.00401220
mov dword [edi - 0xc], 0
mov word [edi], 0
xor ecx, ecx
xor esi, esi
lea edx, [esp + 0x18]
lea ecx, [ebp + 0x18]
push edx
mov dword [esp + 0x6c], 9
call fcn.00403e90
add edi, 0xfffffff0
mov dword [esp + 0x68], ebx
lea eax, [edi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x411b84
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov ebx, dword [esp + 0x70]
mov ecx, dword [esp + 0x54]
mov eax, dword [ebx]
mov esi, dword [esp + 0x50]
lea edx, [ecx + ecx]
sub edx, eax
add edx, esi
sar edx, 1
push edx
push 0
lea eax, [esp + 0x78]
push eax
mov ecx, ebx
call fcn.00411310
lea ecx, [ebp + 0x24]
push eax
mov dword [esp + 0x6c], 0xa
call fcn.00403e90
mov eax, dword [esp + 0x70]
or edi, 0xffffffff
add eax, 0xfffffff0
mov dword [esp + 0x68], edi
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411bdf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x58]
test eax, eax
je 0x411c2e
mov ecx, dword [esp + 0x5c]
push 0x42cb58
push ecx
push eax
lea ecx, [esp + 0x7c]
call fcn.004112a0
lea edx, [esp + 0x70]
lea esi, [ebp + 0x1c]
push edx
mov ecx, esi
mov dword [esp + 0x6c], 0xb
call fcn.00403e90
mov eax, dword [esp + 0x70]
add eax, 0xfffffff0
mov dword [esp + 0x68], edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x411ca8
mov ecx, dword [eax]
push eax
jmp 0x411ca3
mov eax, dword [0x42cb58]
push 2
push 0
mov ecx, 0x42cb58
call dword [eax]
test eax, eax
jne 0x411c47
call fcn.004016a0
lea edi, [eax + 0x10]
mov eax, dword [edi - 8]
test eax, eax
mov dword [esp + 0x70], edi
jge 0x411c5f
push 0x80070057
call fcn.00401220
mov dword [edi - 0xc], 0
mov word [edi], 0
xor ecx, ecx
xor esi, esi
lea ecx, [esp + 0x70]
lea esi, [ebp + 0x1c]
push ecx
mov ecx, esi
mov dword [esp + 0x6c], 0xc
call fcn.00403e90
add edi, 0xfffffff0
mov dword [esp + 0x68], 0xffffffff
lea edx, [edi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x411ca8
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov ax, word [esp + 0x3c]
mov ecx, dword [esp + 0x50]
mov word [ebp + 0x38], ax
mov eax, dword [ebx]
sub ecx, eax
sar ecx, 1
push ecx
push 0
lea edx, [esp + 0x78]
push edx
mov ecx, ebx
call fcn.00411310
add ebp, 0x20
push eax
mov ecx, ebp
mov dword [esp + 0x6c], 0xd
call fcn.00403e90
mov eax, dword [esp + 0x70]
add eax, 0xfffffff0
mov dword [esp + 0x68], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411d03
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov esi, dword [esi]
mov ecx, dword [esi - 0xc]
lea eax, [esi + 2]
lea esi, [esi + ecx*2]
cmp eax, esi
mov dword [esp + 0x70], eax
mov dword [esp + 0x20], esi
jae 0x411fa8
mov edi, edi
push 0x3d
push eax
call fcn.00416833
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x411fa8
push 0x26
push ebp
call fcn.00416833
mov ebx, eax
add esp, 8
test ebx, ebx
mov dword [esp + 0x18], ebx
je 0x411f19
mov edi, edi
lea esi, [ebx + 2]
push 0x26
push esi
call fcn.00416833
push 0x3d
push esi
mov edi, eax
call fcn.00416833
add esp, 0x10
test edi, edi
je 0x411d84
test eax, eax
je 0x411f19
cmp eax, edi
jbe 0x411d80
mov ebx, edi
mov dword [esp + 0x18], ebx
jmp 0x411d50
jae 0x411d50
jmp 0x411d8c
test eax, eax
je 0x411f19
mov edi, ebx
sub edi, ebp
sar edi, 1
lea esi, [ebp + 2]
dec edi
test esi, esi
jne 0x411da2
test edi, edi
jne 0x411c55
mov eax, dword [0x42cb58]
push 2
push edi
mov ecx, 0x42cb58
call dword [eax]
test eax, eax
je 0x411c42
add eax, 0x10
test edi, edi
mov dword [esp + 0x14], eax
jl 0x411c55
cmp edi, dword [eax - 8]
jg 0x411c55
lea ecx, [edi + edi]
mov dword [eax - 0xc], edi
mov word [ecx + eax], 0
mov edx, ecx
shr ecx, 2
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x70]
sub ebp, eax
sar ebp, 1
test eax, eax
mov dword [esp + 0x68], 0xe
jne 0x411e09
test ebp, ebp
jne 0x411c55
mov eax, dword [0x42cb58]
push 2
push ebp
mov ecx, 0x42cb58
call dword [eax]
test eax, eax
je 0x411c42
test ebp, ebp
lea ebx, [eax + 0x10]
mov dword [esp + 0x1c], ebx
jl 0x411c55
cmp ebp, dword [ebx - 8]
jg 0x411c55
mov esi, dword [esp + 0x70]
mov dword [ebx - 0xc], ebp
lea ecx, [ebp + ebp]
mov word [ecx + ebx], 0
mov edx, ecx
shr ecx, 2
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0x30]
mov edx, dword [esi + 0x28]
add esi, 0x28
lea ecx, [eax*4 + 4]
push ecx
push edx
mov byte [esp + 0x70], 0xf
call fcn.00416e7b
add esp, 8
test eax, eax
je 0x411eb8
mov edx, dword [esi + 4]
mov dword [esi], eax
mov eax, dword [esi + 8]
lea ecx, [eax*4 + 4]
push ecx
push edx
call fcn.00416e7b
add esp, 8
test eax, eax
je 0x411eb8
mov edx, dword [esi + 8]
mov dword [esi + 4], eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push ecx
push edx
mov ecx, esi
call fcn.00411400
inc dword [esi + 8]
add ebx, 0xfffffff0
mov byte [esp + 0x68], 0xe
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x411ed7
mov ecx, dword [ebx]
mov edx, dword [ecx]
push ebx
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x68], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411efd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
add eax, 2
cmp eax, ecx
mov dword [esp + 0x70], eax
jae 0x411fa8
jmp 0x411d20
lea eax, [ebp + 2]
push eax
lea ecx, [esp + 0x24]
call fcn.004025a0
mov esi, eax
mov eax, dword [esp + 0x70]
sub ebp, eax
push 0x42cb58
sar ebp, 1
push ebp
mov ebx, 0x10
push eax
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], ebx
call fcn.004112a0
push esi
lea ecx, [esp + 0x74]
push ecx
mov ecx, dword [esp + 0x18]
add ecx, 0x28
mov byte [esp + 0x70], 0x11
call fcn.00411490
mov eax, dword [esp + 0x70]
add eax, 0xfffffff0
mov byte [esp + 0x68], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x411f82
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov dword [esp + 0x68], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411fa8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x60]
pop edi
pop esi
mov byte [eax + 4], 1
pop ebp
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x5c
ret 4