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

Disassembly:
push 0xffffffffffffffff
push 0x425c40
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.00403f80
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 [0x430070]
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 0x4119eb
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 0x411a46
mov ecx, dword [esp + 0x2c]
push 0x4323c4
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.004114e0
lea edx, [esp + 0x14]
lea ecx, [ebp + 8]
push edx
mov dword [esp + 0x6c], 0
call fcn.00403f80
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 0x411aba
mov ecx, dword [eax]
push eax
jmp 0x411ab5
mov eax, dword [0x4323c4]
push 2
push 0
mov ecx, 0x4323c4
call dword [eax]
test eax, eax
jne 0x411a5f
call fcn.004016a0
lea edi, [eax + 0x10]
mov eax, dword [edi - 8]
test eax, eax
mov dword [esp + 0x18], edi
jge 0x411a77
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.00403f80
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 0x411aba
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [esp + 0x40]
test eax, eax
je 0x411b0c
mov ecx, dword [esp + 0x44]
push 0x4323c4
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.004114e0
lea edx, [esp + 0x14]
lea ecx, [ebp + 0x10]
push edx
mov dword [esp + 0x6c], 2
call fcn.00403f80
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 0x411b82
mov ecx, dword [eax]
push eax
jmp 0x411b7d
mov eax, dword [0x4323c4]
push 2
push 0
mov ecx, 0x4323c4
call dword [eax]
test eax, eax
jne 0x411b25
call fcn.004016a0
lea edi, [eax + 0x10]
mov eax, dword [edi - 8]
test eax, eax
mov dword [esp + 0x18], edi
jge 0x411b3d
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.00403f80
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 0x411b82
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [esp + 0x48]
test eax, eax
je 0x411bd1
mov ecx, dword [esp + 0x4c]
push 0x4323c4
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.004114e0
lea edx, [esp + 0x14]
lea ecx, [ebp + 0x14]
push edx
mov dword [esp + 0x6c], 4
call fcn.00403f80
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 0x411c44
mov ecx, dword [eax]
push eax
jmp 0x411c3f
mov eax, dword [0x4323c4]
push 2
push 0
mov ecx, 0x4323c4
call dword [eax]
test eax, eax
jne 0x411bea
call fcn.004016a0
lea edi, [eax + 0x10]
mov eax, dword [edi - 8]
test eax, eax
mov dword [esp + 0x18], edi
jge 0x411c02
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.00403f80
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 0x411c44
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [esp + 0x34]
test eax, eax
je 0x411c93
mov ecx, dword [esp + 0x38]
push 0x4323c4
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.004114e0
lea edx, [esp + 0x14]
lea ecx, [ebp + 0xc]
push edx
mov dword [esp + 0x6c], 6
call fcn.00403f80
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 0x411d06
mov ecx, dword [eax]
push eax
jmp 0x411d01
mov eax, dword [0x4323c4]
push 2
push 0
mov ecx, 0x4323c4
call dword [eax]
test eax, eax
jne 0x411cac
call fcn.004016a0
lea edi, [eax + 0x10]
mov eax, dword [edi - 8]
test eax, eax
mov dword [esp + 0x18], edi
jge 0x411cc4
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.00403f80
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 0x411d06
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [esp + 0x50]
test eax, eax
je 0x411d53
mov ecx, dword [esp + 0x54]
push 0x4323c4
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.004114e0
lea edx, [esp + 0x14]
lea ecx, [ebp + 0x18]
push edx
mov dword [esp + 0x6c], 8
call fcn.00403f80
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 0x411dc4
mov ecx, dword [eax]
push eax
jmp 0x411dbf
mov eax, dword [0x4323c4]
push 2
push 0
mov ecx, 0x4323c4
call dword [eax]
test eax, eax
jne 0x411d6c
call fcn.004016a0
lea edi, [eax + 0x10]
mov eax, dword [edi - 8]
test eax, eax
mov dword [esp + 0x18], edi
jge 0x411d84
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.00403f80
add edi, 0xfffffff0
mov dword [esp + 0x68], ebx
lea eax, [edi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x411dc4
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.00411550
lea ecx, [ebp + 0x24]
push eax
mov dword [esp + 0x6c], 0xa
call fcn.00403f80
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 0x411e1f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x58]
test eax, eax
je 0x411e6e
mov ecx, dword [esp + 0x5c]
push 0x4323c4
push ecx
push eax
lea ecx, [esp + 0x7c]
call fcn.004114e0
lea edx, [esp + 0x70]
lea esi, [ebp + 0x1c]
push edx
mov ecx, esi
mov dword [esp + 0x6c], 0xb
call fcn.00403f80
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 0x411ee8
mov ecx, dword [eax]
push eax
jmp 0x411ee3
mov eax, dword [0x4323c4]
push 2
push 0
mov ecx, 0x4323c4
call dword [eax]
test eax, eax
jne 0x411e87
call fcn.004016a0
lea edi, [eax + 0x10]
mov eax, dword [edi - 8]
test eax, eax
mov dword [esp + 0x70], edi
jge 0x411e9f
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.00403f80
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 0x411ee8
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.00411550
add ebp, 0x20
push eax
mov ecx, ebp
mov dword [esp + 0x6c], 0xd
call fcn.00403f80
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 0x411f43
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 0x4121e8
mov edi, edi
push 0x3d
push eax
call fcn.00419653
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x4121e8
push 0x26
push ebp
call fcn.00419653
mov ebx, eax
add esp, 8
test ebx, ebx
mov dword [esp + 0x18], ebx
je 0x412159
mov edi, edi
lea esi, [ebx + 2]
push 0x26
push esi
call fcn.00419653
push 0x3d
push esi
mov edi, eax
call fcn.00419653
add esp, 0x10
test edi, edi
je 0x411fc4
test eax, eax
je 0x412159
cmp eax, edi
jbe 0x411fc0
mov ebx, edi
mov dword [esp + 0x18], ebx
jmp 0x411f90
jae 0x411f90
jmp 0x411fcc
test eax, eax
je 0x412159
mov edi, ebx
sub edi, ebp
sar edi, 1
lea esi, [ebp + 2]
dec edi
test esi, esi
jne 0x411fe2
test edi, edi
jne 0x411e95
mov eax, dword [0x4323c4]
push 2
push edi
mov ecx, 0x4323c4
call dword [eax]
test eax, eax
je 0x411e82
add eax, 0x10
test edi, edi
mov dword [esp + 0x14], eax
jl 0x411e95
cmp edi, dword [eax - 8]
jg 0x411e95
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 0x412049
test ebp, ebp
jne 0x411e95
mov eax, dword [0x4323c4]
push 2
push ebp
mov ecx, 0x4323c4
call dword [eax]
test eax, eax
je 0x411e82
test ebp, ebp
lea ebx, [eax + 0x10]
mov dword [esp + 0x1c], ebx
jl 0x411e95
cmp ebp, dword [ebx - 8]
jg 0x411e95
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.00419ccb
add esp, 8
test eax, eax
je 0x4120f8
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.00419ccb
add esp, 8
test eax, eax
je 0x4120f8
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.00411640
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 0x412117
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 0x41213d
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 0x4121e8
jmp 0x411f60
lea eax, [ebp + 2]
push eax
lea ecx, [esp + 0x24]
call fcn.00402580
mov esi, eax
mov eax, dword [esp + 0x70]
sub ebp, eax
push 0x4323c4
sar ebp, 1
push ebp
mov ebx, 0x10
push eax
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], ebx
call fcn.004114e0
push esi
lea ecx, [esp + 0x74]
push ecx
mov ecx, dword [esp + 0x18]
add ecx, 0x28
mov byte [esp + 0x70], 0x11
call fcn.004116d0
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 0x4121c2
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 0x4121e8
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