Function at 0x46ef10
Capabilities:
Parse url

Disassembly:
push ebp
lea ebp, [esp - 0x68]
sub esp, 0x68
push 0xffffffffffffffff
push 0x56a725
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x5b3480]
xor eax, ebp
mov dword [ebp + 0x64], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp + 0x14], esi
mov ecx, dword [esi]
mov ebx, dword [ebp + 0x78]
mov edi, dword [ebp + 0x70]
mov dword [ebp + 0xc], ebx
test ecx, ecx
je 0x46ef64
call fcn.0047de60
test al, al
je 0x46ef64
xor eax, eax
jmp 0x46f370
test ebx, ebx
je 0x46ef90
mov eax, dword [ebx]
lea ecx, [ebp + 0x34]
push ecx
push ebx
mov dword [ebp + 0x34], 0
call dword [eax + 0x1c]
xor eax, eax
cmp word [ebp + 0x34], ax
setne al
test eax, eax
je 0x46ef90
mov eax, 0x821804c7
jmp 0x46f370
push edi
call fcn.00463c40
mov ebx, eax
add esp, 4
mov dword [ebp + 0x34], ebx
test ebx, ebx
jne 0x46efac
mov eax, 0x80004003
jmp 0x46f370
mov esi, dword [esi + 8]
test esi, esi
je 0x46efc0
mov eax, dword [esi]
push esi
mov dword [ebp - 4], 0
call dword [eax + 4]
lea eax, [ebp + 0x3c]
mov dword [ebp + 0x3c], 0x5843a0
mov dword [ebp + 0x40], esi
mov dword [ebp + 0x44], edi
mov dword [ebp + 0x48], ebx
mov dword [ebp + 0x60], eax
push 0x38
lea eax, [ebp - 0x5c]
mov dword [ebp - 4], 1
push 0
push eax
mov dword [ebp - 0x60], 0x3c
call fcn.00493640
add esp, 0xc
mov dword [ebp - 0x58], 1
lea eax, [ebp - 0x60]
mov dword [ebp - 0x4c], 1
push eax
push 0
push dword [ebx + 0x10]
push dword [ebx + 0xc]
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x46f03b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
js 0x46f356
je 0x46f038
movzx ebx, bx
or ebx, 0x83ff0000
jmp 0x46f356
mov ebx, dword [ebp + 0x34]
mov esi, dword [ebp + 0x14]
add esi, 0x40
push esi
mov dword [ebp + 0x10], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
sub esp, 0x28
mov edi, esp
mov dword [ebp + 0x24], edi
mov dword [edi + 0x24], 0
mov ecx, dword [ebp + 0x60]
mov byte [ebp - 4], 4
test ecx, ecx
je 0x46f06d
mov eax, dword [ecx]
push edi
call dword [eax]
mov dword [edi + 0x24], eax
push dword [ebp - 0x54]
mov byte [ebp - 4], 3
call fcn.0047d580
add esp, 0x2c
mov dword [ebp + 0x38], eax
test eax, eax
jne 0x46f08d
mov ebx, 0x82181075
jmp 0x46f34f
push 0x4e
push 0
mov dword [ebp + 0x28], 0
mov dword [ebp + 0x2c], 0
mov dword [ebp + 0x30], 0
call fcn.0040be80
add esp, 8
test eax, eax
je 0x46f0ef
cmp dword [ebp + 0x28], 0
jne 0x46f0c1
mov ecx, dword [ebp + 0x2c]
xor edx, edx
mov word [eax + ecx*2], dx
mov dword [ebp + 0x28], eax
mov edi, eax
mov dword [ebp + 0x2c], 0x26
mov ecx, 0x13
mov dword [ebp + 0x30], 0x26
mov esi, 0x584348
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0x2c]
xor edx, edx
mov eax, dword [ebp + 0x28]
mov esi, dword [ebp + 0x10]
mov word [eax + ecx*2], dx
nop
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x24]
push dword [ebp - 0x50]
call fcn.00417f10
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 6
push eax
mov ecx, ebx
call fcn.00463c60
mov ecx, ebx
mov edi, dword [eax]
lea eax, [ebp - 0x70]
push eax
call fcn.00463e40
push edi
mov edi, dword [ebp + 0x38]
mov edx, 0x570fe0
mov ecx, dword [eax]
mov eax, dword [ebp - 0x24]
test eax, eax
push ecx
push dword [ebp - 0x48]
cmovne edx, eax
mov ecx, edi
push edx
call fcn.0047d520
mov ebx, eax
push ebx
call fcn.00557330
add esp, 4
test al, al
je 0x46f245
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0
mov dword [ebp + 0x20], 0
lea eax, [ebp + 0x18]
mov byte [ebp - 4], 7
push eax
call fcn.00556f80
add esp, 4
cmp dword [ebp - 0x54], 1
jne 0x46f219
cmp dword [ebp + 0x1c], 0
jbe 0x46f219
mov edi, dword [ebp + 0x18]
test edi, edi
je 0x46f21c
push 0x584398
push edi
call fcn.004938b5
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x46f219
sub ecx, edi
sar ecx, 1
mov dword [ebp + 0x24], ecx
js 0x46f219
mov ebx, dword [ebp + 0x1c]
cmp ecx, ebx
jae 0x46f1ee
mov edx, ecx
jmp 0x46f1c0
mov eax, dword [ebp + 0x18]
movzx edi, word [eax + edx*2]
mov eax, 0x5714c0
lea esp, [esp]
movzx ecx, word [eax]
test cx, cx
je 0x46f1e6
cmp di, cx
je 0x46f2f5
add eax, 2
jne 0x46f1d0
inc edx
cmp edx, ebx
jb 0x46f1c0
mov ecx, dword [ebp + 0x24]
or edx, 0xffffffff
sub edx, ecx
sub ebx, ecx
cmp edx, ebx
mov eax, 0x570fe0
cmovle ebx, edx
mov edx, dword [ebp + 0x18]
test edx, edx
push ebx
cmovne eax, edx
lea eax, [eax + ecx*2]
push eax
lea ecx, [ebp + 0x28]
call fcn.00404760
mov ebx, 0x83ff2eef
mov edi, dword [ebp + 0x18]
mov byte [ebp - 4], 6
test edi, edi
je 0x46f22d
push edi
call fcn.0040bd60
add esp, 4
mov edi, dword [ebp + 0x38]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x20], 0
mov dword [ebp + 0x1c], 0
mov eax, dword [ebp + 0x14]
cmp dword [eax + 8], 0
je 0x46f307
cmp bx, 0x2eef
jne 0x46f307
mov edi, dword [ebp + 0x34]
lea eax, [ebp - 0x78]
push eax
mov ecx, edi
call fcn.00463e40
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
push dword [eax]
call fcn.00417f10
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 8
push eax
mov ecx, edi
call fcn.00463c60
push 0xffffffffffffffff
lea ecx, [ebp]
push dword [eax]
call fcn.00417f10
push dword [ebp + 0xc]
lea eax, [ebp]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0x28]
push eax
lea ecx, [ebp + 0x3c]
call fcn.0046ee90
mov ebx, eax
mov edx, 0x570fe0
mov eax, dword [ebp]
mov ecx, 0x570fe0
test eax, eax
cmovne edx, eax
mov eax, dword [ebp - 0x18]
test eax, eax
push edx
cmovne ecx, eax
push ecx
mov ecx, edi
call fcn.00464740
lea ecx, [ebp]
call fcn.00403150
lea ecx, [ebp - 0x18]
call fcn.00403150
lea ecx, [ebp - 0x24]
call fcn.00403150
test ebx, ebx
js 0x46f2fd
mov ebx, edi
jmp 0x46f0f0
mov ecx, dword [ebp + 0x24]
jmp 0x46f1f1
mov ecx, dword [ebp + 0x38]
xor edi, edi
mov dword [ebp + 0x38], edi
jmp 0x46f31c
lea ecx, [ebp - 0x24]
call fcn.00403150
test ebx, ebx
jns 0x46f322
mov ecx, edi
mov dword [ebp + 0x38], 0
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x38]
mov dword [ecx], eax
mov eax, dword [ebp + 0x28]
test eax, eax
je 0x46f33a
push eax
call fcn.0040bd60
add esp, 4
mov dword [ebp + 0x28], 0
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x2c], 0
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp + 0x60]
test ecx, ecx
je 0x46f36e
mov esi, dword [ecx]
lea eax, [ebp + 0x3c]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x64]
xor ecx, ebp
call fcn.004913e0
lea esp, [ebp + 0x68]
pop ebp
ret 0xc