Function at 0x4294c6
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x820
and dword [ebp - 8], 0
push ebx
push esi
push edi
push 0x44035c
mov byte [ebp - 9], 0xff
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x440378]
mov esi, dword [0x440374]
mov dword [ebp - 0x10], eax
cmp eax, 0xc
jmp 0x42952d
mov eax, dword [esi]
cmp eax, 0xc
jb 0x429532
cmp eax, dword [ebp - 0x10]
ja 0x429532
test byte [esi + 4], 1
je 0x429522
mov ebx, dword [ebp + 8]
push dword [ebx + 0xc]
lea eax, [esi + 0xc]
push dword [ebx + 8]
xor edi, edi
push eax
call fcn.00420062
test eax, eax
jns 0x429584
mov eax, dword [esi]
sub dword [ebp - 0x10], eax
add esi, eax
cmp dword [ebp - 0x10], 0xc
mov dword [ebp - 0x18], esi
jae 0x4294f8
mov ebx, dword [ebp + 8]
push 0x44035c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebx + 0x40]
test eax, eax
je 0x429756
push 0x10000000
push 0x55f3
push eax
lea ebx, [ebp - 0x34]
call fcn.00409ad7
mov ecx, dword [ebp - 0x34]
and dword [ebp - 0x38], 0
mov dword [ebp - 0x40], ecx
push ecx
mov ecx, eax
mov byte [ebp - 0x44], 0
mov dword [ebp - 0x3c], eax
call fcn.0040c8b8
test al, al
je 0x42974b
jmp 0x42973d
lea esi, [ebp - 0x81a]
mov dword [ebp - 0x10], 3
call fcn.00422702
mov esi, eax
call fcn.00422f39
cmp al, 4
jae 0x4295a8
mov dword [ebp - 0x10], 2
add esi, 0x1d2
mov ecx, esi
call fcn.0042f596
xor edi, edi
cmp eax, edi
jl 0x42964f
push 0x14
lea ecx, [ebp - 0x90]
push ecx
push eax
push esi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, edi
jle 0x42964f
lea ecx, [ebp + eax*2 - 0x90]
cmp word [ecx - 2], di
je 0x4295ed
cmp eax, 0x14
jge 0x42964f
xor eax, eax
mov word [ecx], ax
cmp dword [ebp - 0x10], 2
jne 0x42960f
lea esi, [ebp - 0x16c]
mov eax, 0xc6
call fcn.00413de7
lea eax, [ebp - 0x90]
push eax
mov eax, esi
push eax
jmp 0x42963a
cmp dword [ebp - 0x10], 3
jne 0x429630
lea esi, [ebp - 0x24c]
mov eax, 0xc7
call fcn.00413de7
lea eax, [ebp - 0x90]
push eax
mov eax, esi
jmp 0x42960c
lea eax, [ebp - 0x90]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x524]
push eax
call fcn.00422ccf
test eax, eax
setne al
test al, al
jne 0x429658
xor eax, eax
mov word [ebp - 0x524], ax
mov ecx, 0x1ee
lea eax, [ebp - 0x81a]
mov byte [eax], 0
inc eax
dec ecx
jne 0x429663
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
sub ecx, 0xc
add eax, 0xc
push ecx
push eax
lea edi, [ebp - 0x68]
xor eax, eax
call fcn.00417de4
test al, al
je 0x4296c7
lea ecx, [ebp - 0x1b4]
xor esi, esi
mov al, byte [ebp + esi - 0x68]
call fcn.0041b333
inc esi
add ecx, 4
cmp esi, 0x10
jb 0x42968d
xor eax, eax
mov word [ecx], ax
call fcn.0040b6c7
mov dword [ebp - 0x10], eax
push 4
lea eax, [ebp - 0x10]
push eax
push 4
lea eax, [ebp - 0x1b4]
push eax
lea eax, [ebp - 0x524]
push eax
call fcn.004179f5
call fcn.00428bf2
jmp 0x429535
mov al, byte [edi]
cmp al, 0x21
je 0x4296f3
cmp al, 0x2d
je 0x4296ef
cmp al, 0x40
je 0x4296eb
cmp al, 0x5e
je 0x4296e7
xor bl, bl
jmp 0x4296f6
mov bl, 4
jmp 0x4296f5
mov bl, 2
jmp 0x4296f5
mov bl, 3
jmp 0x4296f5
mov bl, 1
inc edi
mov esi, dword [ebp + 8]
push dword [esi + 0xc]
push dword [esi + 8]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
xor eax, eax
mov ecx, edi
call fcn.00428c0f
test al, al
je 0x42973d
movsx eax, bl
sub eax, 0
je 0x429734
dec eax
je 0x429825
dec eax
je 0x4297b7
dec eax
je 0x429730
dec eax
jne 0x429738
or dword [ebp - 8], 1
mov byte [ebp - 9], 1
cmp bl, 2
jne 0x42974b
lea eax, [ebp - 0x44]
call fcn.0040c940
mov edi, eax
test edi, edi
jne 0x4296d1
lea esi, [ebp - 0x44]
call fcn.0040c89c
mov ebx, dword [ebp + 8]
test byte [ebp - 8], 1
jne 0x429866
mov esi, dword [ebx + 0xc]
mov eax, dword [ebx + 8]
mov dword [ebp + 8], eax
test esi, esi
jns 0x429778
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
test esi, esi
jle 0x429866
lea eax, [ebp - 0x30]
push eax
push 0x32
call fcn.0040c187
mov ecx, dword [ebp - 0x30]
and dword [ebp - 0x20], 0
mov dword [ebp - 0x28], ecx
push ecx
mov ecx, eax
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x24], eax
call fcn.0040c8b8
test al, al
jne 0x429847
lea esi, [ebp - 0x2c]
call fcn.0040c89c
jmp 0x429866
push 0x3c
pop edi
push edi
lea eax, [ebp - 0xcc]
push 0
push eax
call dword [sym.imp.msvcrt.dll_memset]
add esp, 0xc
lea eax, [ebp - 0x62c]
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0xcc]
push eax
push 0
push dword [esi + 0xc]
mov dword [ebp - 0xcc], edi
push dword [esi + 8]
mov dword [ebp - 0xb8], 0x103
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
cmp eax, 1
jne 0x429738
cmp dword [ebp - 0xb8], 0
jbe 0x429738
lea eax, [ebp - 0x62c]
push eax
call fcn.0041d0b3
jmp 0x429738
mov byte [ebp - 9], 0
jmp 0x429738
push esi
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
xor eax, eax
mov ecx, edi
call fcn.00428c0f
test al, al
jne 0x42985a
lea eax, [ebp - 0x2c]
call fcn.0040c940
mov edi, eax
test edi, edi
jne 0x42982e
jmp 0x4297aa
lea esi, [ebp - 0x2c]
call fcn.0040c89c
or dword [ebp - 8], 1
cmp dword [ebx + 0x20], 0x21
jb 0x42989b
push 0x24
lea edi, [ebp - 0x144]
pop eax
call fcn.00413db1
mov esi, dword [ebx + 0x1c]
push 0x21
mov eax, edi
mov ecx, esi
call fcn.00421dac
test eax, eax
jne 0x42989b
mov al, byte [esi + 0x21]
cmp al, 0x3b
je 0x429897
test al, al
jne 0x42989b
or dword [ebp - 8], 0x10
mov eax, dword [ebx + 0x2c]
xor edi, edi
mov dword [ebp - 0x14], edi
cmp eax, edi
je 0x4298dd
cmp word [eax], di
je 0x4298dd
mov eax, dword [ebx + 0x30]
cmp eax, edi
je 0x4298dd
cmp word [eax], di
je 0x4298dd
push 0x25
lea esi, [ebp - 0x31c]
pop eax
call fcn.00413de7
push dword [ebx + 0x30]
mov eax, esi
push dword [ebx + 0x2c]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0041bc18
add esp, 0x10
jmp 0x429909
mov eax, dword [ebx + 0x34]
cmp eax, edi
je 0x429940
cmp byte [eax], 0
je 0x429940
push 0x26
lea esi, [ebp - 0x1fc]
pop eax
call fcn.00413de7
push dword [ebx + 0x34]
mov eax, esi
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0041bc18
add esp, 0xc
cmp eax, edi
jle 0x429940
add eax, eax
push eax
push dword [ebp - 0x14]
lea edi, [ebp - 0x1c]
push 2
pop eax
call fcn.00417de4
mov eax, dword [ebp - 0x1c]
cmp dword [0x440380], eax
jne 0x429937
push dword [ebp - 0x14]
call fcn.00421ce7
and dword [ebp - 0x14], 0
jmp 0x429940
or dword [ebp - 8], 0x20
mov dword [0x440380], eax
cmp byte [ebp - 9], 0xff
jne 0x42995a
cmp byte [ebx + 0x18], 1
jne 0x429952
cmp dword [ebx + 0x28], 0
ja 0x429960
test byte [ebp - 8], 0x20
je 0x429964
jmp 0x429960
cmp byte [ebp - 9], 1
jne 0x429964
or dword [ebp - 8], 8
test byte [ebp - 8], 8
je 0x429b41
mov eax, dword [ebx + 0x28]
mov byte [ebp + 0xb], 0
test eax, eax
jne 0x42998b
push 0x1e
lea edi, [ebp - 0x4c]
pop eax
call fcn.00413db1
mov eax, edi
push eax
push 7
jmp 0x4299e6
test byte [ebp - 8], 0x10
je 0x4299cc
push dword [ebx + 0x24]
call fcn.0041b3ef
mov edx, eax
mov dword [ebp - 0x10], edx
test edx, edx
je 0x429b3d
xor eax, eax
cmp dword [ebx + 0x28], eax
jbe 0x4299ef
mov cl, byte [eax + edx]
cmp cl, 0x26
jne 0x4299bb
mov byte [eax + edx], 0xa
jmp 0x4299c4
cmp cl, 0x2b
jne 0x4299c4
mov byte [eax + edx], 0x20
inc eax
cmp eax, dword [ebx + 0x28]
jb 0x4299ad
jmp 0x4299ef
cmp dword [ebx + 0x20], 0
jne 0x429b3d
push 0x1f
lea edi, [ebp - 0x58]
pop eax
call fcn.00413db1
mov eax, edi
push eax
push 9
pop eax
call fcn.0041b3ef
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x429b3d
and dword [ebp - 0x18], 0
mov esi, 0x43f7d4
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ax, word [0x43f7d0]
test ax, ax
je 0x429a55
mov ecx, dword [0x43f7c8]
test ecx, ecx
je 0x429a55
movzx eax, ax
push ecx
call fcn.0041b3b2
test eax, eax
je 0x429a55
movzx edx, word [0x43f7d0]
xor ecx, ecx
mov dword [ebp - 0x18], eax
test edx, edx
je 0x429a55
cmp word [eax + ecx*2], 0x20
jae 0x429a49
push 0x20
pop edx
mov word [eax + ecx*2], dx
movzx edx, word [0x43f7d0]
inc ecx
cmp ecx, edx
jb 0x429a3b
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [ebx + 0xc]
push dword [ebx + 8]
push 0
call fcn.0041484e
mov edi, eax
test edi, edi
je 0x429b27
push 0x3c
pop esi
push esi
lea eax, [ebp - 0x120]
push 0
push eax
call dword [sym.imp.msvcrt.dll_memset]
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
push 0
push dword [ebx + 0xc]
mov dword [ebp - 0x120], esi
push dword [ebx + 8]
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
cmp eax, 1
jne 0x429b21
push 0x1d
lea esi, [ebp - 0x2b4]
pop eax
call fcn.00413de7
push 0x20
lea esi, [ebp - 0xe4]
pop eax
call fcn.00413de7
cmp dword [ebp - 0x14], 0
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebx + 0x10]
mov eax, 0x408b54
mov esi, eax
cmovne esi, dword [ebp - 0x14]
test edx, edx
cmove edx, eax
test ecx, ecx
jne 0x429ae8
mov ecx, 0x4077cc
test byte [ebp - 8], 1
je 0x429af4
lea eax, [ebp - 0xe4]
push dword [ebp - 0x10]
push esi
push edx
push ecx
push eax
push edi
lea eax, [ebp - 0x2b4]
push eax
xor eax, eax
cmp dword [ebp - 0x114], 4
push 0
sete al
push edi
add eax, 0xb
push eax
call fcn.0041c5ed
add esp, 0x28
mov byte [ebp + 0xb], al
push edi
call fcn.00421ce7
push dword [ebp - 0x18]
call fcn.00421ce7
push dword [ebp - 0x10]
call fcn.00421ce7
cmp byte [ebp + 0xb], 0
jne 0x429b41
and dword [ebp - 8], 0xfffffff7
push dword [ebp - 0x14]
call fcn.00421ce7
test byte [ebp - 8], 1
jne 0x429b80
push ebx
call fcn.00428da3
test al, al
je 0x429b5d
or dword [ebp - 8], 2
test byte [ebp - 8], 0x10
je 0x429b80
cmp dword [ebx + 0x3c], 1
jne 0x429b72
mov eax, dword [ebx + 0x38]
cmp dword [eax + 4], 0
jne 0x429b80
push ebx
call fcn.00429262
test al, al
je 0x429b80
or dword [ebp - 8], 4
push dword [ebp - 8]
mov esi, ebx
call fcn.00415d95
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret 4