Function at 0x40fd80
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x454918
push eax
mov eax, 0x1250
mov dword fs:[0], esp
call fcn.00447f00
push ebx
mov ebx, ecx
push esi
mov eax, dword [ebx + 0x1c]
push edi
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0
test eax, eax
je 0x40fdd3
push eax
call fcn.0043ca9f
add esp, 4
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
lea ecx, [ebx + 0x18]
call fcn.00411680
mov esi, dword [ebp + 8]
push esi
lea ecx, [ebx + 0xc]
call fcn.004114c0
mov ecx, dword [ebx + 4]
mov eax, dword [ecx]
call dword [eax + 4]
test eax, eax
js 0x40fe85
xor eax, eax
push 0x1fe
push eax
mov word [ebp - 0x25c], ax
lea eax, [ebp - 0x25a]
push eax
call fcn.0043f760
xor eax, eax
push 0xffe
push eax
mov word [ebp - 0x125c], ax
lea eax, [ebp - 0x125a]
push eax
call fcn.0043f760
push 0x3c
lea eax, [ebp - 0x5c]
push 0
push eax
call fcn.0043f760
lea eax, [ebp - 0x25c]
mov dword [ebp - 0x4c], eax
add esp, 0x24
lea eax, [ebp - 0x125c]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x5c]
push eax
push 0
push esi
mov dword [ebp - 0x5c], 0x3c
mov dword [ebp - 0x48], 0x100
mov dword [ebp - 0x2c], 0x800
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x40fe9d
mov ecx, dword [ebx + 4]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov eax, 0x80004005
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor eax, eax
cmp ax, word [ebp - 0x125c]
jne 0x40feb2
mov dword [ebp - 0x125c], 0x2f
lea eax, [ebp - 0x25c]
lea esi, [ebx + 0x10]
push eax
mov ecx, esi
call fcn.004114c0
lea ecx, [ebp - 0x125c]
push ecx
lea ecx, [ebx + 0x14]
call fcn.004114c0
mov ecx, ebx
call fcn.004110f0
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
mov eax, dword [section..data]
mov ecx, section..data
mov dword [ebp - 0x14], 0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 1
call fcn.00412c10
mov edi, dword [ebp - 0x1c]
test al, al
je 0x410073
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
mov ecx, edi
mov byte [ebp - 4], 2
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40ff41
sub ecx, edx
sar ecx, 1
je 0x40ff84
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
mov ecx, edi
call fcn.00412d30
mov esi, dword [ebp - 0x18]
test al, al
je 0x40ff84
push esi
lea ecx, [ebp - 0x10]
call fcn.004114c0
push dword [ebp + 8]
lea ecx, [ebx + 0x14]
call fcn.004114c0
mov edx, dword [ebp - 0x14]
mov dword [ebp + 8], edx
jmp 0x40ff97
lea eax, [ebx + 0x10]
push eax
lea ecx, [ebp - 0x10]
call fcn.00411450
movzx eax, word [ebp - 0x44]
mov dword [ebp + 8], eax
add esi, 0xfffffff0
mov dword [ebx + 0x40], 1
mov byte [ebp - 4], 1
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40ffbc
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push ecx
mov ecx, eax
mov esi, esp
mov dword [ebp + 8], eax
call fcn.00411920
add eax, 0x10
mov ecx, ebx
mov dword [esi], eax
call fcn.0040fcf0
mov edx, eax
mov dword [ebp - 0x14], edx
test edx, edx
jns 0x41001f
cmp dword [ebx + 0x40], 0
je 0x41001f
lea eax, [ebx + 0x10]
push eax
lea ecx, [ebp - 0x10]
call fcn.00411450
push dword [ebp - 0x44]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push ecx
mov ecx, eax
mov esi, esp
mov dword [ebp + 8], eax
call fcn.00411920
add eax, 0x10
mov ecx, ebx
mov dword [esi], eax
call fcn.0040fcf0
mov dword [ebp - 0x14], eax
add edi, 0xfffffff0
or ebx, 0xffffffff
mov byte [ebp - 4], 0
lea eax, [edi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41003f
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp + 8]
lea eax, [esi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x41005d
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
push esi
lea ecx, [ebp - 0x10]
call fcn.00411450
movzx eax, word [ebp - 0x44]
jmp 0x40ffbf