Function at 0x436b10
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x444568
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x88
push ebx
push esi
push edi
mov eax, dword [0x45a400]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], ecx
push str.http:__
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x436b5e
mov dword [ebp + 8], str.http:__url
jmp 0x436b94
push str.ftp:__
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x436b7a
mov dword [ebp + 8], str.ftp:__url
jmp 0x436b94
push str.https:__
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x436b94
mov dword [ebp + 8], str.https:__url
mov eax, dword [ebp + 8]
push eax
call fcn.0042a410
add esp, 4
shl eax, 1
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x20]
call fcn.0041c4ed
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
movsx ecx, byte [eax]
cmp ecx, 0x22
je 0x436bd1
mov eax, dword [ebp + 8]
movsx ecx, byte [eax]
cmp ecx, 0x27
jne 0x436c35
mov eax, dword [ebp + 8]
add eax, 1
push eax
lea ecx, [ebp - 0x20]
call fcn.0041c501
lea ecx, [ebp - 0x20]
call fcn.0041c5d4
movsx eax, byte [eax]
test eax, eax
jne 0x436c13
mov dword [ebp - 0x98], 7
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.0041c4f3
mov eax, dword [ebp - 0x98]
jmp 0x43708a
lea ecx, [ebp - 0x20]
call fcn.0041c5d4
mov esi, eax
lea ecx, [ebp - 0x20]
call fcn.0041c5d7
mov byte [esi + eax - 1], 0
lea ecx, [ebp - 0x20]
call fcn.0041c5d4
mov dword [ebp + 8], eax
mov eax, 1
test eax, eax
je 0x436c8d
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
push eax
call fcn.004283fe
add esp, 4
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 0
jne 0x436c6a
call fcn.0043c8d0
jmp 0x436c70
mov byte [ebp - 4], 0
jmp 0x436c8d
jmp 0x436c84
mov dword [ebp - 4], 0
jmp 0x436c35
mov eax, dword [ebp + 8]
movsx ecx, byte [eax]
cmp ecx, 0x5c
jne 0x436cfa
mov eax, dword [ebp + 8]
movsx ecx, byte [eax + 1]
cmp ecx, 0x5c
jne 0x436cfa
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x10], 5
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x554
push ecx
call fcn.0042a290
add esp, 8
push str.file
mov eax, dword [ebp - 0x14]
add eax, 0x40
push eax
call fcn.0042a290
add esp, 8
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x4f0], 0
mov ecx, dword [ebp - 0x14]
mov byte [ecx + 0x48c], 0
xor eax, eax
mov ecx, dword [ebp - 0x14]
mov word [ecx + 0x1c], ax
jmp 0x436fa2
push 7
push str.file:__
mov eax, dword [ebp + 8]
push eax
call fcn.0042adb6
add esp, 0xc
test eax, eax
je 0x436e31
push 0x2000000
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WININET.dll_InternetCanonicalizeUrlA]
test eax, eax
jne 0x436e2f
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x90]
push ecx
call fcn.00428258
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x436e10
mov eax, 1
test eax, eax
je 0x436db6
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x18]
add eax, 1
push eax
call fcn.004283fe
add esp, 4
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 0
jne 0x436d93
call fcn.0043c8d0
jmp 0x436d99
mov byte [ebp - 4], 0
jmp 0x436db6
jmp 0x436dad
mov dword [ebp - 4], 0
jmp 0x436d5b
push 0x2000000
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WININET.dll_InternetCanonicalizeUrlA]
test eax, eax
jne 0x436e0e
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x88]
push ecx
call fcn.00428258
add esp, 4
call fcn.0043b6b0
mov dword [ebp - 0x84], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.0041c4f3
mov eax, dword [ebp - 0x84]
jmp 0x43708a
jmp 0x436e2f
call fcn.0043b6b0
mov dword [ebp - 0x80], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.0041c4f3
mov eax, dword [ebp - 0x80]
jmp 0x43708a
jmp 0x436e41
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.0042a290
add esp, 8
push 0x3c
push 0
mov eax, dword [ebp - 0x14]
add eax, 4
push eax
call fcn.0042a4a0
add esp, 0xc
mov eax, dword [ebp - 0x14]
mov dword [eax + 4], 0x3c
mov eax, dword [ebp - 0x14]
add eax, 0xa4
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x14], eax
mov eax, dword [ebp - 0x14]
add eax, 0x4f0
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x28], eax
mov eax, dword [ebp - 0x14]
add eax, 0x40
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x14]
add eax, 0x554
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x30], eax
mov eax, dword [ebp - 0x14]
add eax, 0x48c
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x20], eax
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x18], 0x3e8
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x2c], 0x64
mov eax, dword [ebp - 0x14]
mov dword [eax + 0xc], 0x64
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x34], 0x2710
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x24], 0x64
mov eax, dword [ebp - 0x14]
add eax, 4
push eax
push 6
push str.ftp:__
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.0042adb6
add esp, 0xc
neg eax
sbb eax, eax
and eax, 0xf0000000
add eax, 0x10000000
push eax
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
jne 0x436f40
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x7c]
push ecx
call fcn.00428258
add esp, 4
call fcn.0043b6b0
mov dword [ebp - 0x78], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.0041c4f3
mov eax, dword [ebp - 0x78]
jmp 0x43708a
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x74]
push ecx
call fcn.00428258
add esp, 4
cmp dword [ebp + 0xc], 0
je 0x436f9a
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x10], 3
je 0x436f9a
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x10], 1
je 0x436f9a
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x10], 4
je 0x436f9a
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x10], 5
je 0x436f9a
mov dword [ebp - 0x70], 7
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.0041c4f3
mov eax, dword [ebp - 0x70]
jmp 0x43708a
mov ecx, dword [ebp - 0x14]
call fcn.004374b0
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x10], 5
jne 0x437071
mov eax, dword [ebp - 0x14]
movsx ecx, byte [eax + 0x554]
cmp ecx, 0x5c
jne 0x437071
mov eax, dword [ebp - 0x14]
movsx ecx, byte [eax + 0x555]
cmp ecx, 0x5c
jne 0x437071
push 0x44ad64
mov eax, dword [ebp - 0x14]
add eax, 0x556
push eax
call fcn.0042a3c0
add esp, 8
add eax, 2
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x14]
add eax, 0x554
push eax
call fcn.0042a410
add esp, 4
cmp dword [ebp - 0x24], eax
jne 0x437022
mov dword [ebp - 0x6c], 7
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.0041c4f3
mov eax, dword [ebp - 0x6c]
jmp 0x43708a
mov eax, dword [ebp - 0x24]
sub eax, 2
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x556
push ecx
mov edx, dword [ebp - 0x14]
add edx, 0xa4
push edx
call fcn.0042abb0
add esp, 0xc
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x24]
mov byte [eax + 0xa2], 0
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x14]
lea edx, [ecx + eax + 0x554]
push edx
mov eax, dword [ebp - 0x14]
add eax, 0x554
push eax
call fcn.0042a290
add esp, 8
mov dword [ebp - 0x68], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.0041c4f3
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8